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

Conversation

nicholasklem
Copy link
Member

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 591/1000
Why? Recently disclosed, Has a fix available, CVSS 6.1
Open Redirect
SNYK-JS-EXPRESS-6474509
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:

🦉 Open Redirect

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.1 None 0 64.6 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 Transitive: environment, filesystem, shell +8 279 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.24.1 Transitive: environment +28 5.69 MB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.15 Transitive: environment +30 5.94 MB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.3 None +3 148 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.0 None 0 11.7 kB nicolo-ribaudo
npm/@babel/plugin-transform-parameters@7.24.1 None 0 64.9 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/body-parser@1.20.2 network Transitive: filesystem, unsafe +7 380 kB dougwilson
npm/core-js-compat@3.36.1 Transitive: environment, filesystem, shell +3 771 kB zloirock
npm/core-js@2.6.12 environment, eval, filesystem 0 2.26 MB zloirock
npm/depd@2.0.0 environment, eval 0 27.1 kB dougwilson
npm/express@4.19.2 environment, filesystem, network Transitive: unsafe +23 754 kB wesleytodd
npm/http-errors@2.0.0 None +2 27.5 kB dougwilson
npm/iconv-lite@0.4.24 None +1 378 kB ashtuchkin
npm/is-posix-bracket@0.1.1 None 0 5.84 kB jonschlinkert
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromatch@4.0.5 None 0 55.9 kB jonschlinkert
npm/mime-types@2.1.35 None +1 224 kB dougwilson
npm/netlify-lambda@2.0.16 environment, filesystem, shell Transitive: unsafe +191 21.3 MB netlify-bot
npm/path-parse@1.0.7 None 0 4.51 kB jbgutierrez
npm/range-parser@1.2.1 None 0 8.46 kB dougwilson
npm/regenerate@1.4.2 None 0 49.2 kB mathias
npm/safe-buffer@5.2.1 None 0 32.1 kB feross
npm/setprototypeof@1.2.0 None 0 4.03 kB wesleytodd
npm/statuses@2.0.1 None 0 12.1 kB dougwilson

🚮 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/body-parser@1.18.2, npm/braces@2.3.2, npm/browserify-aes@1.2.0, npm/cipher-base@1.0.4, npm/console-control-strings@1.1.0, 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/depd@1.1.2, 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/express@4.16.3, 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/http-errors@1.6.3, npm/iconv-lite@0.4.19, npm/is-callable@1.1.4, npm/is-descriptor@1.0.2, 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/normalize-path@2.1.1, npm/object-keys@1.0.12, npm/promise@7.3.1, npm/pump@2.0.1, npm/qs@6.5.1, npm/querystring@0.2.0, npm/randombytes@2.0.6, npm/range-parser@1.2.0, npm/raw-body@2.3.2, 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/safe-buffer@5.1.1, npm/schema-utils@0.4.5, npm/set-blocking@2.0.0, npm/setimmediate@1.0.5, npm/sha.js@2.4.11, npm/split-string@3.1.0, npm/statuses@1.4.0, npm/string_decoder@1.1.1, npm/through2@2.0.3, npm/to-regex@3.0.2, npm/type-is@1.6.16, 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