VYPR
breachPublished Jun 4, 2026· Updated Jun 5, 2026· 4 sources

IronWorm Malware Infects 36 npm Packages in Supply Chain Attack

A new supply-chain attack has compromised 36 packages on the npm registry with the IronWorm infostealer malware, targeting developers' sensitive information.

Security researchers have uncovered a significant supply-chain attack targeting the Node Package Manager (npm) registry, resulting in the compromise of 36 distinct packages. The malicious code, identified as the IronWorm infostealer malware, was injected into legitimate packages, posing a direct threat to developers and users who rely on these dependencies.

The IronWorm malware is designed to exfiltrate sensitive information from compromised systems. While the exact types of data targeted are still under investigation, such malware typically aims to steal credentials, API keys, configuration files, and other valuable data that could be used for further attacks or sold on the dark web. The injection into popular npm packages means that any project utilizing these compromised dependencies could inadvertently install and run the malware.

This incident underscores the persistent and evolving threats within the software supply chain. Attackers are increasingly targeting open-source repositories like npm, which host a vast number of packages used by developers worldwide. By compromising a package, threat actors can gain a wide reach, infecting numerous downstream projects and organizations without their direct knowledge.

The discovery highlights the critical need for enhanced security measures and vigilance within the developer community. Practices such as thorough vetting of package dependencies, using security scanning tools, and monitoring for suspicious package behavior are crucial in mitigating these risks. The npm ecosystem, while robust, remains a prime target due to its widespread adoption in web development.

Details regarding the specific method of compromise for these 36 packages are still emerging. However, common tactics include account takeover of legitimate package maintainers, typosquatting (registering packages with similar names to popular ones), or exploiting vulnerabilities in the package publishing process itself. The goal remains consistent: to insert malicious code that executes upon installation or runtime.

As the investigation continues, developers are strongly advised to review their project dependencies and audit any packages that may have been affected. The npm security team and researchers are working to identify and remove the malicious packages, but the potential for widespread impact necessitates immediate attention from the community. This event serves as another stark reminder of the inherent risks associated with relying on third-party code and the importance of robust supply-chain security strategies.

The IronWorm campaign is the latest in a series of supply-chain attacks that have plagued various package managers and software repositories. These attacks demonstrate a sophisticated understanding of developer workflows and a persistent effort by threat actors to exploit the trust inherent in open-source software ecosystems.

This new report details the IronWorm campaign's sophisticated self-spreading mechanism, where stolen developer credentials are used to push backdated malicious commits to GitHub repositories. These commits then inject further malware into other packages, which are subsequently published to npm, creating a continuous infection chain. Researchers identified 57 such backdated commits across nine organizations, with attackers employing techniques to make these commits appear years old to evade detection.

The IronWorm campaign, written in Rust, has been further detailed, revealing its sophisticated use of eBPF rootkits to evade detection and its custom-built nature. Unlike previous campaigns, IronWorm employs unique encryption keys throughout its codebase, significantly complicating analysis and detection efforts. The threat actor also backdated malicious code commits to obscure the timeline of compromise, adding another layer of obfuscation.

This new report details a second, distinct supply chain attack campaign that has also targeted the npm ecosystem, this time involving a new variant of the Miasma worm. This campaign compromised 57 npm packages across more than 286 malicious versions, distinct from the IronWorm attack. The Miasma variant utilizes a novel 'Phantom Gyp' technique, abusing binding.gyp files to bypass security checks and execute code during npm install, and it also targets AI coding assistant configurations for persistent backdoor installation.

Synthesized by Vypr AI