Skip to content

Stackshift/week seven - #60

Open
emmaglorypraise wants to merge 3 commits into
celo-org:mainfrom
emmaglorypraise:stackshift/week-seven
Open

Stackshift/week seven#60
emmaglorypraise wants to merge 3 commits into
celo-org:mainfrom
emmaglorypraise:stackshift/week-seven

Conversation

@emmaglorypraise

Copy link
Copy Markdown

No description provided.

@socket-security

Copy link
Copy Markdown

New dependency changes detected. Learn more about Socket for GitHub ↗︎


🚨 Potential security issues found in this pull request. To accept the risk, merge this PR and you will not be notified again.

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@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore bigint-buffer@1.1.5
  • @SocketSecurity ignore keytar@7.7.0
  • @SocketSecurity ignore web3@1.10.0
  • @SocketSecurity ignore web3@1.8.2
  • @SocketSecurity ignore web3@1.3.6
  • @SocketSecurity ignore web3@1.7.4
  • @SocketSecurity ignore web3-bzz@1.10.0
  • @SocketSecurity ignore web3-bzz@1.3.6
  • @SocketSecurity ignore web3-bzz@1.7.4
  • @SocketSecurity ignore web3-bzz@1.8.2
  • @SocketSecurity ignore tiny-secp256k1@1.1.6
  • @SocketSecurity ignore secp256k1@3.8.0
  • @SocketSecurity ignore secp256k1@4.0.2
  • @SocketSecurity ignore secp256k1@4.0.3
  • @SocketSecurity ignore web3-shh@1.10.0
  • @SocketSecurity ignore web3-shh@1.3.6
  • @SocketSecurity ignore web3-shh@1.7.4
  • @SocketSecurity ignore web3-shh@1.8.2
  • @SocketSecurity ignore @apollo/protobufjs@1.2.6
  • @SocketSecurity ignore @apollo/protobufjs@1.2.7
  • @SocketSecurity ignore truffle@5.9.2
  • @SocketSecurity ignore @celo/react-celo@5.0.3
  • @SocketSecurity ignore core-js@2.6.12
  • @SocketSecurity ignore ursa-optional@0.10.2
  • @SocketSecurity ignore ejs@2.7.4
  • @SocketSecurity ignore es5-ext@0.10.62
  • @SocketSecurity ignore es5-ext@0.10.53
  • @SocketSecurity ignore bufferutil@4.0.5
  • @SocketSecurity ignore bufferutil@4.0.7
  • @SocketSecurity ignore ganache@7.7.5
  • @SocketSecurity ignore ganache@7.8.0
  • @SocketSecurity ignore keccak@3.0.2
  • @SocketSecurity ignore keccak@3.0.3
  • @SocketSecurity ignore leveldown@5.6.0
  • @SocketSecurity ignore utf-8-validate@5.0.10
  • @SocketSecurity ignore utf-8-validate@5.0.7
  • @SocketSecurity ignore websocket@1.0.29
  • @SocketSecurity ignore @terminal-fi/celo-devchain@4.0.1
  • @SocketSecurity ignore @graphprotocol/graph-cli@0.20.1
  • @SocketSecurity ignore @graphprotocol/graph-ts@0.20.0
  • @SocketSecurity ignore @celo/utils@1.5.2
  • @SocketSecurity ignore graphql-cli@4.1.0
  • @SocketSecurity ignore next@13.2.4
