Ethersphere’s compromised release pipeline distributed wallet-stealing malware via bee-js and Swarm Desktop
Hackers compromised Ethersphere’s release pipeline on November 9 to distribute wallet-stealing malware through bee-js and Swarm Desktop, two widely used Swarm network tools, bypassing code-signing and notarization checks that institutional developers rely on to validate software safety. The breach reveals that legitimate provenance and Apple notarization no longer guarantee protection against sophisticated supply-chain attacks targeting crypto infrastructure.
- Malicious bee-js 13.3.0 stayed on npm for 75 minutes; Swarm Desktop 0.56.2 remained available for 8.5 hours before removal on November 9.
- Both releases carried valid SLSA provenance and Apple notarization, yet contained loaders that harvested Bee node wallet keys and installed persistent backdoors.
- The attack reused Ethereum contract 0xf8a900Db50b3331be6B768bA460BB59f3E40C344, linking it to the earlier SleepyDuck malware campaign targeting Solidity developers.
- 75 min Time bee-js 13.3.0 remained available on npm before removal
- 0xf8a9 Ethereum contract address shared with SleepyDuck C2 infrastructure
- 2 GitHub accounts compromised: nugaon and bee-worker release automation identity
According to Socket’s analysis, attackers with access to Ethersphere’s GitHub automation injected a remote-code loader into bee-js 13.3.0’s postinstall script and trojanized Swarm Desktop 0.56.2 installers across Linux, macOS and Windows platforms. The modified generate-version.cjs script downloaded malicious JavaScript from api.frameworkmetrics[.]xyz and executed it with full Node.js privileges during installation, even if developers never imported the bee-js library. The loader targeted two files critical to Bee node operation: config.yaml, which contains the password to unlock an encrypted wallet key, and data-dir/keys/swarm.key, the encrypted private key itself. With both files, attackers gained control of Bee node wallets and their associated funds and stake.
The macOS installer bore Ethersphere’s Developer ID signature and carried Apple’s notarization badge.
Windows and Apple Silicon users received the tainted 0.56.2 through Swarm Desktop’s auto-updater mechanism.
Legitimate signatures masked loader that installed persistent backdoors
The breach’s severity lies not in stealth but in legitimacy. Socket confirmed that bee-js 13.3.0 published to npm using GitHub Actions trusted publishing with valid SLSA provenance, the same supply-chain assurances institutional developers use to verify code integrity. Swarm Desktop’s macOS build carried the project’s genuine Developer ID and passed Apple’s notarization review, a requirement for auto-installation on macOS systems. StepSecurity’s analysis confirmed the malicious code already existed in the source repository before the GitHub Actions workflow built it, meaning the provenance validation authenticated the workflow process, not the safety of the payload.
Beyond wallet key theft, the loader installed platform-specific backdoors to maintain persistent remote access. On Windows it deployed ScreenConnect. On Linux and macOS it masked backdoors as legitimate Solidity development tools.
Socket recorded approximately ten bee-js 13.3.0 fetches and 65 downloads of the tainted Desktop release by 08:27 UTC on November 9, though the actual number of infected developer machines remains unknown because neither count represents a confirmed victim tally.
Attack reuses SleepyDuck’s command infrastructure, skips fake extensions
The loader’s command-and-control servers were identified by reading Ethereum contract 0xf8a900Db50b3331be6B768bA460BB59f3E40C344, the same address Pluto Security linked to the SleepyDuck and EtherDuck campaigns. Those earlier attacks distributed malware through fake Solidity extensions to trick developers into manual downloads.
This attack took a fundamentally different vector: instead of social engineering developers to download fraudulent tools, the threat actor compromised Ethersphere’s authentic release infrastructure and weaponized it from within.
The successful November 9 compromise then used pre-existing access to compromised GitHub accounts, including bee-worker, the release automation identity itself. The origin of these compromises predates November 6 and remains unexplained.
Ethersphere recovery requires key rotation and credential reset across developer base
On November 9 Ethersphere published notices identifying both releases as malicious. Maintainer darkobas2 disclosed in a recovery pull request that 0.56.2 “was built and published by an attacker using stolen CI credentials.” The clean replacement, 0.56.3, rebuilt 0.56.1 from source and was signed with a new certificate. Users must verify their Desktop version and install 0.56.3; Linux users must manually upgrade, as the Linux build lacks auto-update capability.
Anyone who executed the malware faces mandatory remediation: isolate and rebuild the affected machine, move all funds and stake from a clean device, and rotate all credentials. bee-js users must pin version 13.2.0; simply removing the package does not erase backdoors the payload may have installed. No confirmed tally of infected machines or stolen funds has been published.
Ethersphere has not disclosed whether attackers executed the stage-3 payload on any compromised system or how many Bee node wallets were accessed.
The CCS read. This attack reframes institutional software risk. SLSA provenance and code-signing assurances now document workflow integrity, not payload safety, the attacker was already inside the repository when the workflow ran. Institutional users of Swarm, dYdX, or any blockchain project releasing through GitHub Actions cannot rely on notarization or provenance alone; CI credential compromise remains the blind spot in the supply chain.
Ethersphere has not disclosed how the threat actor obtained access to nugaon and bee-worker credentials, or whether the November 6 credential-harvesting attempt succeeded in ways Socket’s external log analysis could not detect. The open question is whether the same actor holds other GitHub credentials from the failed November 6 campaign and may attempt additional Ethersphere repositories or related projects in Swarm’s ecosystem.