devplatform-spa-plugin-s3-module-loader (npm) · Malicious Code
Affects devplatform-spa-plugin-s3-module-loaderSource GCVE Database
Malicious package : remove devplatform-spa-plugin-s3-module-loader and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-12779
What to do
Remove devplatform-spa-plugin-s3-module-loader 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-s3-module-loader | 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-s3-module-loader version 35.8.2 contains malicious code that, upon requiring the package, downloads and executes obfuscated payloads from multiple Cloudflare Workers hosts. It writes these payloads to hidden temporary files and executes them on the host system, bypassing normal package functionality. The payload delivery can also fallback to DNS-over-TXT record retrieval if HTTPS delivery is blocked. The malicious behavior is unrelated to the package's stated purpose and is fully controlled and obfuscated by the attacker.