Malicious code in js-array-tokens (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15555
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3d54ea75aacb3eed3e1f1739093eb9b0092203fafca42d590bce038530056023) On module load, index.js reconstructs a URL from a char-code array that decodes to https://access-token-delta.vercel.app/, fetches a JSON response, and passes the response's `token` field directly to `eval()`. Any code the remote host returns executes in the Node.js process that requires this package. The destination is hidden as a numeric array reconstructed via String.fromCharCode, concealing the endpoint from plain-string inspection. The combination of import-time fetch-and-eval against a char-code-obfuscated remote endpoint is a remote-loader pattern with no legitimate use.
- Source published
- 29 Aug 2026 02:13:19 UTC
- Source modified
- 29 Aug 2026 02:30: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.