📜 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) install package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13, packages/react-app/package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13
keytar@7.7.0 (added) install the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
web3@1.10.0 (added) postinstall packages/react-app/package.json, the-graph-celo/package.json via truffle@5.9.2
web3@1.8.2 (added) postinstall packages/hardhat/package.json via @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-bzz@1.10.0 (added) postinstall packages/react-app/package.json via @celo/contractkit@4.1.0, web3@1.10.0, the-graph-celo/package.json via truffle@5.9.2, web3@1.10.0
web3-bzz@1.3.6 (added) postinstall package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, packages/react-app/package.json via @celo/react-celo@5.0.3, the-graph-celo/package.json via @celo/contractkit@1.5.2
web3-bzz@1.7.4 (added) postinstall packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-bzz@1.8.2 (added) postinstall packages/hardhat/package.json via @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22, web3@1.8.2
tiny-secp256k1@1.1.6 (added) install packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, the-graph-celo/package.json via @celo/contractkit@1.5.2
secp256k1@3.8.0 (added) install the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
web3@1.3.6 (added) postinstall package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, the-graph-celo/package.json via @celo/contractkit@1.5.2
web3@1.7.4 (added) postinstall packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-shh@1.10.0 (added) postinstall packages/react-app/package.json via @celo/contractkit@4.1.0, web3@1.10.0, the-graph-celo/package.json via truffle@5.9.2, web3@1.10.0
web3-shh@1.3.6 (added) postinstall package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, packages/react-app/package.json via @celo/react-celo@5.0.3, the-graph-celo/package.json via @celo/contractkit@1.5.2
web3-shh@1.7.4 (added) postinstall packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-shh@1.8.2 (added) postinstall packages/hardhat/package.json via @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22, web3@1.8.2
@apollo/protobufjs@1.2.6 (added) postinstall the-graph-celo/package.json via apollo-server@3.12.0, truffle@5.9.2
@apollo/protobufjs@1.2.7 (added) postinstall the-graph-celo/package.json via apollo-server@3.12.0, truffle@5.9.2
truffle@5.9.2 (added) postinstall the-graph-celo/package.json
@celo/react-celo@5.0.3 (added) postinstall packages/react-app/package.json
core-js@2.6.12 (added) postinstall the-graph-celo/package.json via babel-polyfill@6.26.0, babel-register@6.26.0
ursa-optional@0.10.2 (added) install the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
ejs@2.7.4 (added) postinstall the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
es5-ext@0.10.62 (added) postinstall package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22, web3@1.8.2, web3-core@1.8.2, web3-eth-contract@1.8.2, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, web3@1.10.0
🫣 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 package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13, packages/react-app/package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13
bufferutil@4.0.5 (added) binding.gyp packages/hardhat/package.json via @ethersproject/providers@5.7.2, @nomicfoundation/hardhat-chai-matchers@1.0.6, @nomicfoundation/hardhat-network-helpers@1.0.8, @nomiclabs/hardhat-ethers@2.2.2, @nomiclabs/hardhat-etherscan@3.1.6, @redstone-finance/evm-connector@0.0.15, @terminal-fi/celo-devchain@4.0.1, @typechain/ethers-v5@10.2.0, @typechain/hardhat@6.1.5, @typechain/web3-v1@6.0.2, ganache@7.7.5, hardhat@2.12.7, hardhat-celo@0.0.3, hardhat-deploy@0.11.23, hardhat-gas-reporter@1.0.9, solidity-coverage@0.7.22, web3@1.8.2, web3-core@1.8.2, web3-eth-contract@1.8.2, the-graph-celo/package.json via @celo/contractkit@1.5.2, graphql-cli@4.1.0, truffle@5.9.2
bufferutil@4.0.7 (added) binding.gyp package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.13, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.13, web3@1.10.0
ganache@7.7.5 (added) node_modules/@trufflesuite/bigint-buffer/binding.gyp packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/keccak/binding.gyp packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/leveldown/binding.gyp packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/napi-macros/example/binding.gyp packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/secp256k1/binding.gyp packages/hardhat/package.json via ganache@7.7.5
ganache@7.8.0 (added) node_modules/@trufflesuite/bigint-buffer/binding.gyp the-graph-celo/package.json via truffle@5.9.2
ganache@7.8.0 (added) node_modules/keccak/binding.gyp the-graph-celo/package.json via truffle@5.9.2
ganache@7.8.0 (added) node_modules/leveldown/binding.gyp the-graph-celo/package.json via truffle@5.9.2
ganache@7.8.0 (added) node_modules/napi-macros/example/binding.gyp the-graph-celo/package.json via truffle@5.9.2
ganache@7.8.0 (added) node_modules/secp256k1/binding.gyp the-graph-celo/package.json via truffle@5.9.2
keccak@3.0.2 (added) binding.gyp packages/hardhat/package.json via @nomicfoundation/hardhat-chai-matchers@1.0.6, @nomicfoundation/hardhat-network-helpers@1.0.8, @nomiclabs/hardhat-ethers@2.2.2, @nomiclabs/hardhat-etherscan@3.1.6, @terminal-fi/celo-devchain@4.0.1, @typechain/hardhat@6.1.5, ethereumjs-wallet@1.0.2, hardhat@2.12.7, hardhat-celo@0.0.3, hardhat-gas-reporter@1.0.9, the-graph-celo/package.json via @celo/contractkit@1.5.2, truffle@5.9.2, web3@1.10.0
keccak@3.0.3 (added) binding.gyp package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.13, web3@1.10.0
keytar@7.7.0 (added) binding.gyp the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
leveldown@5.6.0 (added) binding.gyp the-graph-celo/package.json via truffle@5.9.2
secp256k1@3.8.0 (added) binding.gyp the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
secp256k1@4.0.2 (added) binding.gyp the-graph-celo/package.json via @celo/contractkit@1.5.2, truffle@5.9.2, web3@1.10.0
secp256k1@4.0.3 (added) binding.gyp package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @nomicfoundation/hardhat-chai-matchers@1.0.6, @nomicfoundation/hardhat-network-helpers@1.0.8, @nomiclabs/hardhat-ethers@2.2.2, @nomiclabs/hardhat-etherscan@3.1.6, @terminal-fi/celo-devchain@4.0.1, @typechain/hardhat@6.1.5, ethereumjs-wallet@1.0.2, hardhat@2.12.7, hardhat-celo@0.0.3, hardhat-gas-reporter@1.0.9, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, web3@1.10.0
tiny-secp256k1@1.1.6 (added) binding.gyp packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, the-graph-celo/package.json via @celo/contractkit@1.5.2
ursa-optional@0.10.2 (added) binding.gyp the-graph-celo/package.json via @graphprotocol/graph-cli@0.20.1
utf-8-validate@5.0.10 (added) binding.gyp package.json via @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.13, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.13, web3@1.10.0
utf-8-validate@5.0.7 (added) binding.gyp packages/hardhat/package.json via @ethersproject/providers@5.7.2, @nomicfoundation/hardhat-chai-matchers@1.0.6, @nomicfoundation/hardhat-network-helpers@1.0.8, @nomiclabs/hardhat-ethers@2.2.2, @nomiclabs/hardhat-etherscan@3.1.6, @redstone-finance/evm-connector@0.0.15, @terminal-fi/celo-devchain@4.0.1, @typechain/ethers-v5@10.2.0, @typechain/hardhat@6.1.5, @typechain/web3-v1@6.0.2, ganache@7.7.5, hardhat@2.12.7, hardhat-celo@0.0.3, hardhat-deploy@0.11.23, hardhat-gas-reporter@1.0.9, solidity-coverage@0.7.22, web3@1.8.2, web3-core@1.8.2, web3-eth-contract@1.8.2, the-graph-celo/package.json via @celo/contractkit@1.5.2, graphql-cli@4.1.0, truffle@5.9.2
websocket@1.0.29 (added) binding.gyp the-graph-celo/package.json via truffle@5.9.2, truffle-contract@4.0.31, truffle-hdwallet-provider@1.0.17, web3@1.10.0
🍣 Git dependency

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.

Package Dependency Location Source
@terminal-fi/celo-devchain@4.0.1 (added) @celo/ganache-cli@git+https://github.com/celo-org/ganache-cli.git#e933297 package.json packages/hardhat/package.json
@graphprotocol/graph-cli@0.20.1 (added) assemblyscript@git+https://github.com/AssemblyScript/assemblyscript.git#v0.6 package.json the-graph-celo/package.json
@graphprotocol/graph-ts@0.20.0 (added) assemblyscript@git+https://github.com/AssemblyScript/assemblyscript.git#36040d5b5312f19a025782b5e36663823494c2f3 package.json the-graph-celo/package.json
@celo/utils@1.5.2 (added) bip39@git+https://github.com/bitcoinjs/bip39.git#d8ea080a18b40f301d4e2219a2991cd2417e83c2 package.json packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, the-graph-celo/package.json via @celo/contractkit@1.5.2
@celo/utils@1.5.2 (added) bls12377js@git+https://github.com/celo-org/bls12377js.git#cb38a4cfb643c778619d79b20ca3e5283a2122a6 package.json packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, the-graph-celo/package.json via @celo/contractkit@1.5.2
🧐 Potential typo squat

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

Package 📎 Did you mean? Found in
graphql-cli@4.1.0 (added) graphql-cliws (97 times more downloads) the-graph-celo/package.json
📞 Telemetry

This package contains telemetry which tracks you.

Package Note Source
next@13.2.4 (added) Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 packages/react-app/package.json
🧌 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 the-graph-celo/package.json via @celo/contractkit@1.5.2
es5-ext@0.10.62 (added) This package prints a protestware console message on install regarding Ukraine for users with Russian language locale package.json via @celo/react-celo@5.0.3, packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1, @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22, web3@1.8.2, web3-core@1.8.2, web3-eth-contract@1.8.2, packages/react-app/package.json via @celo/contractkit@4.1.0, @celo/react-celo@5.0.3, web3@1.10.0
Pull request alert summary
Issue Status
Install scripts ⚠️ 24 issues
Native code ⚠️ 25 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ⚠️ 5 issues
Potential typo squat ⚠️ 1 issue
Known Malware ✅ 0 issues
Telemetry ⚠️ 1 issue
Protestware/Troll package ⚠️ 2 issues
AI detected security risk ✅ 0 issues
AI warning ✅ 0 issues

📊 Modified Dependency Overview:

➕ Added Package Capability Access +/- Transitive Count Publisher
next@13.2.4 eval, network, filesystem, shell, environment +46 vercel-release-bot
ganache@7.7.5 eval, network, filesystem, shell, environment +23 truffle-cicd
@terminal-fi/celo-devchain@4.0.1 eval, network, filesystem, shell, environment +529 thezviad
babel-polyfill@6.26.0 eval, filesystem, environment +4 hzoo
typechain@8.1.1 eval, filesystem, environment +51 ethereum-ts-bot
ts-node@10.9.1 filesystem, shell, environment +18 cspotcode
chai@4.3.7 environment +7 chai
@graphprotocol/graph-ts@0.20.0 filesystem, environment +14 leoyvens
eslint-config-next@13.2.4 eval, filesystem, shell, environment +428 vercel-release-bot
hardhat-celo@0.0.3 eval, network, filesystem, shell, environment +824 harpaljadeja
truffle-contract@4.0.31 eval, network, filesystem, shell, environment +319 cruzmolina
ethers@4.0.49 eval, network, filesystem, shell +14 ricmoo
hardhat@2.12.7 eval, network, filesystem, shell, environment +297 alcuadrado
solidity-coverage@0.7.22 eval, network, filesystem, shell, environment +481 cgewecke
bip39@3.0.4 filesystem, environment +16 junderw
@graphprotocol/graph-cli@0.20.1 eval, network, filesystem, shell, environment +407 leoyvens
@redstone-finance/evm-connector@0.0.15 network, filesystem, shell, environment +66 redstone-finance
@celo/react-celo@5.0.3 eval, network, filesystem, shell, environment +1122 nicolasbrugneaux
web3@1.8.2 eval, network, filesystem, shell, environment +313 jdevcs
web3@1.10.0 eval, network, filesystem, shell, environment +712 jdevcs
truffle@5.9.2 eval, network, filesystem, shell, environment +804 haltman
typescript@4.9.5 filesystem +0 typescript-bot
source-map-support@0.5.12 filesystem +2 linusu

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.

1 participant