MAL-2026-15550
Malicious code in common-array-token (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (bf8dc846e743e9517d8444feb25299ce05d9c6e060a050fdaa1b3b44a8cb5cbd) package.json declares scripts.postinstall = 'node index.js'. On npm install, index.js reconstructs a URL from a String.fromCharCode numeric array (decoding to https://access-token-delta.vercel.app/), fetches JSON from that endpoint, and passes the returned 'token' field to eval(). Any JavaScript served by that endpoint executes on the installer's machine with the user's privileges at install time. The endpoint is hardcoded and controlled by the package author; the char-code obfuscation conceals the destination from plaintext scanning. There is no legitimate purpose served by fetching and eval'ing remote code from an obfuscated URL in a postinstall hook.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for common-array-token (npm). Pin to a known-safe version or switch to an alternative.