@ccfly/setup-darwin-arm64 (npm) · Malicious Code
Affects @ccfly/setup-darwin-arm64Source GCVE Database
Malicious package : remove @ccfly/setup-darwin-arm64 and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 18:32 UTC
Malicious package
Published to npm · OSV MAL-2026-12084
What to do
Remove @ccfly/setup-darwin-arm64 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@ccfly/setup-darwin-arm64 | 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 @ccfly/setup-darwin-arm64 npm package contains a malicious Go binary that establishes a remote control channel to a hardcoded operator server (cc.hn). This binary enables full host command execution via a WebSocket connection and exfiltrates user Anthropic/Claude API credentials by modifying shell profile files to route API requests through the attacker-controlled infrastructure. The malicious behavior activates when the parent @ccfly/setup CLI invokes the binary, not during npm install alone. The package versions explicitly affected include multiple 0.1.x releases.
References
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.20 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.5 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.10 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.14 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.9 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.2 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.8 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.13 (opens in a new tab)
- npmjs.com/package/@ccfly/setup-darwin-arm64/v/0.1.7 (opens in a new tab)