Compromised AsyncAPI npm Packages Delivered Miasma Malware via IPFS Loader
Supply Chain Risk · 28 sources · Updated 3mo ago · First seen Jul 14, 2026

Multiple @asyncapi npm packages were compromised in a software supply-chain attack that inserted a multi-stage malware loader into widely used developer tooling with roughly 2 million weekly downloads. Reports identified malicious versions including @asyncapi/generator-helpers@1.1.1, @asyncapi/generator-components@0.7.1, @asyncapi/generator@3.3.1, and additional trojanized packages in the namespace, with one analysis counting five affected packages. The injected code was hidden in src/utils.js and triggered during normal require() or import execution rather than npm lifecycle hooks, spawning a detached Node.js child process that fetched an encrypted second-stage payload from IPFS and wrote it to disk as sync.js in user-specific directories across macOS, Linux, and Windows.
Researchers said the second stage was a Miasma variant or related botnet framework that established persistence, beaconed to 85.137.53.71:8080, and enabled remote shell access for arbitrary command execution. Analyses also described broader built-in capabilities for file operations, credential harvesting, evasion, propagation, mutation, and destructive actions, though some of those functions were reportedly disabled in the observed build. Security firms warned that developer workstations and CI environments using the affected packages may have been exposed, advised avoiding the malicious versions, upgrading once clean releases are available, inspecting systems for compromise, and rotating potentially exposed credentials; one report added that @asyncapi/specs@6.11.2-alpha.1 remained directly downloadable even after removal from registry metadata.
Why it matters
Impact assessment
This is a high-severity software supply-chain compromise of official AsyncAPI npm packages distributed through trusted publishing, with exposure concentrated on developer workstations, CI/CD runners, container builds, documentation jobs, and any production services that actually imported the affected modules. The primary risk is credential theft and persistent remote access from systems that loaded the malicious versions, with potential downstream compromise of source code, cloud accounts, package registries, and deployment pipelines.
Summary
The blast radius is broad because the affected packages are legitimate and heavily used, with reported combined reach between roughly 2 million and 3 million weekly downloads and @asyncapi/specs driving most exposure. Exploitation occurred in the wild through malicious package publication on 2026-07-14, but actual host compromise depends on whether the package was imported or required, not merely downloaded or present in a lockfile.
Affected populations and scope
- Affected packages:
@asyncapi/generator@3.3.1@asyncapi/generator-components@0.7.1@asyncapi/generator-helpers@1.1.1@asyncapi/specs@6.11.2@asyncapi/specs@6.11.2-alpha.1
- Safe versions repeatedly cited:
@asyncapi/specs@6.11.1or earlier@asyncapi/generator@3.3.0@asyncapi/generator-components@0.7.0@asyncapi/generator-helpers@1.1.0
- Most exposed environments:
- Developer laptops and workstations
- CI/CD pipelines and self-hosted runners
- Container build systems and shared images
- Documentation and code-generation jobs
- Production services that imported affected modules during runtime or build
Severity and business impact
- Remote shell capability enabled arbitrary command execution on compromised hosts.
- Persistence was established across Windows, Linux, and macOS.
- Malware contained credential theft logic targeting developer, cloud, registry, SSH, Kubernetes, Docker, AI platform, and wallet secrets.
- Exposure can lead to source-code theft, cloud compromise, package publishing abuse, CI/CD takeover, and follow-on supply-chain attacks.
- Reputational and operational impact is significant because the malicious packages were published under the legitimate
@asyncapinamespace with valid provenance.
Known exploitation and exposure window
- Malicious releases were published on 2026-07-14.
- Multiple reports place publication within roughly a 90-minute to 4-hour window.
- The attack abused AsyncAPI’s legitimate GitHub Actions/OIDC publishing path.
- At least one malicious tarball,
@asyncapi/specs@6.11.2-alpha.1, reportedly remained directly downloadable after metadata removal. - This was active exploitation in the wild, not a theoretical exposure.


