LWA-2026-14275 MAL-2026-14211 ↗ confirmed malware

sw-pluginer@1.0.0

Malicious code in sw-pluginer (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1070.004 · File Deletion

Analysis

sw-pluginer@1.0.0 is published as a Tailwind CSS plugin that "automatically registers a service worker from a cached manifest", but its plugin entrypoint executes remote code in the consumer's build process. On load, index.js calls lib/manifest-reader.js, which reads a staging file at node_modules/.bin/manifest.json, immediately deletes it with fs.unlinkSync(), and returns the "path" string from it. index.js passes that value to lib/worker-fetcher.js, which performs an http/https GET against it with no host allowlist, accepts any response whose content-type contains "javascript" or "text/plain", logs the URL to the console, and returns the body. lib/register-worker.js then runs eval() on the downloaded body inside the Tailwind build, giving whoever controls the manifest URL arbitrary code execution in the developer or CI environment and any credentials available there. The package ships no callback endpoint of its own and no obfuscated or encoded strings; the remote address is supplied entirely by the dropped node_modules/.bin/manifest.json file, which the loader consumes and removes, so it has no self-contained network IOC. There is no repository field, no lifecycle script and no dependency tree backing the described functionality.

analyzed by
Leitwacht
first seen
Nov 17, 2026, 03:35 PM
analyzed
Nov 18, 2026, 12:09 AM
weekly installs
126

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.