common-array-token (npm) · Malicious Code
Affects common-array-tokenSource GCVE Database
Malicious package : remove common-array-token and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 21:37 UTC
Malicious package
Published to npm · OSV MAL-2026-15550
What to do
Remove common-array-token from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcommon-array-token | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'common-array-token' version 1.0.0 contains malicious code in its postinstall script. During installation, it reconstructs an obfuscated URL and fetches JavaScript code from a remote server, then executes it with the installer's user privileges. This behavior poses a risk of arbitrary code execution on the machine performing the npm install.