Skip to main content
MalwarePublished Updated

@public-for-cdao/api (npm) · Malicious Code

Affects @public-for-cdao/apiSource GCVE Database

0

Malicious package : remove @public-for-cdao/api and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 06:09 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10600

What to do

Remove @public-for-cdao/api 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

ProductAffectedFixed in
npm@public-for-cdao/apiAffected
  • =99.99.99
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/api npm package is a malicious package involved in a dependency confusion credential theft campaign. It contains a postinstall script that runs a reconnaissance payload (recon.js) during npm installation. This payload collects a wide range of sensitive credentials and environment variables, including CI tokens, cloud service keys, private keys, and cryptocurrency mnemonics, and exfiltrates them to attacker-controlled endpoints.

References

Community reviews

Loading reviews…