MAL-2025-3541 Malicious code in express-cookie-parser (npm)

Malicious package Published
Package
express-cookie-parser
Registry
npm

What is MAL-2025-3541?

MAL-2025-3541 is a malicious package in express-cookie-parser, published on 23 Apr 2025.

Official description

This package impersonates the popular 'cookie-parser' package. Remote code execution, persistence, self-deletion, and obfuscation found in the package's code confirm its malicious nature.

What should I do about MAL-2025-3541?

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

Sources

Is MAL-2025-3541 in your software?

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

Check your SBOMs for free