devplatform-cli-spa (npm) · Malicious Code
Affects devplatform-cli-spaSource GCVE Database
Malicious package : remove devplatform-cli-spa and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:29 UTC
Malicious package
Published to npm · OSV MAL-2026-12704
What to do
Remove devplatform-cli-spa 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-cli-spa | 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-cli-spa npm package version 35.7.8 contains malicious code that downloads and executes a native binary payload based on the operating system and architecture. The payload is fetched from obfuscated Cloudflare Workers hostnames and a DNS TXT base64 fallback, then saved to temporary directories and executed with elevated permissions. The malware uses runtime string assembly to evade static detection and employs decoy filenames and execution gating to avoid repeated runs across installs.