Skip to main content
MalwarePublished

devplatform-react-scripts (npm) · Malicious Code

Affects devplatform-react-scriptsSource GCVE Database

0

Malicious package : remove devplatform-react-scripts and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 16:35 UTC

Classification

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

ProductAffectedFixed in
npmdevplatform-react-scriptsAffected
  • =35.2.9
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.

References

Community reviews

Loading reviews…