devplatform-spa-testing (npm) · Malicious Code
Affects devplatform-spa-testingSource GCVE Database
Malicious package : remove devplatform-spa-testing and rotate any secrets on hosts that installed it.
Data as of 20 Aug 2026, 16:58 UTC
Malicious package
Published to npm · OSV MAL-2026-12784
What to do
Remove devplatform-spa-testing 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-testing | 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-spa-testing' version 35.8.6 contains malicious code that, when imported, downloads and executes attacker-controlled payloads on the victim's machine. The payload is fetched from obfuscated command-and-control (C2) hostnames and executed with elevated permissions, potentially compromising the entire system. Removal of the package does not guarantee full remediation due to possible persistent malicious software installed during execution.