Skip to content

fix: secure package.json (CWE-937) - #28

Open
anupamme wants to merge 1 commit into
emmetio:masterfrom
anupamme:fix-repo-web-cwe-937-upgrade-gulp
Open

anupamme wants to merge 1 commit into
emmetio:masterfrom
anupamme:fix-repo-web-cwe-937-upgrade-gulp

Conversation

@anupamme

Copy link
Copy Markdown

The package.json specifies gulp version ^3.9.1, which is significantly outdated and contains known security vulnerabilities including prototype pollution issues in its dependencies (minimist, yargs-parser). Gulp 3.x is no longer maintained and has multiple published CVEs. The gulp-minify-css plugin at version 1.2.4 is also deprecated with known vulnerabilities. The affected code is package.json:12. This change is the fix I would apply.

Reference: CWE-937

What changed

  • package.json
  • gulpfile.js

Verification

No automated check could be run against this repository, so this change is unverified beyond review. Please treat it as a suggestion.


Automated security fix by OrbisAI Security

Automated security fix generated by OrbisAI Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant