hardhat-plus
This report shows the evidence for hardhat-plus@2.21.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 18d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-17508 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
Source inspection establishes obscured shell and network behavior reachable through an imported module, supporting a warning. The inspected evidence does not establish malicious commands or an unauthorized recipient strongly enough to justify blocking.
Independent scan evidence
public snapshot- package.json selects index.js as the entrypoint; index.js immediately loads lib/config.js.
- lib/config.js contains synchronous shell command calls with deliberately obscured command strings.
- lib/config.js includes host information collection and an Axios request carrying constructed data; the destination and effective activation remain obscured.
- package.json has no automatic install lifecycle hooks or runtime self-dependency.
- Inspected source does not establish the decoded commands, network destination, credential theft, or a complete malicious execution chain.
Source & flagged code
7 flagged · loading sourcepackage.json selects index.js as the entrypoint; index.js immediately loads lib/config.js.
index.jsView on unpkg · L6Source downloads or fetches remote code and executes it.
lib/config.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to hardhat-plus@2.21.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing hardhat-plus@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.