BitGo / key-recovery-service-v2

Key Recovery Service server for all v2 coins and ERC20 tokens
Apache License 2.0
8 stars 21 forks source link

Merge pull request #55 from BitGo/CT-698-eos #56

Open 6paklata opened 5 years ago

6paklata commented 5 years ago

CT-698 Add EOS signing logic

Motivation

Overview Of Changes

socket-security[bot] commented 8 months ago

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

Package New capabilities Transitives Size Publisher
npm/@bitgo/account-lib@2.25.0 Transitive: environment, eval, filesystem, network, shell, unsafe +1302 472 MB mmcshinsky-bitgo
npm/@bitgo/statics@3.5.0 None 0 326 kB perrybitgo
npm/@bitgo/utxo-lib@1.9.6 Transitive: environment, filesystem +43 3.14 MB tylerlevine
npm/bip32@2.0.6 Transitive: environment, filesystem +27 2.64 MB junderw
npm/bitgo@12.0.0 environment Transitive: eval, filesystem, network, shell, unsafe +1396 639 MB tylerlevine
npm/eslint@5.16.0 filesystem, unsafe Transitive: environment, eval, shell +110 17.3 MB eslint
npm/ethereumjs-util@6.2.0 Transitive: environment, filesystem +33 2.17 MB holgerd77
npm/mocha@7.2.0 environment, filesystem Transitive: eval, shell +143 7.21 MB craigtaub
npm/stellar-hd-wallet@0.0.10 Transitive: environment, filesystem +28 44.7 MB chatch

🚮 Removed packages: npm/bitgo-utxo-lib@1.8.0, npm/bitgo@4.49.2, npm/mocha@5.2.0, npm/prova-lib@0.2.10, npm/ripple-keypairs@0.10.2, npm/stellar-hd-wallet@0.0.8

View full report↗︎

socket-security[bot] commented 8 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
Protestware/Troll package npm/es5-ext@0.10.62
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
Install scripts npm/protobufjs@7.2.4
  • Install script: postinstall
  • Source: node scripts/postinstall
Native code npm/utf-8-validate@5.0.10
Native code npm/secp256k1@5.0.0
Native code npm/tiny-secp256k1@1.1.6
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."
Native code npm/bigint-buffer@1.1.5
Install scripts npm/bigint-buffer@1.1.5
  • Install script: install
  • Source: npm run rebuild || echo "Couldn't build bindings. Non-native version used."
Native code npm/eccrypto@1.1.6
Native code npm/sodium-native@3.4.1
Install scripts npm/web3-bzz@1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-bzz api will be deprecated in the next version"
Install scripts npm/web3-shh@1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh api will be deprecated in the next version"
Native code npm/keccak@2.1.0
Install scripts npm/keccak@2.1.0
  • Install script: install
  • Source: npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
Native code npm/sodium-native@2.4.9
Native code npm/bufferutil@4.0.8
Git dependency npm/bitgo@12.0.0
Install scripts npm/web3@1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh and web3-bzz api will be deprecated in the next version"

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

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.

What's wrong with native code?

Contains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.

Ensure that native code bindings are expected. Consumers may consider pure JS and functionally similar alternatives to avoid the challenges and risks associated with native code bindings.

What are git dependencies?

Contains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.

Publish the git dependency to npm or a private package repository and consume it from there.

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/es5-ext@0.10.62
  • @SocketSecurity ignore npm/protobufjs@7.2.4
  • @SocketSecurity ignore npm/utf-8-validate@5.0.10
  • @SocketSecurity ignore npm/secp256k1@5.0.0
  • @SocketSecurity ignore npm/tiny-secp256k1@1.1.6
  • @SocketSecurity ignore npm/bigint-buffer@1.1.5
  • @SocketSecurity ignore npm/eccrypto@1.1.6
  • @SocketSecurity ignore npm/sodium-native@3.4.1
  • @SocketSecurity ignore npm/web3-bzz@1.3.6
  • @SocketSecurity ignore npm/web3-shh@1.3.6
  • @SocketSecurity ignore npm/keccak@2.1.0
  • @SocketSecurity ignore npm/sodium-native@2.4.9
  • @SocketSecurity ignore npm/bufferutil@4.0.8
  • @SocketSecurity ignore npm/bitgo@12.0.0
  • @SocketSecurity ignore npm/web3@1.3.6