blocknative / web3-onboard

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

[UPDATE] - Remove deprecated testnets from Core, TX Preview and docs #2162

Closed Adamj1232 closed 3 months ago

Adamj1232 commented 3 months ago

Description

Remove deprecated testnets(Kovan, Rinkeby, Ropsten and Goerli) from Core, TX Preview and docs

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/@algolia/client-search@4.17.0 None +5 258 kB shortcuts
npm/@babel/code-frame@7.23.5 None 0 23.3 kB nicolo-ribaudo
npm/@babel/compat-data@7.23.5 None 0 64.6 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 None 0 52 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.22.15 None 0 54.4 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.22.5 None 0 11.9 kB nicolo-ribaudo
npm/@babel/helper-string-parser@7.23.4 None 0 31.6 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.22.20 None 0 49.1 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.23.5 None 0 11.7 kB nicolo-ribaudo
npm/@babel/highlight@7.23.4 None 0 18.4 kB nicolo-ribaudo
npm/@babel/parser@7.23.6 None 0 1.89 MB nicolo-ribaudo
npm/@babel/runtime@7.23.2 None 0 247 kB nicolo-ribaudo
npm/@babel/types@7.23.6 environment 0 2.41 MB nicolo-ribaudo
npm/@chakra-ui/react-utils@1.2.3 environment 0 19 kB segunadebayo
npm/@chakra-ui/theme-tools@1.3.6 environment Transitive: filesystem +25 2.48 MB segunadebayo
npm/@chakra-ui/utils@1.10.4 environment +2 286 kB segunadebayo
npm/@cosmjs/amino@0.31.0 None 0 88.9 kB webmaster128
npm/@cosmjs/crypto@0.31.0 None 0 140 kB webmaster128
npm/@cosmjs/encoding@0.31.0 None 0 22.4 kB webmaster128
npm/@cosmjs/math@0.31.3 None 0 36.8 kB webmaster128
npm/@cosmjs/proto-signing@0.31.0 None 0 79.7 kB webmaster128
npm/@cosmjs/stream@0.29.5 None 0 30.4 kB webmaster128
npm/@cosmjs/tendermint-rpc@0.29.5 network Transitive: environment +5 870 kB webmaster128
npm/@cosmjs/utils@0.31.3 None 0 14.4 kB webmaster128
npm/@docsearch/css@3.3.4 None 0 27.9 kB shortcuts
npm/@docsearch/js@3.3.4 Transitive: environment, network +18 2.44 MB shortcuts
npm/@ethereumjs/common@3.1.2 None 0 298 kB holgerd77
npm/@ethereumjs/tx@4.1.2 None +10 3.52 MB holgerd77
npm/@ethereumjs/util@8.0.6 None +7 1.32 MB holgerd77
npm/@gnosis.pm/safe-react-gateway-sdk@2.10.3 None 0 121 kB katspaugh
npm/@iconify-json/ri@1.1.8 None 0 859 kB cyberalien
npm/@iconify/types@2.0.0 None 0 25.7 kB cyberalien
npm/@jridgewell/gen-mapping@0.3.3 None +1 94.7 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.18 None +2 259 kB jridgewell
npm/@metamask/eth-sig-util@5.1.0 None +3 424 kB metamaskbot
npm/@metamask/safe-event-emitter@2.0.0 None 0 7.65 kB whymarrh
npm/@motionone/animation@10.17.0 None 0 36.8 kB popmotion
npm/@motionone/easing@10.17.0 None 0 14.1 kB popmotion
npm/@motionone/generators@10.17.0 None 0 42.7 kB popmotion
npm/@motionone/types@10.17.0 None 0 15.4 kB popmotion
npm/@motionone/utils@10.17.0 None 0 31.8 kB popmotion
npm/@ngraveio/bc-ur@1.1.6 None +1 138 kB antwnic4
npm/@noble/curves@1.2.0 None 0 1.35 MB paulmillr
npm/@noble/hashes@1.3.2 None 0 747 kB paulmillr
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@safe-global/safe-apps-provider@0.18.0 None 0 33 kB dasanra
npm/@safe-global/safe-apps-sdk@8.1.0 None +1 242 kB dasanra
npm/@shapeshiftoss/hdwallet-core@1.49.0 None +11 28.5 MB shapeshift-ci-bot
npm/@solana/web3.js@1.87.1 environment, eval, network +1 11.4 MB buffalojoec
npm/@sveltejs/adapter-static@2.0.2 environment 0 8.21 kB svelte-admin
npm/@sveltejs/kit@1.27.2 environment, eval +3 820 kB svelte-admin
npm/@svelteness/kit-docs@1.1.5 Transitive: filesystem, network +6 17.1 MB mihar-22
npm/@tailwindcss/typography@0.5.9 None 0 86.7 kB bradlc
npm/@toruslabs/base-controllers@2.9.0 network +7 9.62 MB chaitanyapotti
npm/@toruslabs/eccrypto@2.2.1 None 0 47.9 kB chaitanyapotti
npm/@toruslabs/openlogin-jrpc@4.7.2 Transitive: environment +3 1.66 MB chaitanyapotti
npm/@toruslabs/openlogin-utils@4.7.0 None 0 269 kB chaitanyapotti
npm/@types/animejs@3.1.7 None 0 8.88 kB types
npm/@types/bn.js@5.1.1 None 0 14.1 kB types
npm/@types/lodash@4.14.202 None 0 862 kB types
npm/@types/node@18.15.13 None 0 3.65 MB types
npm/@types/react@18.2.6 None +2 374 kB types
npm/@types/secp256k1@4.0.5 None 0 8.05 kB types
npm/@vitejs/plugin-react@4.2.1 Transitive: environment, filesystem, unsafe +18 3.02 MB vitebot
npm/@wagmi/connectors@3.1.5 Transitive: environment, eval, network +31 19.6 MB awkweb
npm/@walletconnect/crypto@1.0.3 None +4 1.05 MB bkrem
npm/@walletconnect/encoding@1.0.2 None 0 294 kB bkrem
npm/@walletconnect/legacy-types@2.0.0 None 0 246 kB pedrouid
npm/@walletconnect/modal@2.6.2 Transitive: network +2 874 kB iljadoesdev
npm/@walletconnect/types@2.10.2 None +5 1.5 MB gancho_walletconnect
npm/@walletconnect/utils@2.10.2 None +19 2.34 MB gancho_walletconnect
npm/@web3-onboard/arcana-auth@2.0.0 Transitive: network +1 185 kB cmeisl
npm/@web3-onboard/bitget@2.0.1 None +2 511 kB cmeisl
npm/@web3-onboard/blocto@2.0.0 Transitive: network +2 931 kB cmeisl
npm/@web3-onboard/capsule@2.0.1 Transitive: environment, eval, filesystem, network +117 37.2 MB cmeisl
npm/@web3-onboard/cede-store@2.2.0 None +7 1.18 MB cmeisl
npm/@web3-onboard/coinbase@2.2.7 Transitive: network +5 1.86 MB cmeisl
npm/@web3-onboard/common@2.3.3 None +5 9.99 MB cmeisl
npm/@web3-onboard/core@2.21.6-alpha.1 Transitive: network +8 16.3 MB cmeisl
npm/@web3-onboard/dcent@2.2.7 network +6 2.99 MB cmeisl
npm/@web3-onboard/enkrypt@2.0.4 None 0 6.67 kB cmeisl
npm/@web3-onboard/fortmatic@2.0.19 None 0 7.81 kB cmeisl
npm/@web3-onboard/frame@2.0.2 None 0 6.49 kB cmeisl
npm/@web3-onboard/frontier@2.0.4 None 0 6.25 kB cmeisl
npm/@web3-onboard/gas@2.1.8 None +7 868 kB cmeisl
npm/@web3-onboard/gnosis@2.1.10 None +3 160 kB cmeisl
npm/@web3-onboard/infinity-wallet@2.0.4 Transitive: environment +3 136 kB cmeisl
npm/@web3-onboard/injected-wallets@2.10.16-alpha.2 None 0 518 kB cmeisl
npm/@web3-onboard/keepkey@2.3.7 Transitive: network +22 34.4 MB cmeisl
npm/@web3-onboard/keystone@2.3.7 Transitive: environment, network +19 77 MB cmeisl
npm/@web3-onboard/ledger@2.6.0 Transitive: environment, eval, network +54 25 MB cmeisl
npm/@web3-onboard/magic@2.1.7 None 0 66.7 kB cmeisl
npm/@web3-onboard/metamask@2.0.4 Transitive: environment, network +26 38.2 MB cmeisl
npm/@web3-onboard/mew-wallet@2.0.4 None 0 18 kB cmeisl
npm/@web3-onboard/particle-network@2.0.1-alpha.5 None +5 1.37 MB cmeisl
npm/@web3-onboard/phantom@2.0.3 None 0 6.25 kB cmeisl
npm/@web3-onboard/portis@2.1.7 Transitive: environment +4 999 kB cmeisl
npm/@web3-onboard/sequence@2.0.8 Transitive: environment, network +17 3.28 MB cmeisl
npm/@web3-onboard/taho@2.0.5 None 0 21.6 kB cmeisl
npm/@web3-onboard/torus@2.2.6 Transitive: network +3 2.34 MB cmeisl
npm/@web3-onboard/transaction-preview@2.0.8 None 0 95.5 kB cmeisl
npm/@web3-onboard/trezor@2.4.3 Transitive: environment, filesystem, network +35 9.55 MB cmeisl
npm/@web3-onboard/trust@2.0.4 None 0 9.45 kB cmeisl
npm/@web3-onboard/uauth@2.1.1 Transitive: environment, eval, filesystem, network +60 23.2 MB cmeisl
npm/@web3-onboard/venly@2.0.0 Transitive: network +19 3.34 MB cmeisl
npm/@web3-onboard/walletconnect@2.5.4 Transitive: environment, eval, filesystem, network +32 17.5 MB cmeisl
npm/@web3-onboard/web3auth@2.2.3 Transitive: eval, network +39 75.7 MB cmeisl
npm/@web3-onboard/xdefi@2.0.4 None 0 8.75 kB cmeisl
npm/@web3-onboard/zeal@2.0.4 None 0 4.08 kB cmeisl
npm/@web3auth/base@5.2.0 None +3 5.26 MB chaitanyapotti
npm/agent-base@6.0.2 None 0 34.6 kB tootallnate
npm/agentkeepalive@4.5.0 network 0 43.7 kB fengmk2
npm/animejs@3.2.1 None 0 109 kB juliangarnier
npm/anymatch@3.1.3 None 0 9.65 kB phated
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/assert@2.0.0 None 0 75.3 kB lukechilds
npm/async@2.6.4 None 0 541 kB hargasinski
npm/autoprefixer@10.4.14 environment 0 199 kB ai
npm/axios@1.4.0 network 0 1.74 MB jasonsaayman

