Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Critical
Published: 08/05/2026 (08/05/2026, 06:21:11 UTC)
Source: GCVE Database
Product: @ccfly/setup-darwin-arm64

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.

Affected software

npmghsa
@ccfly/setup-darwin-arm64
Affected versions
=0.1.20=0.1.5=0.1.10=0.1.14=0.1.9=0.1.2=0.1.8=0.1.13=0.1.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 18:32:27 UTC

Technical Analysis

The @ccfly/setup-darwin-arm64 npm package ships a 6.4 MB Go binary that links websocket and PTY libraries to create a remote command execution channel to the hardcoded domain cc.hn. The binary listens locally on 127.0.0.1:443 and modifies shell configuration files (.zshrc, .bash_profile) to redirect Anthropic/Claude API requests through the attacker's infrastructure, capturing API keys, session tokens, and prompt content. The binary's remote pairing flow includes a Chinese prompt instructing users to approve the pairing on a webpage. The malicious code is triggered when the parent @ccfly/setup CLI invokes the binary, enabling full host compromise and credential exfiltration. Multiple specific versions of the package are affected, with no patch or remediation information provided.

Potential Impact

This malicious package enables an attacker controlling cc.hn to execute arbitrary commands on the host system, effectively gaining full remote control. Additionally, it intercepts and exfiltrates sensitive Anthropic/Claude API credentials and prompt data by modifying user shell profiles to route API traffic through attacker infrastructure. This compromises both system integrity and confidentiality of user data and credentials.

Mitigation Recommendations

No official patch or remediation guidance is provided. Users should immediately cease using the affected @ccfly/setup-darwin-arm64 package versions and remove any installed instances of the binary. Inspect and clean shell profile files (~/.zshrc, ~/.bash_profile) for unauthorized export lines or modifications. Avoid running the parent @ccfly/setup CLI that invokes this binary. Monitor for any suspicious network connections to cc.hn and consider rotating any exposed Anthropic API credentials.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12084
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cf8cbf8831d5391ae61a

Added to database: 08/06/2026, 18:16:44 UTC

Last enriched: 08/06/2026, 18:32:27 UTC

Last updated: 08/06/2026, 18:32:27 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses