Skip to content

[Glory Agatevure] Week five task - #45

Open
gconnect wants to merge 2 commits into
celo-org:mainfrom
gconnect:stackshift/week-5-task
Open

[Glory Agatevure] Week five task#45
gconnect wants to merge 2 commits into
celo-org:mainfrom
gconnect:stackshift/week-5-task

Conversation

@gconnect

@gconnect gconnect commented May 9, 2023

Copy link
Copy Markdown

fetch toucan tc02tokens and redeem selected token

@gconnect gconnect changed the title fetch toucan tc02tokens and redeem selected token [Glory Agatevure] Week five task May 9, 2023
@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 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 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
📜 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 toucan-dapp/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.2, @rainbow-me/rainbowkit@0.12.12, wagmi@0.12.13
web3@1.8.2 (added) postinstall toucan-dapp/packages/hardhat/package.json via @typechain/web3-v1@6.0.2, hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-bzz@1.3.6 (added) postinstall toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
web3-bzz@1.7.4 (added) postinstall toucan-dapp/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-bzz@1.8.2 (added) postinstall toucan-dapp/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 toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
web3@1.3.6 (added) postinstall toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
web3@1.7.4 (added) postinstall toucan-dapp/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-shh@1.3.6 (added) postinstall toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
web3-shh@1.7.4 (added) postinstall toucan-dapp/packages/hardhat/package.json via hardhat-celo@0.0.3, solidity-coverage@0.7.22
web3-shh@1.8.2 (added) postinstall toucan-dapp/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
es5-ext@0.10.62 (added) postinstall toucan-dapp/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
🫣 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 toucan-dapp/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.2, @rainbow-me/rainbowkit@0.12.12, wagmi@0.12.13
bufferutil@4.0.5 (added) binding.gyp toucan-dapp/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.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
bufferutil@4.0.7 (added) binding.gyp toucan-dapp/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.2, @rainbow-me/rainbowkit@0.12.12, ethers@5.7.2, toucan-sdk@1.0.4-beta, wagmi@0.12.13
ganache@7.7.5 (added) node_modules/@trufflesuite/bigint-buffer/binding.gyp toucan-dapp/packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/keccak/binding.gyp toucan-dapp/packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/leveldown/binding.gyp toucan-dapp/packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/napi-macros/example/binding.gyp toucan-dapp/packages/hardhat/package.json via ganache@7.7.5
ganache@7.7.5 (added) node_modules/secp256k1/binding.gyp toucan-dapp/packages/hardhat/package.json via ganache@7.7.5
keccak@3.0.3 (added) binding.gyp toucan-dapp/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.12.7, 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, toucan-dapp/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.2, @rainbow-me/rainbowkit@0.12.12, wagmi@0.12.13
secp256k1@4.0.3 (added) binding.gyp toucan-dapp/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.12.7, 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
tiny-secp256k1@1.1.6 (added) binding.gyp toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
utf-8-validate@5.0.10 (added) binding.gyp toucan-dapp/packages/react-app/package.json via @celo/rainbowkit-celo@0.11.2, @rainbow-me/rainbowkit@0.12.12, ethers@5.7.2, toucan-sdk@1.0.4-beta, wagmi@0.12.13
utf-8-validate@5.0.7 (added) binding.gyp toucan-dapp/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.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
🍣 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 toucan-dapp/packages/hardhat/package.json
@celo/utils@1.5.2 (added) bip39@git+https://github.com/bitcoinjs/bip39.git#d8ea080a18b40f301d4e2219a2991cd2417e83c2 package.json toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
@celo/utils@1.5.2 (added) bls12377js@git+https://github.com/celo-org/bls12377js.git#cb38a4cfb643c778619d79b20ca3e5283a2122a6 package.json toucan-dapp/packages/hardhat/package.json via @terminal-fi/celo-devchain@4.0.1
📞 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 toucan-dapp/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.62 (added) This package prints a protestware console message on install regarding Ukraine for users with Russian language locale toucan-dapp/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
Pull request alert summary
Issue Status
Install scripts ⚠️ 12 issues
Native code ⚠️ 13 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ⚠️ 3 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ⚠️ 1 issue
Protestware/Troll package ⚠️ 1 issue

📊 Modified Dependency Overview:

➕ Added Package Capability Access +/- Transitive Count Publisher
next@13.2.4 eval, network, filesystem, shell, environment +23 vercel-release-bot
@terminal-fi/celo-devchain@4.0.1 eval, network, filesystem, shell, environment +530 thezviad
ganache@7.7.5 eval, network, filesystem, shell, environment +22 truffle-cicd
hardhat-celo@0.0.3 eval, network, filesystem, shell, environment +838 harpaljadeja
solidity-coverage@0.7.22 eval, network, filesystem, shell, environment +494 cgewecke
@celo/rainbowkit-celo@0.11.2 eval, network, filesystem, shell, environment +449 pputman684
bip39@3.0.4 environment +18 junderw
typescript@4.9.5 network, filesystem, shell, environment +0 typescript-bot
@typechain/web3-v1@6.0.2 eval, network, filesystem, shell, environment +375 ethereum-ts-bot
@redstone-finance/evm-connector@0.0.15 network, filesystem, shell, environment +62 redstone-finance
ethereumjs-util@7.1.5 filesystem, shell, environment +44 holgerd77
@apollo/client@3.7.14 eval, network, filesystem, environment +41 apollo-bot
shelljs@0.8.5 filesystem, shell, environment +19 nfischer
tw-elements@1.0.0-beta2 network, filesystem, shell, environment +99 smolenski-mikolaj
web3@1.8.2 eval, network, filesystem, shell, environment +327 jdevcs
node-watch@0.7.3 filesystem, environment +0 yuanchuan
hardhat-gas-reporter@1.0.9 eval, network, filesystem, shell, environment +459 cgewecke
web3-core@1.8.2 eval, network, filesystem, shell, environment +115 jdevcs
@ethersproject/providers@5.7.2 network, filesystem, shell, environment +35 ricmoo
@ethersproject/bytes@5.7.0 None +1 ricmoo
ts-node@10.9.1 filesystem, shell, environment +18 cspotcode
source-map-support@0.5.21 filesystem +2 linusu
web3-eth-contract@1.8.2 eval, network, filesystem, shell, environment +125 jdevcs
typechain@8.1.1 eval, filesystem, environment +53 ethereum-ts-bot
node-emoji@1.11.0 eval +1 omnidan
@types/mocha@9.1.1 None +0 types
chalk@4.1.2 None +5 sindresorhus
chai@4.3.7 environment +7 chai
ora@5.4.1 environment +29 sindresorhus
ethereumjs-wallet@1.0.2 filesystem, shell, environment +48 ralxz
@ethersproject/abi@5.7.0 network +27 ricmoo
autoprefixer@10.4.14 filesystem, shell, environment +13 ai
fs-extra@10.1.0 filesystem +2 ryanzim
hardhat@2.12.7 eval, network, filesystem, shell, environment +286 alcuadrado
@nomiclabs/hardhat-etherscan@3.1.6 eval, network, filesystem, shell, environment +306 alcuadrado
@typechain/ethers-v5@10.2.0 eval, network, filesystem, shell, environment +100 ethereum-ts-bot
dotenv@16.0.3 filesystem, environment +0 motdotla
postcss@8.4.21 filesystem, environment +3 ai
@nomicfoundation/hardhat-network-helpers@1.0.8 eval, network, filesystem, shell, environment +288 alcuadrado
commander@9.5.0 filesystem, shell, environment +0 abetomo
eslint@8.36.0 eval, filesystem, shell, environment +95 eslintbot
react-dom@18.2.0 filesystem, environment +4 gnoff
eslint-config-next@13.2.4 eval, filesystem, shell, environment +237 vercel-release-bot
@nomiclabs/hardhat-ethers@2.2.2 eval, network, filesystem, shell, environment +302 fvictorio
@rainbow-me/rainbowkit@0.12.12 eval, network, filesystem, shell, environment +327 danielsinclair
hardhat-deploy@0.11.23 eval, network, filesystem, shell, environment +100 wighawag
tailwindcss@3.3.2 network, filesystem, shell, environment +98 adamwathan
@typechain/hardhat@6.1.5 eval, network, filesystem, shell, environment +335 ethereum-ts-bot
@types/react-dom@18.0.11 None +4 types
ethers@5.7.2 network, filesystem, shell, environment +94 ricmoo
@nomicfoundation/hardhat-chai-matchers@1.0.6 eval, network, filesystem, shell, environment +315 alcuadrado
inquirer@8.2.5 eval, network, filesystem, shell, environment +51 sboudrias
react@18.2.0 filesystem, environment +2 gnoff
yargs@17.5.1 filesystem, environment +15 oss-bot
axios@1.4.0 network, filesystem, environment +8 jasonsaayman
wagmi@0.12.13 eval, network, filesystem, shell, environment +295 awkweb
@headlessui/react@1.7.14 filesystem, environment +6 malfaitrobin
@types/react@18.0.27 None +3 types
@types/node@18.11.18 None +0 types

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.

2 participants