npm · Malicious package advisory
Malwarehardhat-common
MAL-2026-3712
Malicious code in hardhat-common (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ossf-package-analysis (b72f90917aaff5b42d639bff4d28227b0cd2105ce4d2b109577a76b9d7003ecc) The OpenSSF Package Analysis project identified 'hardhat-common' @ 2.0.0 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
Compromised versions (2)
- 2.0.0
- 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.