MAL-2025-47431 Malicious code in ansi-styl (npm)

Malicious package Published
Package
ansi-styl
Registry
npm

What is MAL-2025-47431?

MAL-2025-47431 is a malicious package in ansi-styl, published on 17 Sep 2025.

Official description

The package ansi-styl was found to contain malicious code.

What should I do about MAL-2025-47431?

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

Sources

Is MAL-2025-47431 in your software?

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

Check your SBOMs for free