Malicious code in markdown-editable-table (npm)
The npm package 'markdown-editable-table' versions 2.4.2, 2.4.3, and 2.4.4 contains malicious code that executes arbitrary JavaScript during installation via a preinstall hook. This code fetches and evaluates attacker-controlled scripts from a remote URL, effectively compromising the host machine. The package impersonates the legitimate 'markdown-table' package as a typosquat lure. Systems with this package installed should be considered fully compromised, and secrets should be rotated immediately.
AI Analysis
Technical Summary
The 'markdown-editable-table' npm package versions 2.4.2, 2.4.3, and 2.4.4 includes a malicious preinstall script ('node index.d.js') that runs automatically on 'npm install'. This script base64-decodes a payload which fetches JavaScript code from a remote URL and executes it using an obfuscated 'eval' call. The package metadata mimics the legitimate 'markdown-table' package, indicating a typosquatting attempt. Installing this package results in arbitrary attacker-controlled code execution on the installer's machine, leading to full system compromise.
Potential Impact
Installing the affected versions of this package results in arbitrary code execution on the host system during installation, potentially giving attackers full control over the compromised machine. Any secrets or keys stored on the machine may be exposed, requiring immediate rotation. Removal of the package alone does not guarantee elimination of all malicious artifacts due to the extent of compromise.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the 'markdown-editable-table' package versions 2.4.2, 2.4.3, and 2.4.4 is recommended. Systems with this package installed should be treated as fully compromised. All secrets and credentials stored on the affected machines must be rotated from a secure, uncompromised environment. Monitor for any suspicious activity and consider rebuilding affected systems to ensure complete remediation.
Malicious code in markdown-editable-table (npm)
Description
The npm package 'markdown-editable-table' versions 2.4.2, 2.4.3, and 2.4.4 contains malicious code that executes arbitrary JavaScript during installation via a preinstall hook. This code fetches and evaluates attacker-controlled scripts from a remote URL, effectively compromising the host machine. The package impersonates the legitimate 'markdown-table' package as a typosquat lure. Systems with this package installed should be considered fully compromised, and secrets should be rotated immediately.
Affected software
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
Technical Analysis
The 'markdown-editable-table' npm package versions 2.4.2, 2.4.3, and 2.4.4 includes a malicious preinstall script ('node index.d.js') that runs automatically on 'npm install'. This script base64-decodes a payload which fetches JavaScript code from a remote URL and executes it using an obfuscated 'eval' call. The package metadata mimics the legitimate 'markdown-table' package, indicating a typosquatting attempt. Installing this package results in arbitrary attacker-controlled code execution on the installer's machine, leading to full system compromise.
Potential Impact
Installing the affected versions of this package results in arbitrary code execution on the host system during installation, potentially giving attackers full control over the compromised machine. Any secrets or keys stored on the machine may be exposed, requiring immediate rotation. Removal of the package alone does not guarantee elimination of all malicious artifacts due to the extent of compromise.
Mitigation Recommendations
No official patch or fix is currently available. Immediate removal of the 'markdown-editable-table' package versions 2.4.2, 2.4.3, and 2.4.4 is recommended. Systems with this package installed should be treated as fully compromised. All secrets and credentials stored on the affected machines must be rotated from a secure, uncompromised environment. Monitor for any suspicious activity and consider rebuilding affected systems to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10452
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-jf3r-qgv3-frvm"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ffa968715ace432fa00b
Added to database: 07/14/2026, 09:21:45 UTC
Last enriched: 07/14/2026, 09:55:09 UTC
Last updated: 07/29/2026, 20:36:59 UTC
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.