OpenZeppelin / defender-client

Monorepo for all defender-client npm packages
https://docs.openzeppelin.com/defender/
MIT License
56 stars 48 forks source link

[Snyk] Security upgrade @openzeppelin/defender-sentinel-client from 1.48.0 to 1.54.6 #591

Open tirumerla opened 3 months ago

tirumerla commented 3 months ago

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
  646  
high severity Prototype Pollution
SNYK-JS-AXIOS-6144788
  589  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AXIOS-6124857
  586  

[!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) 🦉 Prototype Pollution

socket-security[bot] commented 3 months ago

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

Package New capabilities Transitives Size Publisher
npm/@jest/expect-utils@29.7.0 None 0 28.3 kB simenb
npm/@jest/schemas@29.6.3 None 0 6.07 kB simenb
npm/@npmcli/fs@3.1.0 filesystem 0 26.5 kB lukekarrys
npm/@nrwl/tao@16.10.0 None 0 5.53 kB nrwl-jason
npm/@nx/nx-darwin-arm64@16.10.0 None 0 6.88 MB nrwl-jason
npm/@nx/nx-darwin-x64@16.10.0 None 0 7.17 MB nrwl-jason
npm/@nx/nx-freebsd-x64@16.10.0 None 0 9.37 MB nrwl-jason
npm/@nx/nx-linux-arm-gnueabihf@16.10.0 None 0 9.09 MB nrwl-jason
npm/@nx/nx-linux-arm64-gnu@16.10.0 None 0 9.55 MB nrwl-jason
npm/@nx/nx-linux-arm64-musl@16.10.0 None 0 9.5 MB nrwl-jason
npm/@nx/nx-linux-x64-gnu@16.10.0 None 0 9.41 MB nrwl-jason
npm/@nx/nx-linux-x64-musl@16.10.0 None 0 9.39 MB nrwl-jason
npm/@nx/nx-win32-arm64-msvc@16.10.0 None 0 5.4 MB nrwl-jason
npm/@nx/nx-win32-x64-msvc@16.10.0 None 0 6.05 MB nrwl-jason
npm/@parcel/watcher@2.0.4 None 0 1.97 MB devongovett
npm/@sinclair/typebox@0.27.8 None 0 442 kB sinclair
npm/@types/glob@8.1.0 None 0 6.66 kB types
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/minimatch@5.1.2 None 0 12.5 kB types
npm/@types/node@16.18.97 None 0 1.8 MB types
npm/@yarnpkg/lockfile@1.1.0 environment, eval, filesystem 0 280 kB arcanis
npm/@yarnpkg/parsers@3.0.0-rc.46 None 0 197 kB yarnbot
npm/@zkochan/js-yaml@0.0.6 None 0 385 kB zkochan
npm/amazon-cognito-identity-js@6.3.12 network 0 1.39 MB aws-amplify-ops
npm/ansi-colors@4.1.3 environment 0 26.1 kB jonschlinkert
npm/ansi-regex@5.0.1 None 0 5.61 kB qix
npm/ansi-styles@4.3.0 None 0 17 kB sindresorhus
npm/argparse@1.0.10 environment, filesystem 0 116 kB vitaly
npm/balanced-match@1.0.2 None 0 6.94 kB juliangruber
npm/bl@4.1.0 None 0 64.4 kB matteo.collina
npm/brace-expansion@1.1.11 None 0 11.1 kB juliangruber
npm/chalk@4.1.2 None 0 35 kB sindresorhus
npm/cli-cursor@3.1.0 None 0 4.37 kB sindresorhus
npm/cli-spinners@2.6.1 None 0 27.5 kB sindresorhus
npm/cliui@8.0.1 None 0 32.3 kB oss-bot
npm/color-convert@2.0.1 None 0 27.2 kB qix
npm/color-name@1.1.4 None 0 6.69 kB dfcreative
npm/concat-map@0.0.1 None 0 4.86 kB substack
npm/define-lazy-prop@2.0.0 None 0 4.45 kB sindresorhus
npm/diff-sequences@29.6.3 None 0 46 kB simenb
npm/dotenv-expand@10.0.0 None 0 13.9 kB motdotla
npm/dotenv@16.3.2 environment, filesystem 0 72.1 kB motdotla
npm/duplexer@0.1.2 None 0 5.47 kB raynos
npm/emoji-regex@8.0.0 None 0 48.3 kB mathias
npm/end-of-stream@1.4.4 None 0 6.23 kB mafintosh
npm/enquirer@2.3.6 environment 0 197 kB jonschlinkert
npm/escalade@3.1.2 filesystem 0 11.6 kB lukeed
npm/escape-string-regexp@1.0.5 None 0 2.69 kB jbnicolai
npm/esprima@4.0.1 None 0 314 kB ariya
npm/expect@29.7.0 None 0 146 kB simenb
npm/figures@3.2.0 None 0 12.1 kB sindresorhus
npm/flat@5.0.2 None 0 26.6 kB timoxley
npm/follow-redirects@1.15.6 network 0 29.4 kB rubenverborgh
npm/fs-constants@1.0.0 filesystem 0 2.22 kB mafintosh
npm/fs-extra@11.2.0 None 0 54.9 kB ryanzim
npm/fs.realpath@1.0.0 environment, filesystem 0 13.4 kB isaacs
npm/get-caller-file@2.0.5 None 0 4.72 kB stefanpenner
npm/glob@7.1.4 filesystem 0 56 kB isaacs
npm/graceful-fs@4.2.11 environment, filesystem 0 32.5 kB isaacs
npm/has-flag@4.0.0 None 0 4.42 kB sindresorhus
npm/ignore@5.3.1 None 0 51.5 kB kael
npm/inflight@1.0.6 None 0 3.76 kB isaacs
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-fullwidth-code-point@3.0.0 None 0 4.99 kB sindresorhus
npm/is-wsl@2.2.0 environment, filesystem 0 3.76 kB sindresorhus
npm/jest-diff@29.7.0 None 0 78.5 kB simenb
npm/jest-get-type@29.6.3 None 0 3.79 kB simenb
npm/jest-matcher-utils@29.7.0 None 0 28.4 kB simenb
npm/jest-message-util@29.7.0 None 0 20.6 kB simenb
npm/jest-util@29.7.0 environment 0 41.8 kB simenb
npm/js-yaml@3.14.1 eval 0 291 kB vitaly
npm/json5@2.2.3 None 0 235 kB jordanbtucker
npm/jsonc-parser@3.2.0 None 0 205 kB aeschli
npm/jsonfile@6.1.0 filesystem 0 19.8 kB ryanzim
npm/lines-and-columns@2.0.4 None 0 7.69 kB eventualbuddha
npm/lru-cache@6.0.0 None 0 15.6 kB isaacs
npm/mimic-fn@2.1.0 None 0 4.46 kB sindresorhus
npm/minimatch@3.1.2 None 0 34.9 kB isaacs
npm/minimist@1.2.8 None 0 54.5 kB ljharb
npm/node-addon-api@3.2.1 None 0 420 kB nicknaso
npm/node-gyp-build@4.8.1 environment, filesystem 0 13.4 kB mafintosh
npm/node-machine-id@1.1.12 environment, eval, shell 0 35.8 kB automation-stack
npm/npm-run-path@4.0.1 environment 0 8.13 kB sindresorhus
npm/nx@16.10.0 environment, filesystem, network, shell, unsafe 0 2.48 MB nrwl-jason
npm/once@1.4.0 None 0 4.05 kB isaacs
npm/onetime@5.1.2 None 0 6.17 kB sindresorhus
npm/open@8.4.2 environment, filesystem, shell 0 46.3 kB sindresorhus
npm/path-is-absolute@1.0.1 None 0 3.62 kB sindresorhus
npm/path-key@3.1.1 None 0 4.55 kB sindresorhus
npm/pretty-format@29.7.0 None 0 60.7 kB simenb
npm/react-is@18.3.1 environment 0 24 kB react-bot
npm/readable-stream@3.6.2 environment 0 124 kB matteo.collina
npm/require-directory@2.1.1 filesystem 0 12.1 kB troygoode
npm/restore-cursor@3.1.0 None 0 2.82 kB sindresorhus
npm/semver@7.5.3 None 0 93.4 kB npm-cli-ops
npm/signal-exit@3.0.7 None 0 9.96 kB isaacs
npm/sprintf-js@1.0.3 None 0 34.8 kB alexei
npm/string_decoder@1.3.0 None 0 14.4 kB matteo.collina
npm/string-width@4.2.3 None 0 5.16 kB sindresorhus
npm/strip-ansi@6.0.1 None 0 4.03 kB sindresorhus
npm/strip-bom@3.0.0 None 0 3 kB sindresorhus
npm/strong-log-transformer@2.1.0 filesystem 0 16.4 kB rmg
npm/supports-color@7.2.0 None 0 7.04 kB sindresorhus
npm/tar-stream@2.2.0 filesystem 0 27.7 kB mafintosh
npm/through@2.3.8 None 0 12.5 kB dominictarr
npm/tmp@0.2.3 filesystem 0 54.4 kB raszi
npm/tsconfig-paths@4.2.0 environment, filesystem, unsafe 0 216 kB jonaskello
npm/undici-types@5.26.5 None 0 73.1 kB ethan_arrowood
npm/universalify@2.0.1 None 0 4.67 kB ryanzim
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/v8-compile-cache@2.3.0 environment, filesystem, unsafe 0 16.8 kB zertosh
npm/wrap-ansi@7.0.0 None 0 10.6 kB sindresorhus
npm/wrappy@1.0.2 None 0 2.96 kB zkat
npm/y18n@5.0.8 filesystem 0 23.4 kB oss-bot
npm/yallist@4.0.0 None 0 14.8 kB isaacs
npm/yargs-parser@21.1.1 environment, filesystem 0 128 kB oss-bot
npm/yargs@17.7.2 environment, filesystem 0 292 kB oss-bot

🚮 Removed packages: npm/@openzeppelin/defender-admin-client@1.50.0, npm/@openzeppelin/defender-admin-client@1.54.2, npm/@openzeppelin/defender-autotask-client@1.54.2, npm/@openzeppelin/defender-base-client@1.49.0, npm/@openzeppelin/defender-relay-client@1.54.6, npm/@openzeppelin/platform-deploy-client@0.7.0

View full report↗︎

socket-security[bot] commented 3 months ago

🚨 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 NoteSourceCI
Install scripts npm/nx@16.10.0
  • Install script: postinstall
  • Source: node ./bin/post-install
🚫

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/nx@16.10.0