Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relic web #92

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Relic web #92

wants to merge 10 commits into from

Conversation

Jordan-type
Copy link

No description provided.

@socket-security
Copy link

Socket Security Pull Request Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

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.

Package Script field Source
bigint-buffer@1.1.5 (added) binding.gyp GLOBAL RELIC/relic-web/package.json via @celo/react-celo@4.2.1, @coinbase/wallet-sdk@3.5.4, @solana/web3.js@1.52.0
bufferutil@4.0.7 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
classic-level@1.2.0 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json via hardhat@2.12.2, @nomicfoundation/ethereumjs-blockchain@6.0.0, level@8.0.0
keccak@3.0.2 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
secp256k1@4.0.3 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json via ethereumjs-util@6.2.1, ethereum-cryptography@0.1.3,GLOBAL RELIC/relic-web/package.json
utf-8-validate@5.0.10 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
bigint-buffer@1.1.5 (added) install GLOBAL RELIC/relic-web/package.json via @celo/react-celo@4.2.1, @coinbase/wallet-sdk@3.5.4, @solana/web3.js@1.52.0
web3@1.8.0 (added) postinstall GLOBAL RELIC/relic-web/package.json
web3-bzz@1.3.6 (added) postinstall GLOBAL RELIC/relic-web/package.json via @celo/contractkit@2.3.0, web3@1.3.6
web3-bzz@1.8.0 (added) postinstall GLOBAL RELIC/relic-web/package.json via web3@1.8.0
keccak@3.0.2 (added) install GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
secp256k1@4.0.3 (added) install GLOBAL RELIC/relic_contracts/package.json via ethereumjs-util@6.2.1, ethereum-cryptography@0.1.3,GLOBAL RELIC/relic-web/package.json
web3@1.3.6 (added) postinstall GLOBAL RELIC/relic-web/package.json via @celo/contractkit@2.3.0
postinstall-postinstall@2.1.0 (added) postinstall GLOBAL RELIC/relic_contracts/package.json via ethereum-waffle@3.4.4, @ethereum-waffle/provider@3.4.4
web3-shh@1.3.6 (added) postinstall GLOBAL RELIC/relic-web/package.json via @celo/contractkit@2.3.0, web3@1.3.6
web3-shh@1.8.0 (added) postinstall GLOBAL RELIC/relic-web/package.json via web3@1.8.0
web3@1.2.11 (added) postinstall GLOBAL RELIC/relic_contracts/package.json
core-js@2.6.12 (added) postinstall GLOBAL RELIC/relic_contracts/package.json
core-js@3.26.0 (added) postinstall GLOBAL RELIC/relic-web/package.json via react-scripts@5.0.1, react-app-polyfill@3.0.0
core-js-pure@3.26.0 (added) postinstall GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
bufferutil@4.0.7 (added) install GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
classic-level@1.2.0 (added) install GLOBAL RELIC/relic_contracts/package.json via hardhat@2.12.2, @nomicfoundation/ethereumjs-blockchain@6.0.0, level@8.0.0
utf-8-validate@5.0.10 (added) install GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
es5-ext@0.10.62 (added) postinstall GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
🫣 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.

Package Location Source
bigint-buffer@1.1.5 (added) binding.gyp GLOBAL RELIC/relic-web/package.json via @celo/react-celo@4.2.1, @coinbase/wallet-sdk@3.5.4, @solana/web3.js@1.52.0
bufferutil@4.0.7 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
classic-level@1.2.0 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json via hardhat@2.12.2, @nomicfoundation/ethereumjs-blockchain@6.0.0, level@8.0.0
keccak@3.0.2 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
secp256k1@4.0.3 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json via ethereumjs-util@6.2.1, ethereum-cryptography@0.1.3,GLOBAL RELIC/relic-web/package.json
utf-8-validate@5.0.10 (added) binding.gyp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json via ws@7.4.6
😵‍💫 Bin script confusion

This package has multiple bin scripts with the same name. This can cause non-deterministic behavior when installing or could be a sign of a supply chain attack

Consider removing one of the conflicting packages. Packages should only export bin scripts with their name

Package Bin script Source
@nomicfoundation/ethereumjs-rlp@4.0.0 (added) rlp GLOBAL RELIC/relic_contracts/package.json
rlp@2.2.6 (added) rlp GLOBAL RELIC/relic_contracts/package.json via ethereum-waffle@3.4.4, @ethereum-waffle/provider@3.4.4, ganache-core@2.13.2, ethereumjs-account@3.0.0
rlp@2.2.7 (added) rlp GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
jest@27.5.1 (added) jest GLOBAL RELIC/relic-web/package.json via react-scripts@5.0.1
jest-cli@27.5.1 (added) jest GLOBAL RELIC/relic-web/package.json via react-scripts@5.0.1, jest@27.5.1
🧌 Protestware/Troll package

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

Package Note Source
es5-ext@0.10.53 (added) This package prints a protestware console message on install regarding Ukraine for users with Russian language locale GLOBAL RELIC/relic_contracts/package.json via ethereum-waffle@3.4.4, @ethereum-waffle/provider@3.4.4, ganache-core@2.13.2, websocket@1.0.32
es5-ext@0.10.62 (added) This package prints a protestware console message on install regarding Ukraine for users with Russian language locale GLOBAL RELIC/relic_contracts/package.json,GLOBAL RELIC/relic-web/package.json
Pull request report summary
Issue Status
Install scripts ⚠️ 24 issues
Native code ⚠️ 6 issues
Bin script confusion ⚠️ 5 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ⚠️ 2 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

  • @SocketSecurity ignore bigint-buffer@1.1.5
  • @SocketSecurity ignore bufferutil@4.0.7
  • @SocketSecurity ignore classic-level@1.2.0
  • @SocketSecurity ignore keccak@3.0.2
  • @SocketSecurity ignore secp256k1@4.0.3

Powered by socket.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant