MAL-2025-34281 Malicious code in swap_middleware (npm)

Malicious package Published
Package
swap_middleware
Registry
npm

What is MAL-2025-34281?

MAL-2025-34281 is a malicious package in swap_middleware, published on 14 Aug 2025.

Official description

The package swap_middleware was found to contain malicious code.

What should I do about MAL-2025-34281?

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

Sources

Is MAL-2025-34281 in your software?

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

Check your SBOMs for free