build-with-celo-hackathon icon indicating copy to clipboard operation
build-with-celo-hackathon copied to clipboard

Event hub

Open cjustinobi opened this issue 3 years ago • 3 comments

What this PR does Added the README and LICENSE files

cjustinobi avatar Sep 30 '22 12:09 cjustinobi

⚠️ GitGuardian has uncovered 14 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
- Bearer Token e8058e5b1d3b3f50e7246eef082dc2ea482b5c40 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token e8058e5b1d3b3f50e7246eef082dc2ea482b5c40 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token e8058e5b1d3b3f50e7246eef082dc2ea482b5c40 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token 0148f0ca7ad8033095e85535547859d0b8736694 EVENT_HUB/src/pages/Home/index.js View secret
- Bearer Token 0148f0ca7ad8033095e85535547859d0b8736694 EVENT_HUB_OLD/src/utils/ipfs.js View secret
- Bearer Token 0148f0ca7ad8033095e85535547859d0b8736694 EVENT_HUB_OLD/src/utils/ipfs.js View secret
- Bearer Token 0148f0ca7ad8033095e85535547859d0b8736694 EVENT_HUB_OLD/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB/src/pages/Home/index.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB_OLD/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB_OLD/src/utils/ipfs.js View secret
- Bearer Token 84e7c78cac7513a4ec9d9f48dee6c11239a6bd73 EVENT_HUB_OLD/src/utils/ipfs.js View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

gitguardian[bot] avatar Oct 15 '22 09:10 gitguardian[bot]

🚨 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
Native code bigint-buffer 1.1.5
Install scripts bigint-buffer 1.1.5
  • Install script: install
  • Source: npm run rebuild || echo "Couldn't build bindings. Non-native version used."
Native code bufferutil 4.0.7
Native code classic-level 1.2.0
Native code keccak 3.0.2
Native code secp256k1 4.0.3
Native code utf-8-validate 5.0.10
Install scripts web3-bzz 1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-bzz api will be deprecated in the next version"
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"
Install scripts web3-shh 1.3.6
  • Install script: postinstall
  • Source: echo "WARNING: the web3-shh api will be deprecated in the next version"
Install scripts core-js 3.25.5
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts core-js-pure 3.25.5
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts es5-ext 0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
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

Next steps

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.

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 [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

socket-security[bot] avatar Oct 15 '22 09:10 socket-security[bot]

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

Packages Version New capabilities Transitives Size Publisher
react-scripts 5.0.1 eval, network, filesystem, shell, environment +1105 188 MB iansu
crypto-browserify 3.12.0 filesystem, environment +38 994 kB cwmma
react-app-rewired 2.2.1 eval, network, filesystem, shell, environment +1107 188 MB timarney
react-router-dom 6.4.2 network, filesystem, environment +7 6.95 MB mjackson
url 0.11.0 None +1 99.7 kB defunctzombie
hardhat 2.12.0 eval, network, filesystem, shell, environment +300 144 MB fvictorio
react-dom 18.2.0 filesystem, environment +4 4.93 MB gnoff
os-browserify 0.3.0 None +0 2.74 kB coderpuppy
stream-browserify 3.0.0 environment +5 190 kB goto-bus-stop
https-browserify 1.0.0 network +0 2.79 kB feross
web3 1.3.6 eval, network, filesystem, shell, environment +347 40.7 MB spacesailor
@celo/react-celo 4.2.1 eval, network, filesystem, shell, environment +573 105 MB aaron-clabs
@nomicfoundation/hardhat-toolbox 2.0.0 eval, network, filesystem, shell, environment +599 218 MB fvictorio
path-browserify 1.0.1 None +0 54.3 kB goto-bus-stop
@testing-library/react 13.4.0 eval, filesystem, environment +32 12.5 MB testing-library-bot
assert 2.0.0 eval, environment +31 3.29 MB lukechilds
react 18.2.0 filesystem, environment +2 337 kB gnoff
stream-http 3.2.0 network, environment +7 216 kB jhiesey
@testing-library/jest-dom 5.16.5 eval, filesystem, environment +47 6.89 MB testing-library-bot
axios 0.27.2 network, filesystem, environment +7 788 kB jasonsaayman
@testing-library/user-event 13.5.0 eval, filesystem, environment +28 3.69 MB testing-library-bot
@celo/contractkit 2.2.0 eval, network, filesystem, shell, environment +373 50.2 MB aaron-clabs
dotenv 16.0.3 filesystem, environment +0 36.6 kB motdotla
web-vitals 2.1.4 None +0 145 kB philipwalton

socket-security[bot] avatar Jul 16 '23 14:07 socket-security[bot]