reactjs-risk (npm) · Malicious Code
Affects reactjs-riskSource GCVE Database
Malicious package : remove reactjs-risk and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:27 UTC
Malicious package
Published to npm · OSV MAL-2026-17339
What to do
Remove reactjs-risk 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 |
|---|---|---|
| npmreactjs-risk | 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 'reactjs-risk' versions 99.17.1 and 99.17.2 contains malicious code that executes during installation. Its preinstall script collects host identity metadata including hostname, username, and platform, encodes this data, and sends it via DNS lookup to a third-party domain without user consent. The package's main entry point is a non-functional stub, indicating the sole purpose is to exfiltrate installer information. This behavior is deliberately obfuscated to evade detection.
References
- npmjs.com/package/reactjs-risk/v/99.17.2 (opens in a new tab)
- npmjs.com/package/reactjs-risk/v/99.17.1 (opens in a new tab)
- npmjs.com/package/reactjs-risk/v/99.9.9 (opens in a new tab)
- npmjs.com/package/reactjs-risk/v/99.17.4 (opens in a new tab)
- npmjs.com/package/reactjs-risk/v/99.12.0 (opens in a new tab)
- npmjs.com/package/reactjs-risk/v/99.17.0 (opens in a new tab)