react-table-core (npm) · Malicious Code
Affects react-table-coreSource GCVE Database
Malicious package : remove react-table-core and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 17:26 UTC
Malicious package
Published to npm · OSV MAL-2026-12425
What to do
Remove react-table-core 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-table-core | 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-table-core' version 2.7.1 contains malicious code that executes arbitrary attacker-controlled commands on any machine that installs it. The package disguises an executable loader as a TypeScript declaration file and decrypts hidden ciphertext at install time, passing the decrypted code to eval. This package is a typosquatting attempt targeting the popular 'react-table' libraries, using misleading README content to lure users. There is no official patch or remediation information available.