Skip to content

Investment DAO - Week 6 Group Task - #59

Open
gconnect wants to merge 9 commits into
celo-org:mainfrom
gconnect:stackshift/week-six
Open

Investment DAO - Week 6 Group Task#59
gconnect wants to merge 9 commits into
celo-org:mainfrom
gconnect:stackshift/week-six

Conversation

@gconnect

Copy link
Copy Markdown

No description provided.

@socket-security

socket-security Bot commented May 26, 2023

Copy link
Copy Markdown

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
Git dependency @terminal-fi/celo-devchain 4.0.1 InvestmentDAO/packages/hardhat/package.json
Git dependency @celo/utils 1.5.2
  • Dependency: bip39@git+https://github.com/bitcoinjs/bip39.git#d8ea080a18b40f301d4e2219a2991cd2417e83c2
  • Location: package.json
InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Native code bigint-buffer 1.1.5 InvestmentDAO/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.1, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.12
Install scripts bigint-buffer 1.1.5
  • Install script: install
  • Source: npm run rebuild || echo "Couldn't build bindings. Non-native version used."
InvestmentDAO/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.1, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.12
Native code bufferutil 4.0.5 InvestmentDAO/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, ethers@5.7.2, ganache@7.7.5, hardhat@2.14.0, 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
Native code bufferutil 4.0.7 InvestmentDAO/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.1, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.12
Native code canvas 2.11.2 InvestmentDAO/packages/hardhat/package.json
Install scripts canvas 2.11.2
  • Install script: install
  • Source: node-pre-gyp install --fallback-to-build --update-binary
InvestmentDAO/packages/hardhat/package.json
Native code ganache 7.7.5 InvestmentDAO/packages/hardhat/package.json via ganache@7.7.5
Native code keccak 3.0.3 InvestmentDAO/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, @typechain/web3-v1@6.0.2, ethereumjs-util@7.1.5, ethereumjs-wallet@1.0.2, hardhat@2.14.0, hardhat-celo@0.0.3, 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, InvestmentDAO/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.1, @rainbow-me/rainbowkit@0.12.9, wagmi@0.12.12
Native code secp256k1 4.0.3 InvestmentDAO/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, @typechain/web3-v1@6.0.2, ethereumjs-util@7.1.5, ethereumjs-wallet@1.0.2, hardhat@2.14.0, hardhat-celo@0.0.3, 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
Native code tiny-secp256k1 1.1.6 InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Install scripts tiny-secp256k1 1.1.6
  • Install script: install
  • Source: npm run build || echo "secp256k1 bindings compilation fail. Pure JS implementation will be used."
InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Native code utf-8-validate 5.0.10 InvestmentDAO/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.1, @rainbow-me/rainbowkit@0.12.9, ethers@5.7.2, wagmi@0.12.12
Native code utf-8-validate 5.0.7 InvestmentDAO/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, ethers@5.7.2, ganache@7.7.5, hardhat@2.14.0, 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
Install scripts web3 1.8.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/ "
InvestmentDAO/packages/hardhat/package.json via @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22
Install scripts web3 1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh and web3-bzz api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Install scripts web3 1.7.4
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh and web3-bzz api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
Install scripts web3-bzz 1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-bzz api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Install scripts web3-bzz 1.7.4
  • Install script: postinstall
  • Source: echo "WARNING: the web3-bzz api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
Install scripts web3-bzz 1.8.2
  • Install script: postinstall
  • Source: echo "WARNING: the web3-bzz api will be deprecated in the next version"
InvestmentDAO/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
Install scripts web3-shh 1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
Install scripts web3-shh 1.7.4
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh api will be deprecated in the next version"
InvestmentDAO/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
Install scripts web3-shh 1.8.2
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh api will be deprecated in the next version"
InvestmentDAO/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
Install scripts es5-ext 0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
InvestmentDAO/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
Protestware/Troll package es5-ext 0.10.62
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
InvestmentDAO/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
Telemetry next 13.2.4
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1
InvestmentDAO/packages/react-app/package.json

Next steps

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.

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 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 is protestware and troll packages?

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 telemetry?

This package contains telemetry which tracks you.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

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 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 web3@1.8.2
  • @SocketSecurity ignore web3@1.3.6
  • @SocketSecurity ignore web3@1.7.4
  • @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 canvas@2.11.2
  • @SocketSecurity ignore web3-shh@1.3.6
  • @SocketSecurity ignore web3-shh@1.7.4
  • @SocketSecurity ignore web3-shh@1.8.2
  • @SocketSecurity ignore es5-ext@0.10.62
  • @SocketSecurity ignore bufferutil@4.0.5
  • @SocketSecurity ignore bufferutil@4.0.7
  • @SocketSecurity ignore ganache@7.7.5
  • @SocketSecurity ignore keccak@3.0.3
  • @SocketSecurity ignore secp256k1@4.0.3
  • @SocketSecurity ignore utf-8-validate@5.0.10
  • @SocketSecurity ignore utf-8-validate@5.0.7
  • @SocketSecurity ignore @terminal-fi/celo-devchain@4.0.1
  • @SocketSecurity ignore @celo/utils@1.5.2
  • @SocketSecurity ignore next@13.2.4

@socket-security

socket-security Bot commented Jun 6, 2023

Copy link
Copy Markdown

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

Packages Version New capabilities Transitives1 Size Publisher
next 🆕 13.2.4 eval, network, filesystem, shell, environment +28 1.3 GB vercel-release-bot
ganache 🆕 7.7.5 eval, network, filesystem, shell, environment +22 196 MB truffle-cicd
fs 🆕 0.0.1-security None +0 794 B ehsalazar
@terminal-fi/celo-devchain 🆕 4.0.1 eval, network, filesystem, shell, environment +530 128 MB thezviad
ts-node 🆕 10.9.1 filesystem, shell, environment +18 69.6 MB cspotcode
hardhat-celo 🆕 0.0.3 eval, network, filesystem, shell, environment +824 227 MB harpaljadeja
faker 🆕 6.6.6 None +0 3.82 kB marak
eslint-config-next 🆕 13.2.4 eval, filesystem, shell, environment +238 93.3 MB vercel-release-bot
@types/node 🆕 18.15.2 None +0 3.62 MB types
face-api.js 🆕 0.22.2 network, filesystem, environment +8 29.6 MB justadudewhohacks
hardhat 🆕 2.14.0 eval, network, filesystem, shell, environment +289 145 MB fvictorio
solidity-coverage 🆕 0.7.22 eval, network, filesystem, shell, environment +494 72.1 MB cgewecke
bip39 🆕 3.0.4 filesystem, environment +19 1.23 MB junderw
yargs 🆕 17.5.1 filesystem, environment +15 628 kB oss-bot
canvas-sketch 🆕 0.7.7 eval +29 951 kB mattdesl
typescript 🆕 4.9.5 filesystem +0 66.8 MB typescript-bot
@celo/rainbowkit-celo 🆕 0.11.1 eval, network, filesystem, shell, environment +476 188 MB aaron-clabs
source-map-support 🆕 0.5.21 filesystem +2 895 kB linusu
@typechain/web3-v1 🆕 6.0.2 eval, network, filesystem, shell, environment +374 117 MB ethereum-ts-bot
ethereumjs-util 🆕 7.1.5 filesystem, shell, environment +45 6.61 MB holgerd77
@redstone-finance/evm-connector 🆕 0.0.15 network, filesystem, shell, environment +62 26.2 MB redstone-finance
typechain 🆕 8.1.1 eval, filesystem, environment +52 82 MB ethereum-ts-bot
tw-elements 🆕 1.0.0-beta2 network, filesystem, shell, environment +107 113 MB smolenski-mikolaj
@ethersproject/providers 🆕 5.7.2 network, filesystem, shell, environment +35 4.11 MB ricmoo
shelljs 🆕 0.8.5 filesystem, shell, environment +19 596 kB nfischer
chai 🆕 4.3.7 environment +7 927 kB chai
web3 🆕 1.8.2 eval, network, filesystem, shell, environment +327 35 MB jdevcs
node-watch 🆕 0.7.3 filesystem, environment +0 25.7 kB yuanchuan
hardhat-gas-reporter 🆕 1.0.9 eval, network, filesystem, shell, environment +461 173 MB cgewecke
web3-core 🆕 1.8.2 eval, network, filesystem, shell, environment +116 12.6 MB jdevcs
random-js 🆕 2.1.0 None +0 279 kB ckknight
@ethersproject/bytes 🆕 5.7.0 None +1 150 kB ricmoo
canvas 🆕 2.11.2 network, filesystem, shell, environment +68 2.85 MB calebhearon
web3-eth-contract 🆕 1.8.2 eval, network, filesystem, shell, environment +126 14 MB jdevcs
@types/mocha 🆕 9.1.1 None +0 96.1 kB types
chalk 🆕 4.1.2 None +5 97.4 kB sindresorhus
@ethersproject/abi 🆕 5.7.0 network +27 2.39 MB ricmoo
ethereumjs-wallet 🆕 1.0.2 filesystem, shell, environment +49 6.98 MB ralxz
autoprefixer 🆕 10.4.14 filesystem, shell, environment +13 2.96 MB ai
fs-extra 🆕 10.1.0 filesystem, environment +3 120 kB ryanzim
ora 🆕 5.4.1 environment +29 570 kB sindresorhus
eslint 🆕 8.36.0 eval, filesystem, shell, environment +95 10.9 MB eslintbot
@nomiclabs/hardhat-etherscan 🆕 3.1.6 eval, network, filesystem, shell, environment +309 148 MB alcuadrado
tailwindcss 🆕 3.3.1 network, filesystem, shell, environment +99 83.2 MB adamwathan
@nomicfoundation/hardhat-network-helpers 🆕 1.0.8 eval, network, filesystem, shell, environment +291 146 MB alcuadrado
commander 🆕 9.4.1 filesystem, shell, environment +0 170 kB abetomo
@typechain/ethers-v5 🆕 10.2.0 eval, network, filesystem, shell, environment +99 101 MB ethereum-ts-bot
postcss 🆕 8.4.21 filesystem, environment +3 363 kB ai
@nomiclabs/hardhat-ethers 🆕 2.2.2 eval, network, filesystem, shell, environment +290 145 MB fvictorio
svg.js 🆕 2.7.1 None +0 1.03 MB fuzzyma
@types/react-dom 🆕 18.0.11 None +4 1.41 MB types
hardhat-deploy 🆕 0.11.23 eval, network, filesystem, shell, environment +100 33.5 MB wighawag
react-dom 🆕 18.2.0 filesystem, environment +4 4.93 MB gnoff
@rainbow-me/rainbowkit 🆕 0.12.9 eval, network, filesystem, shell, environment +354 168 MB danielsinclair
node-emoji 🆕 1.11.0 eval +1 1.64 MB omnidan
@heroicons/react 🆕 2.0.17 filesystem, environment +3 2.77 MB reinink
@nomicfoundation/hardhat-chai-matchers 🆕 1.0.6 eval, network, filesystem, shell, environment +303 147 MB alcuadrado
react 🆕 18.2.0 filesystem, environment +2 337 kB gnoff
@typechain/hardhat 🆕 6.1.5 eval, network, filesystem, shell, environment +322 159 MB ethereum-ts-bot
dotenv 🆕 16.0.3 filesystem, environment +0 36.6 kB motdotla
inquirer 🆕 8.2.5 eval, network, filesystem, shell, environment +51 7.37 MB sboudrias
wagmi 🆕 0.12.12 eval, network, filesystem, shell, environment +322 165 MB awkweb
ethers 🆕 5.7.2 network, filesystem, shell, environment +94 27.2 MB ricmoo
@headlessui/react 🆕 1.7.14 filesystem, environment +6 5.93 MB malfaitrobin
@types/react 🆕 18.0.27 None +3 1.38 MB types

Footnotes

  1. https://docs.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.

3 participants