blocknative / web3-onboard

Client library to onboard users to web3 apps
https://onboard.blocknative.com/
MIT License
813 stars 474 forks source link

Update metamask deps to `@metamask/sdk`: `0.20.5` #2238

Closed Adamj1232 closed 2 weeks ago

Adamj1232 commented 2 weeks ago

Description

Update metamask deps to @metamask/sdk: 0.20.5

socket-security[bot] commented 2 weeks ago

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

Package New capabilities Transitives Size Publisher
npm/@esbuild-plugins/node-globals-polyfill@0.2.3 Transitive: environment, filesystem, network, shell +24 227 MB xmorse
npm/@esbuild-plugins/node-modules-polyfill@0.2.2 filesystem Transitive: environment, network, shell, unsafe +30 229 MB xmorse
npm/@ethersproject/basex@5.7.0 None 0 30.1 kB ricmoo
npm/@ethersproject/networks@5.7.0 None 0 46.8 kB ricmoo
npm/@ethersproject/providers@5.5.0 network 0 1.11 MB ricmoo
npm/@ethersproject/web@5.7.0 network 0 127 kB ricmoo
npm/@fontsource/fira-mono@4.5.10 None 0 1.02 MB lotusdevshack
npm/@jridgewell/sourcemap-codec@1.4.14 None 0 40 kB jridgewell
npm/@rollup/plugin-commonjs@25.0.7 filesystem +8 834 kB shellscape
npm/@stablelib/random@1.0.2 None +3 157 kB dchest
npm/@sveltejs/adapter-auto@1.0.0-next.91 environment, filesystem, shell +1 78.4 kB svelte-admin
npm/@sveltejs/kit@1.0.0-next.589 environment, eval, filesystem Transitive: network, unsafe +16 2.69 MB svelte-admin
npm/@types/cookie@0.5.1 None 0 9.76 kB types
npm/@types/estree@1.0.0 None 0 25.7 kB types
npm/@typescript-eslint/eslint-plugin@5.49.0 Transitive: environment, filesystem +12 4.46 MB jameshenry
npm/@typescript-eslint/parser@5.49.0 Transitive: environment, filesystem +5 1.45 MB jameshenry
npm/@walletconnect/jsonrpc-provider@1.0.13 None 0 103 kB gancho_walletconnect
npm/@walletconnect/jsonrpc-types@1.0.3 None +1 188 kB gancho_walletconnect
npm/@walletconnect/jsonrpc-utils@1.0.8 None +1 345 kB gancho_walletconnect
npm/@walletconnect/safe-json@1.0.2 None 0 215 kB gancho_walletconnect
npm/@walletconnect/window-getters@1.0.1 None 0 218 kB bkrem
npm/@web3-onboard/injected-wallets@2.10.1 None +1 524 kB cmeisl
npm/@web3-onboard/walletconnect@2.3.9 Transitive: environment, eval, filesystem, network, unsafe +138 31.1 MB cmeisl
npm/assert@2.1.0 None +3 193 kB ljharb
npm/browserify-aes@1.2.0 None +1 34.6 kB cwmma
npm/browserify-rsa@4.1.0 None 0 3.68 kB cwmma
npm/browserify-zlib@0.2.0 None +1 980 kB dignifiedquire
npm/buffer@6.0.3 None +1 101 kB feross
npm/call-bind@1.0.7 None +5 100 kB ljharb
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/create-hash@1.2.0 None +1 12.9 kB cwmma
npm/create-hmac@1.1.7 None 0 5.81 kB cwmma
npm/crypto-browserify@3.12.0 None +10 305 kB cwmma
npm/decode-uri-component@0.2.2 None 0 6.09 kB samverschueren
npm/deepmerge@4.3.0 None 0 30.4 kB tehshrike
npm/define-data-property@1.1.4 None +3 62.7 kB ljharb
npm/define-properties@1.2.1 None 0 12.9 kB ljharb
npm/eslint-config-prettier@8.6.0 None 0 18.2 kB lydell
npm/eslint-plugin-svelte3@4.0.0 None 0 41.3 kB conduitry
npm/eslint@8.33.0 filesystem Transitive: unsafe +8 4.85 MB eslintbot
npm/evp_bytestokey@1.0.3 None +1 12.8 kB dcousens
npm/fast-glob@3.2.12 filesystem 0 91.9 kB mrmlnc
npm/get-intrinsic@1.2.4 eval +4 106 kB ljharb
npm/has-property-descriptors@1.0.2 None +1 22.7 kB ljharb
npm/has-tostringtag@1.0.2 None 0 17.6 kB ljharb
npm/hash-base@3.0.4 None 0 6.03 kB dcousens
npm/ieee754@1.2.1 None 0 6.8 kB feross
npm/is-typedarray@1.0.0 None 0 4.41 kB hughsk
npm/minimist@1.2.6 None 0 33.2 kB substack
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/parse-asn1@5.1.7 Transitive: unsafe +1 71.4 kB ljharb
npm/pbkdf2@3.1.2 None 0 13.8 kB cwmma
npm/prettier-plugin-svelte@2.9.0 environment 0 254 kB dummdidumm
npm/prettier@2.8.3 environment, filesystem, unsafe 0 11.7 MB prettier-bot
npm/randombytes@2.1.0 None 0 6.36 kB cwmma
npm/ripemd160@2.0.2 None 0 9.79 kB dcousens
npm/rollup-plugin-polyfill-node@0.12.0 None +3 1.52 MB fredkschott
npm/rollup@3.29.4 environment, filesystem +1 2.68 MB lukastaegert
npm/safe-buffer@5.2.1 None 0 32.1 kB feross
npm/sha.js@2.4.11 None 0 31.1 kB dcousens
npm/stream-browserify@3.0.0 Transitive: environment +2 150 kB goto-bus-stop
npm/string-width@3.1.0 None +3 49.6 kB sindresorhus
npm/svelte-check@3.0.3 Transitive: environment, filesystem +8 4.75 MB svelte-language-tools-deploy
npm/svelte-preprocess@5.0.1 environment, filesystem Transitive: eval +16 2.85 MB dummdidumm
npm/svelte@3.55.1 None 0 9.74 MB conduitry
npm/tslib@2.5.0 None 0 60 kB typescript-bot
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/uint8arrays@3.1.1 None +1 624 kB achingbrain

