markdown-editable-table
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-jf3r-qgv3-frvm
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in markdown-editable-table (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0