MetaMask / eth-json-rpc-middleware

Ethereum middleware for composing an Ethereum provider using json-rpc-engine. Intended to replace provider-engine
ISC License
181 stars 88 forks source link

chore(devdeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 #302

Closed legobeat closed 5 months ago

socket-security[bot] commented 5 months ago

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

Package New capabilities Transitives Size Publisher
npm/@lavamoat/aa@4.2.0 None 0 19.8 kB boneskull
npm/@lavamoat/allow-scripts@3.0.4 environment 0 45.8 kB boneskull
npm/@npmcli/agent@2.2.2 environment, network +3 108 kB npm-cli-ops
npm/@npmcli/fs@3.1.1 filesystem 0 26.5 kB lukekarrys
npm/@npmcli/git@5.0.7 filesystem 0 21.8 kB npm-cli-ops
npm/@npmcli/package-json@5.2.0 filesystem 0 39.5 kB npm-cli-ops
npm/@npmcli/promise-spawn@7.0.2 environment, shell 0 12.2 kB npm-cli-ops
npm/@npmcli/run-script@7.0.4 environment 0 18.4 kB npm-cli-ops
npm/abbrev@2.0.0 None 0 4.83 kB lukekarrys
npm/agentkeepalive@4.2.1 network 0 38.8 kB fengmk2
npm/bin-links@4.0.3 filesystem 0 20.6 kB npm-cli-ops
npm/cacache@18.0.3 filesystem 0 63.5 kB npm-cli-ops
npm/fs-minipass@3.0.3 filesystem 0 14.4 kB npm-cli-ops
npm/glob@10.4.1 Transitive: environment +1 911 kB isaacs
npm/hosted-git-info@7.0.2 None 0 26.6 kB npm-cli-ops
npm/jackspeak@3.1.2 environment 0 285 kB isaacs
npm/json-parse-even-better-errors@3.0.2 None 0 9.94 kB npm-cli-ops
npm/make-fetch-happen@13.0.1 network 0 52.8 kB npm-cli-ops
npm/minipass-collect@2.0.1 None 0 4.96 kB isaacs
npm/minipass-fetch@3.0.5 environment, network 0 46.8 kB npm-cli-ops
npm/node-gyp@10.1.0 environment, shell +1 1.73 MB lukekarrys
npm/nopt@7.2.1 None 0 26.2 kB npm-cli-ops
npm/normalize-package-data@6.0.1 None 0 28.2 kB npm-cli-ops
npm/npm-install-checks@6.3.0 None 0 6.21 kB npm-cli-ops
npm/npm-package-arg@11.0.2 None 0 19.1 kB npm-cli-ops
npm/npm-pick-manifest@9.0.1 None 0 16.3 kB npm-cli-ops
npm/path-scurry@1.11.1 filesystem 0 535 kB isaacs
npm/proc-log@4.2.0 None 0 12.3 kB npm-cli-ops
npm/socks-proxy-agent@8.0.3 network 0 25.1 kB tootallnate
npm/spdx-correct@3.2.0 None 0 23.4 kB kemitchell
npm/ssri@10.0.6 None 0 38.7 kB npm-cli-ops
npm/unique-filename@3.0.0 None 0 3.41 kB lukekarrys
npm/unique-slug@4.0.0 None 0 2.58 kB lukekarrys
npm/validate-npm-package-license@3.0.4 None 0 16.6 kB kemitchell
npm/validate-npm-package-name@5.0.1 unsafe 0 7.77 kB npm-cli-ops
npm/which@4.0.0 environment Transitive: filesystem +1 50.5 kB npm-cli-ops

🚮 Removed packages: npm/@lavamoat/aa@3.1.5, npm/@lavamoat/allow-scripts@2.5.1, npm/@npmcli/fs@2.1.2, npm/@npmcli/promise-spawn@6.0.2, npm/@npmcli/run-script@6.0.2, npm/abbrev@1.1.1, npm/agentkeepalive@4.5.0, npm/bin-links@4.0.1, npm/cacache@16.1.3, npm/ip@2.0.0, npm/jackspeak@2.2.1, npm/make-fetch-happen@10.2.1, npm/minipass-collect@1.0.2, npm/minipass-fetch@2.1.2, npm/node-gyp@9.4.1, npm/nopt@6.0.0, npm/path-scurry@1.10.1, npm/read-package-json-fast@3.0.2, npm/socks-proxy-agent@7.0.0, npm/ssri@9.0.1, npm/unique-filename@2.0.1, npm/unique-slug@3.0.0, npm/which@3.0.1

View full report↗︎

socket-security[bot] commented 5 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/@lavamoat/aa@4.2.0, npm/@lavamoat/allow-scripts@3.0.4, npm/@npmcli/agent@2.2.2, npm/@npmcli/fs@3.1.1, npm/@npmcli/git@5.0.7, npm/@npmcli/package-json@5.2.0, npm/@npmcli/promise-spawn@7.0.2, npm/@npmcli/run-script@7.0.4, npm/abbrev@2.0.0, npm/agent-base@7.1.1, npm/agentkeepalive@4.2.1, npm/bin-links@4.0.3, npm/cacache@18.0.3, npm/fs-minipass@3.0.3, npm/glob@10.4.1, npm/hosted-git-info@7.0.2, npm/http-proxy-agent@7.0.2, npm/https-proxy-agent@7.0.4, npm/isexe@3.1.1, npm/jackspeak@3.1.2, npm/json-parse-even-better-errors@3.0.2, npm/make-fetch-happen@13.0.1, npm/minimatch@9.0.4, npm/minipass-collect@2.0.1, npm/minipass-fetch@3.0.5, npm/node-gyp@10.1.0, npm/nopt@7.2.1, npm/normalize-package-data@6.0.1, npm/npm-install-checks@6.3.0, npm/npm-package-arg@11.0.2, npm/npm-pick-manifest@9.0.1, npm/path-scurry@1.11.1, npm/proc-log@3.0.0, npm/proc-log@4.2.0, npm/socks-proxy-agent@8.0.3, npm/spdx-correct@3.2.0, npm/ssri@10.0.6, npm/unique-filename@3.0.0, npm/unique-slug@4.0.0, npm/validate-npm-package-license@3.0.4, npm/validate-npm-package-name@5.0.1, npm/which@4.0.0

View full report↗︎

Next steps

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

legobeat commented 5 months ago
@SocketSecurity ignore npm/abbrev@2.0.0
@SocketSecurity ignore npm/validate-npm-package-name@5.0.1

new author ok

legobeat commented 5 months ago
@SocketSecurity ignore npm/socks-proxy-agent@8.0.3
@SocketSecurity ignore npm/agent-base@7.1.1
@SocketSecurity ignore npm/@npmcli/agent@2.2.2

network access ok

legobeat commented 5 months ago

@SocketSecurity ignore-all

the bot is confused, some of these (notably ip) are absent from yarn.lock and the dependency tree

legobeat commented 5 months ago

I keep thinking I reviewed this one. Sorry for the delay!

All good! This package is used a lot so the deja vu may be real :smile: