Swarm Package Breach Puts Node Keys at Risk, Reaches 65 Downloads
Key Facts
Two malicious versions of Ethersphere software associated with the decentralized storage network Swarm were published on Nov. 9, 2026: bee-js 13.3.0 and Swarm Desktop 0.56.2, according to The Hacker News. The versions loaded code designed to steal the node wallet key held by Swarm Desktop, along with the stored password used to unlock the key. The code also installed a backdoor on Windows, macOS and Linux systems, extending the risk from wallet data to the device itself. The incident was a compromise of the software release process, as malicious code reached distribution channels users rely on for trusted updates. There were no reports of stolen funds at the time of publication.
bee-js 13.3.0 was the latest version on npm for about 75 minutes, between 00:09 and 01:25 UTC on Nov. 9, according to the coverage. The code ran when the package was installed through its postinstall script, unless installation scripts were disabled. Socket’s analysis said any project that installed the package or re-resolved a dependency to a range accepting version 13 during that window, with installation scripts enabled, ran the malicious loader. The previous clean release was bee-js 13.2.0, published on Oct. 15, with notes covering storage and postage-related features and fixes. The malicious version thus followed a clean release by several weeks, through an update that appeared to users to be routine.
Swarm Desktop 0.56.2 appeared on GitHub at about 00:36 UTC and was pulled about 8.5 hours later, according to The Hacker News. The automatic updater could offer it to Windows x64 devices and Macs with Apple Silicon processors. The release’s download counter had reached 65 by 08:27 UTC, a figure that included researchers, according to the coverage. Socket estimated that bee-js 13.3.0 was downloaded about 10 times, including downloads by security scanners and mirrors. The figures use different counting methods, but track the two releases reaching users and systems beyond their initial distribution.
Socket’s analysis said two GitHub accounts were compromised, one belonging to a maintainer and the other the bee-worker release automation account. The changelog cited in the report said an attacker used stolen CI credentials to publish Swarm Desktop 0.56.2. For bee-js, the package was published through the project’s trusted publishing workflow in 73 seconds, according to Socket, and carried a valid provenance record linking it to the official repository and workflow. But StepSecurity’s analysis said the malicious code was already present in the source built by the workflow. Provenance establishes the build path; it does not establish that the code was reviewed. The official release mechanism was thus used to publish a malicious version.
The bee-js library underpins Swarm Desktop and the swarm-cli tool, while the application runs a Swarm node on the user’s device and stores its private keys there, according to The Hacker News. The payload therefore targeted the Swarm Desktop node wallet key and its stored unlock password; this does not establish that every Bee node wallet was targeted. The backdoor installation means the response extends beyond changing wallet credentials, since malware could remain on the system after the package is removed. GitHub’s security alert classified bee-js 13.3.0 as an affected version and said any device on which the package was installed or run should be considered fully compromised. The alert recommended rotating secrets and keys from another device.
Maintainers pulled Swarm Desktop 0.56.2 and replaced it with clean version 0.56.3 on Nov. 9, according to the coverage; Linux users must replace the package manually. But GitHub’s alert warned that removing the package alone does not guarantee removal of all malware resulting from its installation. It therefore recommended treating any device that installed or ran the package as fully compromised and rotating secrets and keys using another device. The alert identifies bee-js 13.3.0 as the affected version, while Socket’s analysis says projects that resolved dependencies during the release window with installation scripts enabled may have run the loader. There were no reports of stolen funds at the time of publication.