blocknative / web3-onboard

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

[UPDATE] - Label from `Optimism` -> `OP Mainnet` #2152

Closed Adamj1232 closed 4 months ago

Adamj1232 commented 4 months ago

Description

Refine label for OP Mainnet

Screenshot 2024-04-12 at 10 39 04
socket-security[bot] commented 4 months ago

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

Package New capabilities Transitives Size Publisher
npm/@adraffy/ens-normalize@1.9.0 None 0 424 kB adraffy
npm/@babel/helper-module-imports@7.24.3 None 0 63.8 kB nicolo-ribaudo
npm/@babel/helper-string-parser@7.24.1 None 0 31.7 kB nicolo-ribaudo
npm/@babel/runtime@7.23.2 None +1 275 kB nicolo-ribaudo
npm/@babel/types@7.24.0 environment +2 2.46 MB nicolo-ribaudo
npm/@blocto/dappauth@2.1.0 None +3 5.37 MB scottphc
npm/@chakra-ui/react-utils@1.2.3 environment +1 335 kB segunadebayo
npm/@chakra-ui/theme-tools@1.3.6 environment Transitive: filesystem +31 3.75 MB segunadebayo
npm/@chakra-ui/utils@1.10.4 environment +4 372 kB segunadebayo
npm/@cosmjs/amino@0.31.0 None 0 88.9 kB webmaster128
npm/@cosmjs/crypto@0.31.0 None +1 248 kB webmaster128
npm/@cosmjs/encoding@0.31.0 None +1 36.1 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 +1 745 kB webmaster128
npm/@cosmjs/tendermint-rpc@0.29.5 network +7 1.33 MB webmaster128
npm/@cosmjs/utils@0.31.3 None 0 14.4 kB webmaster128
npm/@emotion/serialize@1.1.4 environment +3 94.2 kB emotion-release-bot
npm/@ethereumjs/common@3.2.0 None +1 330 kB holgerd77
npm/@ethereumjs/tx@4.2.0 None +5 2.12 MB holgerd77
npm/@ethereumjs/util@8.1.0 Transitive: network +3 1.04 MB holgerd77
npm/@lit-labs/ssr-dom-shim@1.1.2 environment 0 33.7 kB lit-robot
npm/@lit/reactive-element@1.6.3 None 0 788 kB lit-robot
npm/@metamask/json-rpc-engine@7.3.3 None +4 628 kB metamaskbot
npm/@metamask/rpc-errors@6.2.1 None +4 342 kB metamaskbot
npm/@metamask/safe-event-emitter@2.0.0 None 0 7.65 kB whymarrh
npm/@metamask/utils@5.0.2 None +2 260 kB metamaskbot
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 +1 40.7 kB popmotion
npm/@ngraveio/bc-ur@1.1.6 None +5 672 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/@safe-global/safe-apps-provider@0.18.0 None 0 33 kB dasanra
npm/@safe-global/safe-apps-sdk@8.1.0 Transitive: network +1 249 kB dasanra
npm/@scure/base@1.1.3 None 0 77.8 kB paulmillr
npm/@shapeshiftoss/hdwallet-core@1.52.2 None +19 40.2 MB shapeshift-ci-bot
npm/@solana/web3.js@1.87.1 environment, eval, network +10 18.5 MB buffalojoec
npm/@types/bn.js@5.1.2 None 0 14.1 kB types
npm/@types/lodash@4.17.0 None 0 862 kB types
npm/@types/node@10.17.60 None 0 632 kB types
npm/@types/ws@8.5.10 None 0 21.7 kB types
npm/@wagmi/connectors@3.1.11 Transitive: environment, eval, network, unsafe +41 51.3 MB awkweb
npm/@walletconnect/crypto@1.0.3 None +3 1.02 MB bkrem
npm/@walletconnect/encoding@1.0.2 None 0 294 kB bkrem
npm/@walletconnect/keyvaluestorage@1.1.1 filesystem +2 402 kB gancho_walletconnect
npm/@walletconnect/legacy-types@2.0.0 None 0 246 kB pedrouid
npm/@walletconnect/modal@2.6.2 Transitive: environment, network +10 2.41 MB iljadoesdev
npm/@walletconnect/types@2.11.0 Transitive: unsafe +6 1.86 MB gancho_walletconnect
npm/@walletconnect/utils@2.11.0 None +21 2.35 MB gancho_walletconnect
npm/@web3-onboard/arcana-auth@2.0.0 Transitive: network +3 1.08 MB cmeisl
npm/@web3-onboard/bitget@2.0.1 None +1 503 kB cmeisl
npm/@web3-onboard/blocto@2.0.1 Transitive: network +2 611 kB cmeisl
npm/@web3-onboard/capsule@2.0.1 Transitive: environment, eval, filesystem, network +140 82.3 MB cmeisl
npm/@web3-onboard/cede-store@2.2.0 Transitive: filesystem +13 1.6 MB cmeisl
npm/@web3-onboard/coinbase@2.2.7 Transitive: network +5 521 kB cmeisl
npm/@web3-onboard/common@2.3.3 None +7 966 kB cmeisl
npm/@web3-onboard/dcent@2.2.7 network Transitive: environment +16 17.4 MB cmeisl
npm/@web3-onboard/enkrypt@2.0.4 None 0 6.67 kB cmeisl
npm/@web3-onboard/fortmatic@2.0.19 None +1 105 kB cmeisl
npm/@web3-onboard/frame@2.0.2 Transitive: environment, network +1 569 kB cmeisl
npm/@web3-onboard/frontier@2.0.4 None 0 6.25 kB cmeisl
npm/@web3-onboard/gas@2.1.8 None +8 5.37 MB cmeisl
npm/@web3-onboard/gnosis@2.2.1 Transitive: network +3 294 kB cmeisl
npm/@web3-onboard/infinity-wallet@2.0.4 Transitive: environment +4 144 kB cmeisl
npm/@web3-onboard/injected-wallets@2.10.15 None +4 1.16 MB cmeisl
npm/@web3-onboard/keepkey@2.3.8 Transitive: eval, network +39 45.2 MB cmeisl
npm/@web3-onboard/keystone@2.3.8 Transitive: environment +29 78.6 MB cmeisl
npm/@web3-onboard/ledger@2.6.0 Transitive: environment, eval, filesystem, network, unsafe +57 25.2 MB cmeisl
npm/@web3-onboard/magic@2.1.7 None +3 664 kB cmeisl
npm/@web3-onboard/metamask@2.0.4 None 0 15.6 kB cmeisl
npm/@web3-onboard/mew-wallet@2.0.4 None +1 85.9 kB cmeisl
npm/@web3-onboard/particle-network@2.0.0 Transitive: environment +3 5.08 MB cmeisl
npm/@web3-onboard/phantom@2.0.3 None 0 6.25 kB cmeisl
npm/@web3-onboard/portis@2.1.7 None 0 17.8 kB cmeisl
npm/@web3-onboard/sequence@2.0.8 Transitive: network +3 11.8 MB cmeisl
npm/@web3-onboard/taho@2.0.5 None 0 21.6 kB cmeisl
npm/@web3-onboard/torus@2.2.6 None 0 6.59 kB cmeisl
npm/@web3-onboard/transaction-preview@2.0.8 None +6 1.43 MB cmeisl
npm/@web3-onboard/trezor@2.4.4 Transitive: network +13 14.1 MB cmeisl
npm/@web3-onboard/trust@2.0.4 None 0 9.45 kB cmeisl
npm/@web3-onboard/uauth@2.1.2 Transitive: environment, eval, network, unsafe +35 18.1 MB cmeisl
npm/@web3-onboard/venly@2.0.0 None 0 7.23 kB cmeisl
npm/@web3-onboard/walletconnect@2.5.4 Transitive: environment, eval, network, unsafe +23 16.5 MB cmeisl
npm/@web3-onboard/web3auth@2.2.3 Transitive: environment +3 4.95 MB cmeisl
npm/@web3-onboard/xdefi@2.0.5 None 0 10.1 kB cmeisl
npm/@web3-onboard/zeal@2.0.4 None 0 4.08 kB cmeisl
npm/axios@1.4.0 network Transitive: filesystem +1 1.79 MB jasonsaayman
npm/base64url@3.0.1 None 0 7.55 kB brianloveswords
npm/big-integer@1.6.51 None 0 164 kB peterolson
npm/bignumber.js@9.1.2 None 0 351 kB mikemcl
npm/bip32@2.0.6 None 0 17.7 kB junderw
npm/bip66@1.1.5 None 0 7.79 kB dcousens
npm/bitcoin-ops@1.4.1 None 0 4.38 kB dcousens
npm/bs58@4.0.1 None 0 4.57 kB dcousens
npm/bs58check@2.1.2 None 0 4.79 kB dcousens
npm/clsx@1.2.1 None 0 5.67 kB lukeed
npm/copy-to-clipboard@3.3.1 None +1 88.3 kB sudodoki
npm/cosmjs-types@0.8.0 None 0 22.8 MB webmaster128
npm/cross-env@7.0.3 environment 0 29.1 kB kentcdodds
npm/cross-fetch@3.1.8 network 0 75.1 kB lquixada
npm/css-loader@5.2.7 None 0 102 kB evilebottnawi
npm/csstype@3.0.9 None 0 1.17 MB faddee
npm/eth-query@2.1.2 None 0 7.29 kB kumavis
npm/eth-rpc-errors@4.0.3 None 0 52.2 kB rekmarks
npm/ethereumjs-util@6.2.1 None +1 977 kB holgerd77
npm/ethjs-util@0.1.6 None 0 225 kB silentcicero
npm/eventemitter3@5.0.1 None 0 73.4 kB lpinca
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/follow-redirects@1.15.3 network 0 28.6 kB rubenverborgh
npm/google-protobuf@3.21.2 None 0 820 kB dibenede
npm/http@0.0.1-security None 0 464 B andreeleuterio
npm/https-browserify@1.0.0 network 0 2.79 kB feross
npm/is-stream@2.0.1 None 0 5.93 kB sindresorhus
npm/json-rpc-engine@6.1.0 None 0 47.4 kB rekmarks
npm/json-rpc-random-id@1.0.1 None 0 2.12 kB kumavis
npm/keccak@3.0.4 None 0 779 kB fanatid
npm/lit-html@2.8.0 None 0 1.81 MB lit-robot
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/mini-css-extract-plugin@1.6.2 unsafe 0 90.8 kB evilebottnawi
npm/node-fetch@2.7.0 network 0 162 kB node-fetch-bot
npm/node-forge@1.3.1 None 0 1.66 MB davidlehn
npm/os-browserify@0.3.0 None 0 2.74 kB coderpuppy
npm/path-browserify@1.0.1 None 0 54.3 kB goto-bus-stop
npm/preact@10.18.1 None 0 1.27 MB jdecroock
npm/process@0.11.10 None 0 15.3 kB cwmma
npm/protobufjs@6.11.4 filesystem, network 0 14.7 MB google-wombot
npm/qs@6.11.2 None 0 241 kB ljharb
npm/rlp@2.2.7 None 0 62.9 kB ralxz
npm/stream-http@3.2.0 None 0 26.8 kB jhiesey
npm/svelte-loader@3.1.9 environment, filesystem 0 21.7 kB dummdidumm
npm/svelte@3.59.2 None 0 10.6 MB conduitry
npm/through2@2.0.5 None 0 9.65 kB rvagg
npm/tiny-secp256k1@1.1.6 None 0 1.1 MB junderw
npm/typeforce@1.18.0 None 0 19.1 kB dcousens
npm/varuint-bitcoin@1.1.2 None 0 5.49 kB junderw
npm/vconsole@3.15.1 network 0 391 kB maiz
npm/viem@1.16.6 network +5 39.8 MB jmoxey
npm/webpack-cli@4.10.0 environment, filesystem 0 109 kB evilebottnawi
npm/webpack-dev-server@4.7.4 environment, network 0 632 kB evilebottnawi
npm/webpack@5.89.0 environment, filesystem, network, unsafe 0 4.76 MB thelarkinn
npm/wif@2.0.6 None 0 8.31 kB dcousens
npm/ws@8.12.0 environment, network 0 136 kB lpinca

