cacao1 (npm) · Malicious Code
Affects cacao1Source GCVE Database
Malicious package : remove cacao1 and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 18:23 UTC
Malicious package
Published to npm · OSV MAL-2026-14591
What to do
Remove cacao1 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 |
|---|---|---|
| npmcacao1 | 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 npm package 'cacao1' version 9.9.9 is identified as malicious. It contains lifecycle scripts that execute code during installation, which collects the installer's hostname and sends it to a third-party domain controlled by the package author. The package has no legitimate functionality and exhibits characteristics of a dependency confusion beacon. This behavior poses a privacy risk by leaking host information to an external collector.