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 axios from 1.7.2 to 1.7.4 #606

Open tirumerla opened 2 months ago

tirumerla commented 2 months ago

snyk-top-banner

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

Snyk changed the following file(s):

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.

⚠️ Warning ``` Failed to update the yarn.lock, please update manually before merging. ```

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Server-side Request Forgery (SSRF)
SNYK-JS-AXIOS-7361793
  833  

[!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:

🦉 Server-side Request Forgery (SSRF)

socket-security[bot] commented 2 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.24.2 environment 0 24.1 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.24.5 None 0 49.2 kB nicolo-ribaudo
npm/@babel/highlight@7.24.5 environment 0 20.3 kB nicolo-ribaudo
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.10.0 None 0 431 kB eslint-community-bot
npm/@eslint/eslintrc@2.1.4 filesystem, unsafe 0 659 kB eslintbot
npm/@eslint/js@8.57.0 None 0 13.9 kB eslintbot
npm/@humanwhocodes/config-array@0.11.14 None 0 55.6 kB nzakas
npm/@humanwhocodes/module-importer@1.0.1 unsafe 0 21.2 kB nzakas
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/@jest/types@29.6.3 None 0 32.7 kB simenb
npm/@nodelib/fs.scandir@2.1.5 filesystem 0 22.2 kB mrmlnc
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/@nodelib/fs.walk@1.2.8 None 0 26.4 kB mrmlnc
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/istanbul-lib-coverage@2.0.6 None 0 5.45 kB types
npm/@types/istanbul-lib-report@3.0.3 None 0 7.92 kB types
npm/@types/istanbul-reports@3.0.4 None 0 6.68 kB types
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/json-schema@7.0.15 None 0 31.7 kB types
npm/@types/lodash@4.17.4 None 0 863 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/@types/semver@7.5.8 None 0 23.3 kB types
npm/@types/stack-utils@2.0.3 None 0 6.43 kB types
npm/@types/yargs-parser@21.0.3 None 0 8.65 kB types
npm/@types/yargs@17.0.32 None 0 60.2 kB types
npm/@typescript-eslint/eslint-plugin@5.62.0 None 0 2.43 MB jameshenry
npm/@typescript-eslint/parser@5.62.0 None 0 18.6 kB jameshenry
npm/@typescript-eslint/scope-manager@5.62.0 None 0 592 kB jameshenry
npm/@typescript-eslint/type-utils@5.62.0 None 0 88 kB jameshenry
npm/@typescript-eslint/types@5.62.0 None 0 223 kB jameshenry
npm/@typescript-eslint/typescript-estree@5.62.0 environment, filesystem 0 553 kB jameshenry
npm/@typescript-eslint/utils@5.62.0 None 0 501 kB jameshenry
npm/@typescript-eslint/visitor-keys@5.62.0 None 0 18.4 kB jameshenry
npm/@ungap/structured-clone@1.2.0 None 0 26.2 kB webreflection
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/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/array-union@2.1.0 None 0 3.17 kB sindresorhus
npm/axios@1.7.2 network 0 2.08 MB jasonsaayman
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/braces@3.0.3 None 0 44.6 kB jonschlinkert
npm/chalk@4.1.2 None 0 35 kB sindresorhus
npm/ci-info@3.9.0 environment 0 26.1 kB sibiraj-s
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/debug@4.3.4 environment 0 42.4 kB qix
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/dir-glob@3.0.1 None 0 5.42 kB sindresorhus
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/eslint-scope@5.1.1 None 0 78.4 kB eslintbot
npm/eslint-visitor-keys@3.4.3 None 0 32.3 kB eslintbot
npm/eslint@8.57.0 environment, filesystem 0 3.04 MB eslintbot
npm/esprima@4.0.1 None 0 314 kB ariya
npm/esrecurse@4.3.0 None 0 13.5 kB michaelficarra
npm/estraverse@5.3.0 None 0 37.1 kB michaelficarra
npm/expect@29.7.0 None 0 146 kB simenb
npm/fast-glob@3.3.2 filesystem 0 96.7 kB mrmlnc
npm/fastq@1.17.1 None 0 41.9 kB matteo.collina
npm/figures@3.2.0 None 0 12.1 kB sindresorhus
npm/fill-range@7.1.1 None 0 16.7 kB jonschlinkert
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-parent@5.1.2 None 0 12.1 kB phated
npm/glob@7.1.4 filesystem 0 56 kB isaacs
npm/globby@11.1.0 filesystem 0 21.8 kB sindresorhus
npm/graceful-fs@4.2.11 environment, filesystem 0 32.5 kB isaacs
npm/graphemer@1.4.0 None 0 812 kB mattpauldavies
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-extglob@2.1.1 None 0 6.22 kB jonschlinkert
npm/is-fullwidth-code-point@3.0.0 None 0 4.99 kB sindresorhus
npm/is-glob@4.0.3 None 0 13.6 kB phated
npm/is-number@7.0.0 None 0 9.62 kB jonschlinkert
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-tokens@4.0.0 None 0 15.1 kB lydell
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/merge2@1.4.1 None 0 8.9 kB zensh
npm/micromatch@4.0.7 None 0 56.3 kB paulmillr
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/ms@2.1.2 None 0 6.84 kB styfle
npm/natural-compare-lite@1.4.0 None 0 5.63 kB lauriro
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/path-type@4.0.0 filesystem 0 5.41 kB sindresorhus
npm/picocolors@1.0.1 environment 0 5.15 kB alexeyraspopov
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/pretty-format@29.7.0 None 0 60.7 kB simenb
npm/queue-microtask@1.2.3 None 0 8.37 kB feross
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/reusify@1.0.4 None 0 9.44 kB matteo.collina
npm/run-parallel@1.2.0 None 0 6.56 kB feross
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/slash@3.0.0 None 0 3.51 kB sindresorhus
npm/sprintf-js@1.0.3 None 0 34.8 kB alexei
npm/stack-utils@2.0.6 unsafe 0 14.6 kB isaacs
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/to-regex-range@5.0.1 None 0 22.9 kB jonschlinkert
npm/tsconfig-paths@4.2.0 environment, filesystem, unsafe 0 216 kB jonaskello
npm/tsutils@3.21.0 None 0 382 kB ajaff
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/defender-sentinel-client@1.54.6, npm/@openzeppelin/platform-deploy-client@0.7.0

View full report↗︎

socket-security[bot] commented 2 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
AI warning npm/yargs@17.7.2
  • Notes: The code dynamically determines the flow of commands based on user input and specific conditions, potentially leading to command injection vulnerabilities if not handled properly. No explicit malicious behavior detected, but there is a security risk present.
  • Confidence: 1.00
  • Severity: 0.60
🚫
Install scripts npm/nx@16.10.0
  • Install script: postinstall
  • Source: node ./bin/post-install
🚫

View full report↗︎

Next steps

What is an AI-detected potential code anomaly?

AI has identified unusual behaviors that may pose a security risk.

An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

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/yargs@17.7.2
  • @SocketSecurity ignore npm/nx@16.10.0