🚮 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/@jridgewell/sourcemap-codec@1.4.14, npm/@lit/reactive-element@1.6.1, npm/@nodelib/fs.stat@2.0.5, npm/@nodelib/fs.walk@1.2.8, 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/cookie@0.5.1, npm/@types/estree@1.0.0, npm/@typescript-eslint/eslint-plugin@5.49.0, npm/@typescript-eslint/parser@5.49.0, npm/@unstoppabledomains/resolution@8.5.0, npm/@web3-onboard/injected-wallets@2.10.1, npm/@web3-onboard/react@2.8.11, npm/@web3-onboard/walletconnect@2.3.9, npm/ajv@6.12.6, 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/call-bind@1.0.2, npm/call-bind@1.0.7, npm/cipher-base@1.0.4, npm/d@1.0.1, 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/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/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/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/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/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/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/tslib@2.5.0, npm/type-check@0.4.0, 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 4 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@6.11.4
  • Install script: postinstall
  • Source: node scripts/postinstall
Install scripts npm/tiny-secp256k1@1.1.6
  • Install script: install
  • Source: npm run build || echo "secp256k1 bindings compilation fail. Pure JS implementation will be used."
Install scripts npm/bigint-buffer@1.1.5
  • Install script: install
  • Source: npm run rebuild || echo "Couldn't build bindings. Non-native version used."
Install scripts npm/web3@1.10.2
  • Install script: postinstall
  • Source: echo "Web3.js 4.x alpha has been released for early testing and feedback. Checkout doc at https://docs.web3js.org/ "

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@6.11.4
  • @SocketSecurity ignore npm/tiny-secp256k1@1.1.6
  • @SocketSecurity ignore npm/bigint-buffer@1.1.5
  • @SocketSecurity ignore npm/web3@1.10.2