devplatform-react-scripts (npm) · Malicious Code
Affects devplatform-react-scriptsSource GCVE Database
Malicious package : remove devplatform-react-scripts and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:35 UTC
Malicious package
Published to npm · OSV MAL-2026-12741
What to do
Remove devplatform-react-scripts 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-react-scripts | 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-react-scripts version 35.2.9 contains malicious code that executes arbitrary attacker binaries on the host machine. Upon loading, it reconstructs obfuscated Cloudflare Workers hostnames and uses a DNS-TXT base64 fallback to fetch a platform-specific binary. This binary is saved to temporary directories, given executable permissions, and executed detached from the main process. The package masquerades as a react-scripts adapter, but its actual behavior is to run opaque malicious code. Telemetry mechanisms are included with opt-out environment variables. Any user installing and requiring this package version is at risk of arbitrary code execution.