eslint-plugin-react-hooks-published (npm) · Malicious Code
Affects eslint-plugin-react-hooks-publishedSource GCVE Database
Malicious package : remove eslint-plugin-react-hooks-published and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 03:54 UTC
Malicious package
Published to npm · OSV MAL-2025-191488
What to do
Remove eslint-plugin-react-hooks-published 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 |
|---|---|---|
| npmeslint-plugin-react-hooks-published | 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 eslint-plugin-react-hooks-published versions 5.0.0 and 9.1.0 contains malicious code that communicates with a domain linked to malicious activity and executes commands associated with harmful behavior. Computers with this package installed should be considered fully compromised, and all secrets and keys stored on those systems must be rotated immediately from a different, secure device. Removal of the package alone does not guarantee elimination of all malicious software introduced by it.