react-paginate-v5 (npm) · Malicious Code
Affects react-paginate-v5Source GCVE Database
Malicious package : remove react-paginate-v5 and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:43 UTC
Malicious package
Published to npm · OSV MAL-2026-17777
What to do
Remove react-paginate-v5 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 |
|---|---|---|
| npmreact-paginate-v5 | 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 react-paginate-v5@99.0.0 is a malicious package designed as a dependency confusion probe. It masquerades under a name similar to the legitimate react-paginate package but uses an implausibly high version number to override internal packages. Upon installation, it executes a preinstall script that performs a DNS lookup to an attacker-controlled domain, confirming the package's installation and revealing resolver metadata. The package has no legitimate functionality and can potentially execute arbitrary shell commands during installation.