MAL-2026-14211 Malicious code in sw-pluginer (npm)
Malicious package
Published
MAL-2026-14211 is a malicious package: sw-pluginer (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14211/ (Markdown: https://insights.sbomify.com/MAL-2026-14211/index.md)
- Package
- sw-pluginer
- Registry
- npm
What is MAL-2026-14211?
MAL-2026-14211 is a malicious package in sw-pluginer, published on 19 Aug 2026.
Official description
sw-pluginer presents itself as a Tailwind plugin for service worker registration, but its main export — invoked when Tailwind processes its config via require('sw-pluginer') — reads a URL from a staged file at node_modules/.bin/manifest.json, performs an HTTP GET to that URL, and passes the response body directly to eval() in the Node build process. The staging file is written by a separate dropper component and is unlinked after being read, hiding the payload destination from static inspection of the sw-pluginer tarball itself. The fetched code is not pinned, hashed, or signature-verified, and it is executed in the developer's Node environment (not in a browser as service worker code) — so whoever controls the staged manifest.json obtains arbitrary code execution on the developer machine at build time. The self-deleting indirection through node_modules/.bin/manifest.json plus eval of unverified network-fetched JavaScript is a covert dropper mechanism, not service worker registration.
What should I do about MAL-2026-14211?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.