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 has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • 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:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 586/1000
Why? Recently disclosed, Has a fix available, Medium severity
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
Yes No Known Exploit
medium severity 586/1000
Why? Recently disclosed, Has a fix available, Medium severity
Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
Yes No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled resource consumption

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.4 None 0 65.2 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 Transitive: environment, filesystem +8 264 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.5 Transitive: environment +18 3.33 MB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.15 Transitive: environment +22 3.59 MB nicolo-ribaudo
npm/@babel/helper-define-polyfill-provider@0.6.2 unsafe Transitive: environment, filesystem +23 3.53 MB nicolo-ribaudo
npm/@babel/helper-member-expression-to-functions@7.24.5 None +2 142 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.3 None +2 99 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.24.5 Transitive: environment +19 5.1 MB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.5 None 0 130 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.5 None +2 49.2 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.5 None 0 49.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-optional-chaining@7.24.5 None +4 148 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.5 None 0 132 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/core-js-compat@3.37.0 Transitive: environment +3 781 kB zloirock
npm/core-js@2.6.12 environment, eval, filesystem 0 2.26 MB zloirock
npm/netlify-lambda@2.0.16 environment, filesystem, shell Transitive: eval, network, unsafe +201 15.8 MB netlify-bot
npm/next@10.2.3 environment, filesystem, network, shell, unsafe +16 26 MB zeit-bot
npm/path-parse@1.0.7 None 0 4.51 kB jbgutierrez
npm/regenerate@1.4.2 None 0 49.2 kB mathias
npm/safer-buffer@2.1.2 None 0 42.3 kB chalker

🚮 Removed packages: npm/align-text@0.1.4, npm/aproba@1.2.0, npm/arr-diff@4.0.0, npm/arr-flatten@1.1.0, npm/array-unique@0.3.2, npm/bn.js@4.11.8, npm/braces@2.3.2, npm/browserify-aes@1.2.0, npm/cipher-base@1.0.4, npm/core-js@2.5.7, npm/cosmiconfig@2.2.2, npm/create-hash@1.2.0, npm/create-hmac@1.1.7, npm/cross-spawn@5.1.0, npm/decamelize@1.2.0, npm/duplexify@3.6.0, npm/end-of-stream@1.4.1, npm/errno@0.1.7, npm/es5-ext@0.10.45, npm/es6-iterator@2.0.3, npm/es6-symbol@3.1.1, npm/estraverse@4.2.0, npm/evp_bytestokey@1.0.3, npm/expand-brackets@2.1.4, npm/extglob@2.0.4, npm/find-up@2.1.0, npm/for-in@1.0.2, npm/get-value@2.0.6, npm/graceful-fs@4.1.11, npm/hash.js@1.1.4, npm/is-callable@1.1.4, npm/is-descriptor@1.0.2, npm/is-extendable@0.1.1, npm/is-extglob@2.1.1, npm/is-glob@4.0.0, npm/isarray@1.0.0, npm/lru-cache@4.1.3, npm/memory-fs@0.4.1, npm/micromatch@3.1.10, npm/mime@1.4.1, npm/minimalistic-crypto-utils@1.0.1, npm/netlify-lambda@0.4.0, npm/next@6.1.1, npm/normalize-path@2.1.1, npm/object-keys@1.0.12, npm/promise@7.3.1, npm/pump@2.0.1, npm/querystring@0.2.0, npm/randombytes@2.0.6, npm/rc@1.2.8, npm/regenerate@1.4.0, npm/regex-not@1.0.2, npm/repeat-string@1.6.1, npm/rimraf@2.6.2, npm/ripemd160@2.0.2, npm/run-queue@1.0.3, npm/schema-utils@0.4.5, npm/setimmediate@1.0.5, npm/sha.js@2.4.11, npm/split-string@3.1.0, npm/string_decoder@1.1.1, npm/through2@2.0.3, npm/to-regex@3.0.2, npm/url@0.11.0, npm/webpack-sources@1.1.0, npm/xtend@4.0.1

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 Note
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