🚮 Removed packages: npm/0xsequence@0.43.1, npm/@0xpass/models@2.0.0, npm/@0xpass/passport-viem@2.0.1, npm/@0xpass/passport@2.1.1, npm/@0xpass/webauthn-signer@2.0.0, npm/@adraffy/ens-normalize@1.10.1, npm/@ampproject/remapping@2.2.1, npm/@apocentre/alias-sampling@0.5.3, npm/@arcana/auth@1.0.10, npm/@babel/code-frame@7.12.11, npm/@babel/compat-data@7.17.0, npm/@babel/core@7.23.2, npm/@babel/helper-annotate-as-pure@7.22.5, npm/@babel/helper-compilation-targets@7.22.15, npm/@babel/helper-create-class-features-plugin@7.22.15, npm/@babel/helper-define-polyfill-provider@0.3.1, npm/@babel/helper-environment-visitor@7.22.20, npm/@babel/helper-function-name@7.23.0, npm/@babel/helper-module-imports@7.22.15, npm/@babel/helper-plugin-utils@7.16.7, npm/@babel/helper-validator-option@7.22.15, npm/@babel/parser@7.23.0, npm/@babel/plugin-syntax-jsx@7.22.5, npm/@babel/plugin-syntax-typescript@7.22.5, npm/@babel/plugin-transform-modules-commonjs@7.23.0, npm/@babel/plugin-transform-runtime@7.17.0, npm/@babel/plugin-transform-typescript@7.22.15, npm/@babel/preset-typescript@7.23.2, npm/@babel/runtime@7.24.5, npm/@babel/traverse@7.23.2, npm/@babel/types@7.23.0, npm/@bitget-wallet/web3-sdk@0.0.8, npm/@blocto/dappauth@2.1.0, npm/@blocto/sdk@0.9.1, npm/@cedelabs/providers@1.5.0, npm/@celo/base@3.2.0, npm/@celo/utils@3.2.0, npm/@chainsafe/as-sha256@0.4.1, npm/@chainsafe/persistent-merkle-tree@0.6.1, npm/@chainsafe/ssz@0.11.1, npm/@coinbase/wallet-sdk@3.9.1, npm/@cspotcode/source-map-consumer@0.8.0, npm/@cspotcode/source-map-support@0.7.0, npm/@discoveryjs/json-ext@0.5.6, npm/@emotion/babel-plugin@11.11.0, npm/@emotion/cache@11.11.0, npm/@emotion/is-prop-valid@1.2.1, npm/@emotion/react@11.11.4, npm/@emotion/serialize@1.1.2, npm/@emotion/styled@11.11.5, npm/@emotion/unitless@0.8.1, npm/@esbuild/android-arm64@0.18.20, npm/@esbuild/android-arm@0.18.20, npm/@esbuild/android-x64@0.18.20, npm/@esbuild/darwin-arm64@0.18.20, npm/@esbuild/darwin-x64@0.18.20, npm/@esbuild/freebsd-arm64@0.18.20, npm/@esbuild/freebsd-x64@0.18.20, npm/@esbuild/linux-arm64@0.18.20, npm/@esbuild/linux-arm@0.18.20, npm/@esbuild/linux-ia32@0.18.20, npm/@esbuild/linux-loong64@0.18.20, npm/@esbuild/linux-mips64el@0.18.20, npm/@esbuild/linux-ppc64@0.18.20, npm/@esbuild/linux-riscv64@0.18.20, npm/@esbuild/linux-s390x@0.18.20, npm/@esbuild/linux-x64@0.18.20, npm/@esbuild/netbsd-x64@0.18.20, npm/@esbuild/openbsd-x64@0.18.20, npm/@esbuild/sunos-x64@0.18.20, npm/@esbuild/win32-arm64@0.18.20, npm/@esbuild/win32-ia32@0.18.20, npm/@esbuild/win32-x64@0.18.20, npm/@eslint/eslintrc@0.4.3, npm/@ethereumjs/common@2.5.0, npm/@ethereumjs/rlp@4.0.1, npm/@ethereumjs/tx@3.3.2, npm/@ethereumjs/util@8.0.6, npm/@ethersproject/abi@5.7.0, npm/@ethersproject/providers@5.5.3, npm/@findeth/abi@0.3.1, npm/@formatjs/ecma402-abstract@1.11.3, npm/@formatjs/icu-messageformat-parser@2.0.18, npm/@gsap/react@2.1.0, npm/@humanwhocodes/config-array@0.5.0, npm/@infinitywallet/infinity-connector@1.0.6, npm/@ioredis/commands@1.2.0, npm/@jridgewell/gen-mapping@0.3.3, npm/@jridgewell/resolve-uri@3.1.1, npm/@jridgewell/trace-mapping@0.3.19, npm/@keepkey/device-protocol@7.7.0, npm/@keystonehq/base-eth-keyring@0.6.4, npm/@keystonehq/eth-keyring@0.14.4, npm/@ledgerhq/connect-kit@1.1.12, npm/@lit-labs/ssr-dom-shim@1.1.0, npm/@magic-sdk/commons@4.1.0, npm/@magic-sdk/provider@28.0.5, npm/@magic-sdk/types@24.0.4, npm/@metamask/abi-utils@2.0.2, npm/@metamask/eth-json-rpc-middleware@12.1.0, npm/@metamask/eth-sig-util@7.0.2, npm/@metamask/json-rpc-engine@7.3.3, npm/@metamask/json-rpc-middleware-stream@6.0.2, npm/@metamask/object-multiplex@1.2.0, npm/@metamask/onboarding@1.0.1, npm/@metamask/post-message-stream@6.2.0, npm/@metamask/providers@8.1.1, npm/@metamask/rpc-errors@6.2.1, npm/@metamask/safe-event-emitter@2.0.0, npm/@metamask/sdk-communication-layer@0.14.3, npm/@metamask/sdk-install-modal-web@0.14.1, npm/@metamask/sdk@0.14.3, npm/@metamask/utils@5.0.2, npm/@myetherwallet/mewconnect-web-client@2.2.0-beta.16, npm/@ngraveio/bc-ur@1.1.6, npm/@niceties/logger@1.1.3, npm/@nothing-but/utils@0.3.2, npm/@parcel/watcher-android-arm64@2.3.0, npm/@parcel/watcher-darwin-arm64@2.3.0, npm/@parcel/watcher-darwin-x64@2.3.0, npm/@parcel/watcher-freebsd-x64@2.3.0, npm/@parcel/watcher-linux-arm-glibc@2.3.0, npm/@parcel/watcher-linux-arm64-glibc@2.3.0, npm/@parcel/watcher-linux-arm64-musl@2.3.0, npm/@parcel/watcher-linux-x64-glibc@2.3.0, npm/@parcel/watcher-linux-x64-musl@2.3.0, npm/@parcel/watcher-wasm@2.3.0, npm/@parcel/watcher-win32-arm64@2.3.0, npm/@parcel/watcher-win32-ia32@2.3.0, npm/@parcel/watcher-win32-x64@2.3.0, npm/@parcel/watcher@2.3.0, npm/@particle-network/analytics@1.0.1, npm/@particle-network/auth@1.3.1, npm/@particle-network/provider@1.3.2, npm/@portis/web3@4.0.7, npm/@protobufjs/aspromise@1.1.2, npm/@protobufjs/base64@1.1.2, npm/@protobufjs/codegen@2.0.4, npm/@protobufjs/eventemitter@1.1.0, npm/@protobufjs/fetch@1.1.0, npm/@protobufjs/float@1.0.2, npm/@protobufjs/path@1.1.2, npm/@protobufjs/pool@1.1.0, npm/@protobufjs/utf8@1.1.0, npm/@ramp-network/ramp-instant-sdk@4.0.4, npm/@rollup-extras/plugin-copy@1.2.2, npm/@rollup/plugin-json@4.1.0, npm/@rollup/plugin-node-resolve@11.2.1, npm/@rollup/plugin-replace@5.0.5, npm/@rollup/plugin-typescript@11.1.6, npm/@rollup/pluginutils@5.1.0, npm/@web3-onboard/coinbase@2.4.1, npm/@web3-onboard/injected-wallets@2.11.1, npm/@web3-onboard/walletconnect@2.6.1, npm/css-loader@6.11.0, npm/style-loader@3.3.4, npm/webpack-cli@5.1.4, npm/webpack-dev-server@4.15.2

View full report↗︎

socket-security[bot] commented 2 weeks 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/svelte-preprocess@5.0.1
  • Install script: postinstall
  • Source: echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."
🚫
Install scripts npm/@sveltejs/kit@1.0.0-next.589
  • Install script: postinstall
  • Source: node postinstall.js
🚫
Install scripts npm/esbuild@0.21.5 🚫

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/svelte-preprocess@5.0.1
  • @SocketSecurity ignore npm/@sveltejs/kit@1.0.0-next.589
  • @SocketSecurity ignore npm/esbuild@0.21.5