hardhat-deploy-notification (npm) · Malicious Code
Affects hardhat-deploy-notificationSource GCVE Database
Malicious package : remove hardhat-deploy-notification and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:22 UTC
Malicious package
Published to npm · OSV MAL-2025-5559
What to do
Remove hardhat-deploy-notification from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhardhat-deploy-notification | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The hardhat-deploy-notification npm package versions 1.0.5 through 1.0.8 contain malicious code that fully compromises any computer on which it is installed or running. This compromise allows an outside entity potential full control over the affected system. Immediate removal of the package and rotation of all secrets and keys from a different, uncompromised computer is strongly advised.
References
- github.com/advisories/GHSA-j2f6-36f6-p5x4 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-HARDHATDEPLOYNOTIFICATION-10587836 (opens in a new tab)
- npmjs.com/package/hardhat-deploy-notification (opens in a new tab)
- socket.dev/blog/north-korea-contagious-interview-campaign-338-malicious-npm-packages (opens in a new tab)