Skip to main content
MalwarePublished

reactjs-risk (npm) · Malicious Code

Affects reactjs-riskSource GCVE Database

0

Malicious package : remove reactjs-risk and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:27 UTC

Classification

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

ProductAffectedFixed in
npmreactjs-riskAffected
  • 99.9.9 – 99.17.4
6 affected builds
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

Community reviews

Loading reviews…