Skip to main content
MalwarePublished

sw-pluginer (npm) · Malicious Code

Affects sw-pluginerSource GCVE Database

0

Malicious package : remove sw-pluginer and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:39 UTC

Classification

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

ProductAffectedFixed in
npmsw-pluginerAffected
  • 1.0.0 – 1.2.0
5 affected builds
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.

References

Community reviews

Loading reviews…