MAL-2025-14554 Malicious code in ansi-codes (npm)

Malicious package Published
Package
ansi-codes
Registry
npm

What is MAL-2025-14554?

MAL-2025-14554 is a malicious package in ansi-codes, published on 14 Aug 2025.

Official description

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

What should I do about MAL-2025-14554?

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

Sources

Is MAL-2025-14554 in your software?

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

Check your SBOMs for free