@public-for-cdao/abi (npm) · Malicious Code
Affects @public-for-cdao/abiSource GCVE Database
Malicious package : remove @public-for-cdao/abi and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 06:09 UTC
Malicious package
Published to npm · OSV MAL-2026-10599
What to do
Remove @public-for-cdao/abi 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/abi | 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/abi npm package contains malicious code designed for credential theft via a dependency confusion attack. It installs a postinstall script that automatically runs during npm installation, collecting a wide range of sensitive credentials and environment variables. The stolen data is exfiltrated to attacker-controlled endpoints. This package targets a private scope by mimicking legitimate package names to trick developers into installing it.