devplatform-spa-plugin-module-loader (npm) · Malicious Code
Affects devplatform-spa-plugin-module-loaderSource GCVE Database
Malicious package : remove devplatform-spa-plugin-module-loader and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:44 UTC
Malicious package
Published to npm · OSV MAL-2026-12772
What to do
Remove devplatform-spa-plugin-module-loader 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-loader | 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-loader npm package version 35.8.5 contains malicious code that, upon require, downloads and executes a platform-specific binary from obfuscated and anonymous Cloudflare Workers hosts. The binary is saved to temporary system directories and executed in a detached process. The code uses DNS-TXT record fallback and obfuscation techniques to evade detection. The behavior is disguised as telemetry with an opt-out environment variable, but no legitimate telemetry code is present. This is a supply chain compromise involving a malicious package.