MAL-2026-10452 Malicious code in markdown-editable-table (npm)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (b6b15669732f3eaec42e12c5f8d41a8f74d595fc04f709804de9768cb1719a94)
The package's package.json declares a preinstall hook (node index.d.js) that runs automatically on npm install. The script in index.d.js base64-decodes a payload whose decoded body fetches JavaScript from https://everydaynodechecker-39143n.vercel.app/api/key?mem=root1 and passes the response to eval. Both the destination URL (hidden inside a base64 blob) and the eval identifier (reassembled from the char-code array [101,118,97,108] via String.fromCharCode and invoked as globalThis[tag](text)) are obfuscated. The package metadata (repository wooorm/markdown-table, description, funding) impersonates the legitimate markdown-table package while shipping unrelated code, indicating a typosquat lure. Installing the package results in arbitrary attacker-controlled JavaScript executing on the installer's machine.
Source: ghsa-malware (3f924484ba4bd07b0a0b1315b9a6f43e128662ae50d2b52c4bbe10ff190d5d0c)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm markdown-editable-table(npm) | = 2.4.2; = 2.4.3; = 2.4.4; All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm markdown-editable-table(npm) | All versions | No fix listed |
| npm markdown-editable-table(npm) | = 2.4.3 | No fix listed |
| npm markdown-editable-table(npm) | = 2.4.4 | No fix listed |
| npm markdown-editable-table(npm) | = 2.4.2 | No fix listed |
References
- www.npmjs.com product
- www.npmjs.com product
- www.npmjs.com product
- github.com vendor-advisory