@public-for-cdao/common (npm) · Malicious Code
Affects @public-for-cdao/commonSource GCVE Database
Malicious package : remove @public-for-cdao/common 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-10601
What to do
Remove @public-for-cdao/common 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/common | 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/common npm package version 99.99.99 contains malicious code designed for a dependency-confusion credential theft campaign. It executes a postinstall script that collects a wide range of sensitive credentials and environment secrets from the host system and sends them to attacker-controlled endpoints. This package impersonates an internal @cdao scope package to exploit CI/CD build systems that mistakenly fetch it from the public npm registry.