@public-for-cdao/token (npm) · Malicious Code
Affects @public-for-cdao/tokenSource GCVE Database
Malicious package : remove @public-for-cdao/token and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 06:23 UTC
Malicious package
Published to npm · OSV MAL-2026-10603
What to do
Remove @public-for-cdao/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 |
|---|---|---|
| npm@public-for-cdao/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 @public-for-cdao/token npm package version 99.99.99 is a malicious dependency-confusion payload that executes a postinstall script to steal sensitive credentials. The embedded recon.js script collects a wide range of secrets including CI tokens, cloud credentials, private keys, and environment variables from the host system and sends them to attacker-controlled endpoints. This package attempts to impersonate an internal package to trick users into installing it.