Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in react-table-core (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:47:52 UTC)
Source: GCVE Database
Product: react-table-core

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.

Affected software

npmghsa
react-table-core
Affected versions
=2.7.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 17:26:36 UTC

Technical Analysis

The 'react-table-core' npm package (version 2.7.1) includes a malicious preinstall script disguised as a TypeScript declaration file ('index.d.js'). During 'npm install', this loader decrypts an AES-256-CBC ciphertext constructed from metadata fields in a configuration file using a hardcoded key and IV, then executes the decrypted code via eval. The use of obfuscation techniques such as splitting ciphertext across metadata fields, hiding the loader behind a '.d.js' extension, and reconstructing 'eval' from character codes indicates deliberate evasion. This package is a typosquatting attempt on the legitimate 'react-table' and '@tanstack/react-table' libraries, with mismatched README branding to mislead users. No patch or fix is currently documented.

Potential Impact

Any system that installs 'react-table-core' version 2.7.1 is subject to arbitrary code execution by the attacker, potentially compromising the host environment. This can lead to full system compromise, data theft, or further malware deployment. The malicious code executes automatically during package installation, increasing risk to developers and CI/CD pipelines that fetch this package.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package. Users should avoid installing 'react-table-core' version 2.7.1 and verify package authenticity before installation. Remove any installations of this package from projects and dependency trees. Use trusted package sources and consider implementing package integrity verification mechanisms such as checksums or signing. Monitor for and block typosquatting packages in your supply chain.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12425
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735745bf8831d539159f5c

Added to database: 08/05/2026, 15:31:17 UTC

Last enriched: 08/05/2026, 17:26:36 UTC

Last updated: 08/05/2026, 17:26:36 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses