MAL-2025-22212 Malicious code in hardhat-contract-deploy (npm)

Malicious package Published
Package
hardhat-contract-deploy
Registry
npm

What is MAL-2025-22212?

MAL-2025-22212 is a malicious package in hardhat-contract-deploy, published on 14 Aug 2025.

Official description

The package hardhat-contract-deploy was found to contain malicious code.

What should I do about MAL-2025-22212?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-22212 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free