devplatform-spa-plugin-module (npm) · Malicious Code
Affects devplatform-spa-plugin-moduleSource GCVE Database
Malicious package : remove devplatform-spa-plugin-module and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:43 UTC
Malicious package
Published to npm · OSV MAL-2026-12771
What to do
Remove devplatform-spa-plugin-module 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 |
|---|---|---|
| npmdevplatform-spa-plugin-module | 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 devplatform-spa-plugin-module npm package version 35.7.9 contains malicious code that acts as an install-time dropper. Upon requiring the package, it reconstructs hostnames to download an opaque binary payload from Cloudflare Workers subdomains or, if that fails, retrieves the payload via DNS TXT record chunks from a fallback domain. The payload is saved to temporary directories under disguised filenames, made executable, and then executed detached from the main process. This behavior enables arbitrary attacker code execution on any machine that installs or requires this package.