Back to Home
Socket Blog··Papers & Tech

Malicious bee-js npm Release and Swarm Desktop Releases Deliver SleepyDuck Ethereum C2 Backdoor

中文摘要

恶意攻击者劫持Ethersphere发布管道,向npm和GitHub植入带有SleepyDuck后门的恶意软件,威胁以太坊节点安全。

English Summary

Attackers compromised Ethersphere's pipeline to distribute malicious npm and GitHub releases containing the SleepyDuck backdoor, enabling remote command execution on affected systems.

Original Excerpt

Socket’s Threat Research Team analyzed the November 9, 2026 compromise of Ethersphere’s release pipeline, in which a threat actor used the project’s own GitHub automation to publish a malicious @ethersphere/bee-js 13.3.0 to npm and a trojanized Swarm Desktop 0.56.2 release on GitHub. Both artifacts carry a small loader that fetches JavaScript from api[.]frameworkmetrics[.]xyz and executes it with full Node.js privileges. The Ethereum smart contract that tells the later stages where to connect, the wallet that controls it, and the stage-3 implant files are the same ones Pluto Security documented on October 1, 2026 in its analysis of the SleepyDuck / EtherDuck Open VSX campaign. npm removed 13.3.0 about 75 minutes after it was published; the Swarm Desktop release stayed up for about eight and a half hours. @ethersphere/bee-js 13.3.0 (npm): scripts/generate-version.cjs was rewritten into a remote-code loader and promoted to a postinstall hook. The package was published by Ethersphere’s legitimate trusted-publishing workflow with valid SLSA provenance, and the loader ran three times inside that publishing job. Swarm Desktop 0.56.2 (GitHub release): all nine Linux, macOS and Windows pac…