sw-pluginer (npm) · Malicious Code
Affects sw-pluginerSource GCVE Database
Malicious package : remove sw-pluginer and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:39 UTC
Malicious package
Published to npm · OSV MAL-2026-14211
What to do
Remove sw-pluginer from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmsw-pluginer | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package sw-pluginer masquerades as a Tailwind plugin but contains malicious code that executes arbitrary JavaScript fetched from a URL specified in a transient manifest.json file. This file is staged in node_modules/.bin and deleted after reading, concealing the payload source. The fetched code is executed via eval() in the Node.js build environment without any integrity checks, enabling remote code execution on the developer's machine during build time.