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

update

Open Ankush263 opened this issue 2 years ago • 2 comments

Ankush263 avatar Jun 01 '23 16:06 Ankush263

⚠️ GitGuardian has uncovered 6 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
- Generic Password a208c31b453ecd12a3192e97e794911305b3124c PROJECT_NAME/main_page.tsx View secret
- Generic Password a208c31b453ecd12a3192e97e794911305b3124c PROJECT_NAME/main_page.tsx View secret
- Generic Password 31c49c6d9162ecd1a8cf328d882c76fbab53c175 FOW FR/main_page.tsx View secret
- Generic Password 31c49c6d9162ecd1a8cf328d882c76fbab53c175 FOW FR/main_page.tsx View secret
- Generic High Entropy Secret 68ceb8cfd493488cf22e64c46f24cb19812447df FOW FR/fow_client/pages/api/pinata.ts View secret
- Generic High Entropy Secret 08d63d743ddd5a7841d0943afaf96534ecd8ab73 FOW FR/fow_client/pages/api/pinata.ts 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 Jun 01 '23 16:06 gitguardian[bot]

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

📜 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
[email protected] (added) install FOW FR/fow_client/package-lock.json via @celo/[email protected], @rainbow-me/[email protected], [email protected]
[email protected] (added) postinstall FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) postinstall FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) postinstall FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) postinstall FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
🫣 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
[email protected] (added) binding.gyp FOW FR/fow_client/package-lock.json via @celo/[email protected], @rainbow-me/[email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/fow_client/package-lock.json via @celo/[email protected], @rainbow-me/[email protected], [email protected], [email protected], [email protected]
[email protected] (added) node_modules/keccak/binding.gyp FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/package-lock.json via @nomicfoundation/[email protected], @nomiclabs/[email protected], @nomiclabs/[email protected], [email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/fow_client/package-lock.json via @celo/[email protected], @rainbow-me/[email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/package-lock.json via @nomicfoundation/[email protected], @nomiclabs/[email protected], @nomiclabs/[email protected], [email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/fow_client/package-lock.json via @celo/[email protected], @rainbow-me/[email protected], [email protected], [email protected], [email protected]
[email protected] (added) binding.gyp FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
🍣 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
[email protected] (added) ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git package.json FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
📞 Telemetry

This package contains telemetry which tracks you.

Package Note Source
[email protected] (added) Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 FOW FR/fow_client/package-lock.json, FOW FR/fow_client/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
[email protected] (added) This package prints a protestware console message on install regarding Ukraine for users with Russian language locale FOW FR/package-lock.json via @nomiclabs/[email protected], [email protected]
Pull request alert summary
Issue Status
Install scripts ⚠️ 5 issues
Native code ⚠️ 10 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ⚠️ 1 issue
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ⚠️ 1 issue
Protestware/Troll package ⚠️ 1 issue
AI detected security risk ✅ 0 issues
AI warning ✅ 0 issues

📊 Modified Dependency Overview:

➕ Added Package Capability Access +/- Transitive Count Publisher
[email protected] eval, network, filesystem, shell, environment +29 vercel-release-bot
[email protected] None +0 ehsalazar
@nomiclabs/[email protected] eval, network, filesystem, shell, environment +1043 alcuadrado
[email protected] eval, network, filesystem, shell, environment +209 vercel-release-bot
[email protected] eval, network, filesystem, shell, environment +1 fritzy
[email protected] eval, network, filesystem, shell, environment +296 fvictorio
@types/[email protected] None +0 types
[email protected] filesystem, shell, environment +76 adamwathan
@mui/[email protected] filesystem, shell, environment +119 mnajdova
@nomicfoundation/[email protected] eval, network, filesystem, shell, environment +614 fvictorio
[email protected] filesystem +0 typescript-bot
@celo/[email protected] eval, network, filesystem, shell, environment +295 pputman684
@types/[email protected] None +4 types
[email protected] None +0 benjamn
[email protected] network, filesystem, shell, environment +15 jmoxey
@nomiclabs/[email protected] eval, network, filesystem, shell, environment +313 fvictorio
@types/[email protected] None +3 types
@emotion/[email protected] filesystem, shell, environment +95 emotion-release-bot
[email protected] network, filesystem +5 niftylettuce
@emotion/[email protected] filesystem, shell, environment +97 emotion-release-bot
[email protected] eval, filesystem, shell, environment +96 eslintbot
[email protected] filesystem, shell, environment +13 ai
@mui/[email protected] filesystem, shell, environment +120 hbjorbj
[email protected] eval, network, filesystem, shell, environment +874 ethworks
[email protected] filesystem, environment +3 ai
@rainbow-me/[email protected] eval, network, filesystem, shell, environment +293 danielsinclair
[email protected] filesystem, environment +4 gnoff
[email protected] network, environment +7 jasonsaayman
[email protected] network, filesystem, shell, environment +91 ricmoo
[email protected] filesystem, environment +2 gnoff
[email protected] filesystem, environment +0 motdotla
[email protected] eval, network, filesystem, shell, environment +263 awkweb

socket-security[bot] avatar Jun 01 '23 16:06 socket-security[bot]