Skip to main content
MalwarePublished Updated

testing-react-dom (npm) · Malicious Code

Affects testing-react-domSource GCVE Database

0

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

Data as of 29 Oct 2026, 23:25 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-48938

What to do

Remove testing-react-dom 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
npmtesting-react-domAffected–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 'testing-react-dom' was found to contain malicious code. Installation or execution of this package can lead to full compromise of the affected computer. Secrets and keys stored on the compromised system should be rotated immediately from a secure, unaffected machine. Removal of the package alone may not eliminate all malicious components due to potential persistent control by attackers.

References

Community reviews

Loading reviews…