devplatform-spa-plugin-auth (npm) · Malicious Code
Affects devplatform-spa-plugin-authSource GCVE Database
Malicious package : remove devplatform-spa-plugin-auth and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:42 UTC
Malicious package
Published to npm · OSV MAL-2026-12761
What to do
Remove devplatform-spa-plugin-auth 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-auth | 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-plugin-auth version 35.4.5 contains malicious code that, upon loading, fetches and executes an attacker-controlled native binary from multiple remote hosts. This behavior is unexpected for an SPA auth-token plugin and results in full host code execution on any machine using this package version. The malicious payload is downloaded via HTTPS or DNS TXT record fallback, saved to temporary storage, given execute permissions, and run silently in the background. No official patch or remediation guidance is currently provided.