devplatform-spa-errors (npm) · Malicious Code
Affects devplatform-spa-errorsSource GCVE Database
Malicious package : remove devplatform-spa-errors and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:37 UTC
Malicious package
Published to npm · OSV MAL-2026-13545
What to do
Remove devplatform-spa-errors 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-errors | 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-errors npm package version 35.5.7 contains malicious code that, upon being required, downloads and executes attacker-controlled native binaries from multiple obfuscated Cloudflare Workers subdomains and fallback DNS-TXT channels. The payload is saved to temporary files disguised with benign names and executed detached from the main process. The package also includes a decoy telemetry module that duplicates the dropper behavior to evade detection. This results in arbitrary native code execution on the host system without integrity verification.