MAL-2025-6025 Malicious code in napi-postinstall (npm)

Malicious package Published
Package
napi-postinstall
Registry
npm

What is MAL-2025-6025?

MAL-2025-6025 is a malicious package in napi-postinstall, published on 21 Jul 2025.

Official description

This package installs a windows based malware file node-gyp.dll via install.js

What should I do about MAL-2025-6025?

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

Sources

Is MAL-2025-6025 in your software?

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

Check your SBOMs for free