Skip to main content
MalwarePublished Updated

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

Affects @public-for-cdao/typesSource GCVE Database

0

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

Classification

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

ProductAffectedFixed in
npm@public-for-cdao/typesAffected
  • =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/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.

References

Community reviews

Loading reviews…