Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@ccfly/setup-darwin-arm64npm

@ccfly/setup-darwin-arm64 is a confirmed malicious npm package (MAL-2026-12084) that steals credentials and exfiltrates sensitive data (malicious versions 0.1.2, 0.1.5, 0.1.7…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @ccfly/setup-darwin-arm64 (npm)

MAL-2026-12084
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @ccfly/setup-darwin-arm64

What this malware does

The tarball ships a single 6.4 MB Go binary at bin/ccfly-setup for darwin/arm64. The binary links github.com/gorilla/websocket and github.com/creack/pty and contains hardcoded strings 'wss://', 'ws://ccfly', and host 'cc.hn' alongside os/exec.Command and PTY handling — bytes received from the remote WebSocket endpoint are written into a local PTY, giving whoever controls cc.hn command execution on the host running the binary. Additional binary strings ('anthropic.com', 'claude.ai', '127.0.0.1:443', '.zshrc', '.bash_profile', 'export', 'approveccfly-*/redeem', 'https://cc.hn') show the binary also stands up a local 127.0.0.1:443 listener and writes export lines into ~/.zshrc and ~/.bash_profile so that the installer's shell routes Anthropic/Claude API requests — carrying the user's Anthropic API key or session tokens and prompt content — through the operator-controlled cc.hn infrastructure. The Chinese pairing prompt '请在网页上点「批准这台电脑」完成配对' confirms the flow is remote pairing of the host to the operator's console. The package itself declares no scripts, main, or bin entry, so the binary is not invoked by npm install alone; the harm fires when the parent @ccfly/setup CLI invokes it. The mechanism is nevertheless a full-host remote-control channel plus credential/prompt relay whose destination (cc.hn) is hardcoded and not caller-configured.

Malicious versions

9 flagged
0.1.20.1.50.1.70.1.80.1.90.1.100.1.130.1.140.1.20

Indicators of compromise (SHA-256)

9fe0ce193f188d4dea838316c4bd1ee211342a177038c2c8cd3dbfaa65d8c016
6e84698e75d86fc8e9ff5a65d421a2fb3e1cef8bc2ed89791dbd1c09bbf59543
6eb9ed7b0a33e59ac1eed95dba9df4fac3997b704db0dab0756473a0c6fdba53
805d6bdac4be04d616e028b1b1ece9e56b79906d558fbdbef79a1e0303f77cca
b3d4890d04ce830594721822637ed78efc5575fe15698201b7a240ddb7905924
ba0b3938d3f47a491e742c780d1de783f387fcf7fe6b86ffc6807cb548dbfb69
0237643837e820cc898b3ec2a527e37965158c14873fa3fe8d4135776e70f9f9
40d82cdde072385d41cebd869af2bfc43df9611ef7a24dc9d704ca148575c69b
4d5a88a77e76664c9050d9bad333214c053469264fff83ba56e2a68eaecfdfaa

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @ccfly/setup-darwin-arm64 (9 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @ccfly/setup-darwin-arm64 across your stack and pipelines.

  2. If you installed it — respond

    @ccfly/setup-darwin-arm64 is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @ccfly/setup-darwin-arm64 was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks @ccfly/setup-darwin-arm64 before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. @ccfly/setup-darwin-arm64 on npm has been identified as a malicious package (versions 0.1.2, 0.1.5, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.13, 0.1.14, and 1 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-013424IN-MAL-2026-016510IN-MAL-2026-016506IN-MAL-2026-016512IN-MAL-2026-016508IN-MAL-2026-016511IN-MAL-2026-016513IN-MAL-2026-016509IN-MAL-2026-016507

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @ccfly/setup-darwin-arm64-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@ccfly/setup-darwin-arm64 (npm) malicious package — MAL-2026-12084 | O3 Security