Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Conversation

svcsnyksanity
Copy link

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ASYNC-7414156
  631  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/compat-data@7.24.7 None 0 65.6 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.24.7 Transitive: environment, filesystem, shell +9 2.59 MB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.7 None +17 1.2 MB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.24.7 None +24 1.49 MB nicolo-ribaudo
npm/@babel/helper-define-polyfill-provider@0.6.2 unsafe Transitive: environment, filesystem, shell +21 3.47 MB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.24.7 Transitive: environment +4 2.5 MB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.24.7 None +11 405 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.7 None +11 361 kB nicolo-ribaudo
npm/@babel/helper-optimise-call-expression@7.24.7 None +3 140 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.7 None 0 127 kB nicolo-ribaudo
npm/@babel/helper-remap-async-to-generator@7.24.7 None +17 780 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.24.7 None +15 676 kB nicolo-ribaudo
npm/@babel/plugin-proposal-object-rest-spread@7.20.7 None 0 70.5 kB nicolo-ribaudo
npm/@babel/plugin-syntax-async-generators@7.8.4 None 0 2.52 kB nicolo-ribaudo
npm/@babel/plugin-syntax-class-properties@7.12.13 None 0 2.68 kB nicolo-ribaudo
npm/@babel/plugin-syntax-object-rest-spread@7.8.3 None 0 2.53 kB nicolo-ribaudo
npm/@babel/plugin-syntax-optional-catch-binding@7.8.3 None 0 2.57 kB nicolo-ribaudo
npm/@babel/plugin-transform-arrow-functions@7.24.7 None 0 71.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-async-to-generator@7.24.7 None 0 74.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoped-functions@7.24.7 None 0 72.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoping@7.24.7 None 0 155 kB nicolo-ribaudo
npm/@babel/plugin-transform-classes@7.24.7 None +8 372 kB nicolo-ribaudo
npm/@babel/plugin-transform-computed-properties@7.24.7 None +6 210 kB nicolo-ribaudo
npm/@babel/plugin-transform-destructuring@7.24.7 None 0 148 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.24.7 None 0 70.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-duplicate-keys@7.24.7 None 0 75 kB nicolo-ribaudo
npm/@babel/plugin-transform-exponentiation-operator@7.24.7 None +12 435 kB nicolo-ribaudo
npm/@babel/plugin-transform-for-of@7.24.7 None +12 467 kB nicolo-ribaudo
npm/@babel/plugin-transform-function-name@7.24.7 None +6 194 kB nicolo-ribaudo
npm/@babel/plugin-transform-literals@7.24.7 None 0 70.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-amd@7.24.7 None +15 666 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-commonjs@7.24.7 None +15 688 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-systemjs@7.24.7 None +15 711 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-umd@7.24.7 None +15 670 kB nicolo-ribaudo
npm/@babel/plugin-transform-new-target@7.24.7 None 0 76.1 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.24.7 None 0 75.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.7 None 0 132 kB nicolo-ribaudo
npm/@babel/plugin-transform-regenerator@7.24.7 None +3 482 kB nicolo-ribaudo
npm/@babel/plugin-transform-shorthand-properties@7.24.7 None 0 73 kB nicolo-ribaudo
npm/@babel/plugin-transform-spread@7.24.7 None +12 443 kB nicolo-ribaudo
npm/@babel/plugin-transform-sticky-regex@7.24.7 None 0 70.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-template-literals@7.24.7 None 0 81.8 kB nicolo-ribaudo
npm/@babel/plugin-transform-typeof-symbol@7.24.7 None 0 76.4 kB nicolo-ribaudo
npm/@babel/plugin-transform-unicode-regex@7.24.7 None 0 70.3 kB nicolo-ribaudo
npm/@jridgewell/sourcemap-codec@1.4.15 None 0 45.9 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.25 None +1 222 kB jridgewell
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/acorn@5.7.4 None 0 2.02 MB marijn
npm/call-bind@1.0.7 None +4 68.7 kB ljharb
npm/core-js-compat@3.37.1 Transitive: environment, filesystem, shell +3 792 kB zloirock
npm/core-js@2.6.12 environment, eval, filesystem 0 2.26 MB zloirock
npm/define-data-property@1.1.4 None +3 62.7 kB ljharb
npm/define-properties@1.2.1 None 0 12.9 kB ljharb
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/get-intrinsic@1.2.4 eval +3 86.5 kB ljharb
npm/has-property-descriptors@1.0.2 None +1 22.7 kB ljharb
npm/has@1.0.4 None 0 3.02 kB tarruda
npm/hasown@2.0.2 None 0 8.77 kB ljharb
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/netlify-lambda@2.0.16 environment, filesystem, shell Transitive: eval, network, unsafe +190 18.5 MB netlify-bot
npm/next@7.0.3 environment, filesystem, network Transitive: eval, shell, unsafe +356 21.8 MB timneutkens
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/path-parse@1.0.7 None 0 4.51 kB jbgutierrez
npm/picocolors@1.0.1 environment 0 5.15 kB alexeyraspopov
npm/regenerate@1.4.2 None 0 49.2 kB mathias
npm/serialize-javascript@1.4.0 None 0 11 kB okuryu
npm/std-env@1.3.1 environment +2 17 kB pi0
npm/webpack-merge@4.2.2 None +1 1.46 MB bebraw
npm/webpack-sources@1.2.0 None +1 56.2 kB sokra
npm/worker-farm@1.5.2 environment, shell 0 45.6 kB rvagg

🚮 Removed packages: npm/align-text@0.1.4, npm/are-we-there-yet@1.1.5, npm/console-control-strings@1.1.0, npm/core-js@2.5.7, npm/decamelize@1.2.0, npm/delegates@1.0.0, npm/detect-libc@1.0.3, npm/es5-ext@0.10.45, npm/es6-iterator@2.0.3, npm/es6-symbol@3.1.1, npm/expand-range@1.8.2, npm/filename-regex@2.0.1, npm/for-own@0.1.5, npm/fs-minipass@1.2.5, npm/gauge@2.7.4, npm/glob-base@0.3.0, npm/graceful-fs@4.1.11, npm/has-unicode@2.0.1, npm/ignore-walk@3.0.1, npm/is-dotfile@1.0.3, npm/is-equal-shallow@0.1.3, npm/is-glob@4.0.0, npm/is-posix-bracket@0.1.1, npm/is-primitive@2.0.0, npm/math-random@1.0.1, npm/minipass@2.3.3, npm/minizlib@1.1.0, npm/needle@2.2.1, npm/netlify-lambda@0.4.0, npm/next@6.1.1, npm/node-pre-gyp@0.10.0, npm/nopt@1.0.10, npm/npm-bundled@1.0.3, npm/npm-packlist@1.1.10, npm/npmlog@4.1.2, npm/object-keys@1.0.12, npm/object.omit@2.0.1, npm/osenv@0.1.5, npm/parse-glob@3.0.4, npm/preserve@0.2.0, npm/randomatic@3.0.0, npm/rc@1.2.8, npm/regenerate@1.4.0, npm/regex-cache@0.4.4, npm/rimraf@2.6.2, npm/set-blocking@2.0.0, npm/tar@4.4.4, npm/uglify-to-browserify@1.0.2, npm/webpack-sources@1.1.0, npm/wide-align@1.1.3

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteCI
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@2.6.12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants