Malicious code in @ccfly/setup-linux-x64 (npm)
The npm package @ccfly/setup-linux-x64 contains a malicious 6.9 MB Linux x64 Go binary that establishes remote command execution via hardcoded WebSocket connections to attacker-controlled servers (ccflycc.hn, cc.hn). The binary enables privileged package installation and full shell access when invoked through companion @ccfly/* wrapper packages.
- Disclosed
- Last updated
- Blast radius
- Any system installing @ccfly/setup-linux-x64 via npm and invoking it through @ccfly/* wrapper CLI; affects Linux x64 systems only.
- Ecosystems
- Attack vectors
- Affected entities
- @ccfly/setup-linux-x64npm package containing malicious Go binary
The @ccfly/setup-linux-x64 npm package ships a single 6.9 MB compiled Go executable (bin/ccfly-setup) with no source code. The binary contains hardcoded connections to attacker infrastructure at ws://ccflycc.hn, wss://, and https://cc.hn, along with embedded strings for remote-controlled package manager invocations (apt-get, pacman, zypper).
The binary links against github.com/creack/pty for PTY spawning and github.com/gorilla/websocket for WebSocket communication, establishing a persistent connection to attacker-controlled servers. This architecture provides full command execution and privileged package installation capabilities on the host system.
The package.json declares only {os:[linux], cpu:[x64], files:[bin]} with no scripts, main, or bin field, meaning npm install alone does not execute the binary. However, the backdoor activates when companion @ccfly/* wrapper CLI packages resolve this as an optionalDependency and invoke bin/ccfly-setup.
The delivery uses unencrypted ws:// connections in addition to wss://, and no source code is provided for independent audit. The malicious package was identified by the OpenSSF malicious-packages project.
Indicators of compromise
- Packages
- @ccfly/setup-linux-x64
- Domains
- ccflycc.hn
- cc.hn
Remediation
- Immediately uninstall @ccfly/setup-linux-x64 and all @ccfly/* packages from affected systems
- Audit systems that installed this package for unauthorized package installations, WebSocket connections, or privilege escalation
- Review package.json and lock files for any @ccfly/* dependencies and remove them
- Monitor for outbound connections to ccflycc.hn, cc.hn, and related domains
- If the binary was executed, assume full system compromise and perform forensic analysis
- Update npm to the latest version and run `npm audit` to detect other malicious packages
Sources
- GitHub Advisory GHSA-pcxf-5w7v-gx36 · GitHub Advisory Database
Cite this entry
"Malicious code in @ccfly/setup-linux-x64 (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 6, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-ccfly-setup-linux-x64-npm-1dbf45
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in checkout-desktop-total (npm)
The npm package checkout-desktop-total contained malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under wel1.ru. Any system that imported this package should be considered compromised.
npmCompromised package - containedcritical
Malicious code in epic-common (npm)
The npm package epic-common was found to contain malicious code. The package was identified by Amazon Inspector and reported through the OpenSSF malicious packages database.
npmCompromised package - containedcritical
Malicious code in pfp-forms-sme-loan (npm)
The npm package pfp-forms-sme-loan contains malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under well1.site. Any system that imported this package should be considered compromised.
npmCompromised packageMalicious commit - resolvedcritical
Malicious code in epic-common-node (npm)
The npm package epic-common-node was found to contain malicious code. The package has been identified and reported through GitHub Security Advisory GHSA-m36g-mhjr-ww2c.
npmCompromised package