@public-for-cdao/types (npm) · Malicious Code
Affects @public-for-cdao/typesSource GCVE Database
Malicious package : remove @public-for-cdao/types 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-10604
What to do
Remove @public-for-cdao/types 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/types | 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/types npm package contains malicious code as part of a dependency-confusion credential theft campaign. Its postinstall script automatically runs a reconnaissance script (recon.js) during npm installation, which collects a wide range of sensitive credentials and environment information. The stolen data is exfiltrated to attacker-controlled endpoints. This package impersonates an internal package '@cdao/types' and is identified by a pinned version 99.99.99.