devplatform-create-nx-spa (npm) · Malicious Code
Affects devplatform-create-nx-spaSource GCVE Database
Malicious package : remove devplatform-create-nx-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-12707
What to do
Remove devplatform-create-nx-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-create-nx-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 npm package devplatform-create-nx-spa version 35.4.9 contains malicious code that, upon loading, silently downloads and executes an unsigned binary from attacker-controlled Cloudflare Workers and fallback DNS-TXT channels. This behavior is disguised as analytics and uses obfuscation techniques to evade detection. The malicious binary is written to temporary system directories and executed detached from the main process, enabling remote code execution on the host system.