IronWorm self-propagating malware hits 36 npm packages (2026)
Researchers disclosed IronWorm, a Rust-based, self-propagating infostealer that compromised 36 npm packages, stealing developer and CI secrets and republishing trojanized packages using stolen npm publishing credentials.
- Victim
- npm (Node Package Manager registry)
On 4 June 2026, researchers at JFrog disclosed IronWorm, a self-propagating supply-chain attack that infected 36 packages on the npm registry with infostealer malware. Unlike typical obfuscated-JavaScript npm threats, IronWorm is written in Rust and hides inside a binary executable triggered by an install script, communicating with its operator over the Tor network.
What happened
According to JFrog, the campaign began from a compromised npm account named asteroiddao, which published package versions carrying a Rust ELF binary executed during installation. The malware harvests dozens of environment variables and credential files that may contain OpenAI, AWS, Anthropic, and npm tokens, vault configuration files, SSH keys, and cryptocurrency wallet files.
Crucially, IronWorm self-propagates: once it lands in a developer or CI environment, it uses stolen npm credentials โ including secrets tied to npm's Trusted Publishing workflow โ to publish trojanized versions of packages the victim owns, infecting further developers and pipelines downstream. JFrog published the full list of affected packages and urged developers to upgrade to fixed releases, rotate keys, and enable two-factor authentication.
Why it matters
A worm that turns each compromised maintainer into a launchpad for the next is the supply-chain nightmare scenario: the blast radius grows automatically, and stolen CI tokens let it jump from one trusted publisher to another. IronWorm's use of a compiled Rust binary and Tor command-and-control also raises the bar for detection compared with the script-based package attacks defenders have grown used to.
Timeline
JFrog researchers disclose IronWorm, detailing 36 affected npm packages and the self-propagation mechanism.
Sources
- bleepingcomputer.comhttps://www.bleepingcomputer.com/news/security/new-ironworm-malware-hits-36-packages-in-npm-supply-chain-attack/
- thehackernews.comhttps://thehackernews.com/2026/06/ironworm-and-new-miasma-worm-variant.html
- darkreading.comhttps://www.darkreading.com/cyberattacks-data-breaches/rust-written-ironworm-npm-supply-chain
- ox.securityhttps://www.ox.security/blog/ironworm-supply-chain-malware-hits-npm/