devplatform-spa-plugin-query (npm) · Malicious Code
Affects devplatform-spa-plugin-querySource GCVE Database
Malicious package : remove devplatform-spa-plugin-query and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:45 UTC
Malicious package
Published to npm · OSV MAL-2026-12774
What to do
Remove devplatform-spa-plugin-query 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-query | 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-query npm package version 35.8.5 contains malicious code that, upon being required, downloads and executes a platform-specific payload from a command-and-control server. The payload is fetched over HTTPS without any hash or signature verification and is executed with elevated permissions. A covert DNS-TXT fallback channel is also used to retrieve data if HTTPS is blocked. This behavior enables remote code execution through the malicious package.