devplatform-spa-plugin-feature-toggle (npm) · Malicious Code
Affects devplatform-spa-plugin-feature-toggleSource GCVE Database
Malicious package : remove devplatform-spa-plugin-feature-toggle and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:36 UTC
Malicious package
Published to npm · OSV MAL-2026-13546
What to do
Remove devplatform-spa-plugin-feature-toggle 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-feature-toggle | 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-feature-toggle version 35.7.4 contains malicious code that executes attacker-controlled binaries on the host system during module import. It downloads OS-specific executables from suspicious Cloudflare Workers and a dynamic DNS domain, writes them to temporary directories, sets executable permissions, and runs them detached. The package disguises this behavior under misleading names like "analytics_state" and "telemetry" which do not align with its advertised functionality. No integrity checks or pinning are performed on the downloaded payloads.