Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neutral #98

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

neutral #98

wants to merge 11 commits into from

Conversation

mayur-samrutwar
Copy link

team - web3000
project - neutral

@gitguardian
Copy link

gitguardian bot commented Nov 14, 2022

⚠️ GitGuardian has uncovered 5 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 High Entropy Secret 3287746 NEUTRAL/pages/index.js View secret
- Generic High Entropy Secret 3287746 NEUTRAL/pages/result.js View secret
- Generic High Entropy Secret ef06351 NEUTRAL/pages/result.js View secret
- Generic High Entropy Secret 715fac3 NEUTRAL/pages/index.js View secret
- Generic High Entropy Secret 715fac3 NEUTRAL/pages/index.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!

@socket-security
Copy link

socket-security bot commented Nov 14, 2022

Socket Security Pull Request Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 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) binding.gyp NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], @nomicfoundation/[email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected],NEUTRAL/contracts/package.json via [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected]
[email protected] (added) postinstall NEUTRAL/package.json via @celo/[email protected], [email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected],NEUTRAL/contracts/package.json via [email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) postinstall NEUTRAL/package.json via @celo/[email protected]
[email protected] (added) postinstall NEUTRAL/package.json via @celo/[email protected], [email protected]
[email protected] (added) postinstall NEUTRAL/package.json via [email protected], [email protected], [email protected], @babel/[email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected], @nomicfoundation/[email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) install NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
[email protected] (added) postinstall NEUTRAL/package.json via @celo/[email protected], [email protected], [email protected], [email protected], [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 NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], @nomicfoundation/[email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected],NEUTRAL/contracts/package.json via [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], @coinbase/[email protected], @solana/[email protected],NEUTRAL/contracts/package.json via [email protected], @nomicfoundation/[email protected], [email protected]
[email protected] (added) binding.gyp NEUTRAL/package.json via [email protected], [email protected],NEUTRAL/contracts/package.json via [email protected], [email protected]
😵‍💫 Bin script confusion

This package has multiple bin scripts with the same name. This can cause non-deterministic behavior when installing or could be a sign of a supply chain attack

Consider removing one of the conflicting packages. Packages should only export bin scripts with their name

Package Bin script Source
@nomicfoundation/[email protected] (added) rlp NEUTRAL/package.json via [email protected],NEUTRAL/contracts/package.json via [email protected]
[email protected] (added) rlp NEUTRAL/package.json via @celo/[email protected], @celo/[email protected], [email protected],NEUTRAL/contracts/package.json via @nomicfoundation/[email protected], @nomicfoundation/[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 NEUTRAL/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 NEUTRAL/package.json via @celo/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Pull request report summary
Issue Status
Install scripts ⚠️ 17 issues
Native code ⚠️ 6 issues
Bin script confusion ⚠️ 2 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ⚠️ 1 issue
Protestware/Troll package ⚠️ 1 issue
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] [email protected]

Powered by 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.

None yet

1 participant