hardhat-bits
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for hardhat-bits@2.21.0, the only known version.
AI Security Review
scanned 15d ago · by lpm-firewall-aiThe package entrypoint loads a heavily obfuscated module that invokes shell execution and includes network capability. This concrete, reachable behavior warrants blocking despite the exact command and endpoint being obscured.
Decision evidence
public snapshot- `index.js` imports `lib/config.js` at module load, making the obfuscated file reachable from the declared entrypoint.
- `lib/config.js` uses heavily obfuscated code and imports OS, filesystem, path, and child-process APIs.
- `lib/config.js` invokes `execSync` with an obfuscated command assembled from helper calls.
- `lib/config.js` imports Axios and constructs obfuscated URL strings, supporting network-capable behavior.
Source & flagged code
7 flagged · loading source`index.js` imports `lib/config.js` at module load, making the obfuscated file reachable from the declared entrypoint.
index.jsView on unpkg · L3Source downloads or fetches remote code and executes it.
lib/config.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to hardhat-bits@2.21.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing hardhat-bits@2.21.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.