🚮 Removed packages: npm/@babel/runtime@7.18.9, npm/@esbuild-plugins/node-globals-polyfill@0.2.3, npm/@esbuild-plugins/node-modules-polyfill@0.2.2, npm/@ethersproject/abstract-provider@5.6.1, npm/@ethersproject/abstract-signer@5.6.2, npm/@ethersproject/address@5.6.1, npm/@fontsource/fira-mono@4.5.10, npm/@rollup/plugin-commonjs@25.0.7, npm/@sveltejs/adapter-auto@1.0.0-next.91, npm/@sveltejs/kit@1.0.0-next.589, npm/@types/estree@1.0.0, npm/@typescript-eslint/eslint-plugin@5.49.0, npm/@typescript-eslint/parser@5.49.0, npm/@web3-onboard/core@2.21.5, npm/@web3-onboard/injected-wallets@2.10.1, npm/@web3-onboard/react@2.8.11, npm/@web3-onboard/walletconnect@2.3.9, npm/ansi-styles@4.3.0, npm/array-includes@3.1.5, npm/bignumber.js@9.1.1, npm/braces@3.0.2, npm/brorand@1.1.0, npm/browserify-aes@1.2.0, npm/browserify-rsa@4.1.0, npm/browserify-zlib@0.2.0, npm/buffer@6.0.3, npm/call-bind@1.0.2, npm/call-bind@1.0.7, npm/cipher-base@1.0.4, npm/create-hash@1.2.0, npm/create-hmac@1.1.7, npm/crypto-browserify@3.12.0, npm/d@1.0.1, npm/debug@4.3.4, npm/decode-uri-component@0.2.2, npm/deepmerge@4.3.0, npm/define-data-property@1.1.4, npm/define-properties@1.1.4, npm/define-properties@1.2.1, npm/elliptic@6.5.4, npm/es-abstract@1.20.1, npm/es5-ext@0.10.62, npm/es6-symbol@3.1.3, npm/eslint-config-next@12.2.5, npm/eslint-config-prettier@8.6.0, npm/eslint-plugin-svelte3@4.0.0, npm/eslint@8.22.0, npm/eslint@8.33.0, npm/espree@9.3.3, npm/estraverse@5.3.0, npm/estree-walker@2.0.2, npm/evp_bytestokey@1.0.3, npm/fast-glob@3.2.12, npm/get-intrinsic@1.1.2, npm/get-intrinsic@1.2.4, npm/glob@7.1.7, npm/has-bigints@1.0.2, npm/has-property-descriptors@1.0.2, npm/has-tostringtag@1.0.2, npm/hash-base@3.0.4, npm/hash.js@1.1.7, npm/ieee754@1.2.1, npm/import-fresh@3.3.0, npm/inherits@2.0.4, npm/is-callable@1.2.4, npm/is-core-module@2.10.0, npm/is-glob@4.0.3, npm/is-string@1.0.7, npm/is-symbol@1.0.4, npm/is-typedarray@1.0.0, npm/jsx-ast-utils@3.3.3, npm/merge2@1.4.1, npm/minimalistic-assert@1.0.1, npm/minimatch@3.1.2, npm/minimist@1.2.6, npm/minimist@1.2.7, npm/next-tick@1.1.0, npm/next@12.2.5, npm/normalize-path@3.0.0, npm/object-inspect@1.12.2, npm/object.assign@4.1.3, npm/once@1.4.0, npm/parse-asn1@5.1.7, npm/pbkdf2@3.1.2, npm/picomatch@2.3.1, npm/prettier-plugin-svelte@2.9.0, npm/prettier@2.8.3, npm/randombytes@2.1.0, npm/react-dom@18.2.0, npm/readable-stream@2.3.8, npm/regexp.prototype.flags@1.4.3, npm/resolve@1.22.1, npm/ripemd160@2.0.2, npm/rollup-plugin-polyfill-node@0.12.0, npm/rollup@3.29.4, npm/rxjs@7.8.0, npm/sade@1.8.1, npm/safe-buffer@5.2.1, npm/sha.js@2.4.11, npm/stream-browserify@3.0.0, npm/string-width@3.1.0, npm/strip-ansi@6.0.1, npm/strip-json-comments@3.1.1, npm/svelte-check@3.0.3, npm/svelte-preprocess@5.0.1, npm/svelte@3.55.1, npm/type-check@0.4.0, npm/uint8arrays@3.1.1, npm/util-deprecate@1.0.2, npm/vite@4.5.3, npm/which-typed-array@1.1.15

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 NoteSource
Install scripts npm/protobufjs@7.2.4
  • Install script: postinstall
  • Source: node scripts/postinstall
Install scripts npm/keccak@1.4.0
  • Install script: install
  • Source: npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

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/protobufjs@7.2.4
  • @SocketSecurity ignore npm/keccak@1.4.0