In July 2026, Microsoft Threat Intelligence discovered a supply chain attack targeting the official AsyncAPI NPM organization. Attackers published malicious versions of multiple packages under the trusted AsyncAPI namespace, which deployed a multi-stage Remote Access Trojan (RAT) via obfuscated lifecycle hooks during routine build workflows. The malware retrieved secondary payloads from IPFS gateways, established persistence, and initiated command-and-control communications. The attack exploited trusted build automation and dynamic package retrieval via npx, affecting developers using version-pinned packages in CI/CD pipelines.
On July 14, 2026, a coordinated supply chain attack compromised the @asyncapi npm organization, affecting five package versions across four packages. The attack originated from a GitHub Actions workflow vulnerability that exposed privileged credentials, enabling unauthorized code injection. Unlike typical postinstall attacks, this campaign executes at module import time, bypassing common npm install --ignore-scripts protections. The malicious code spawned hidden processes that fetched a second-stage payload from IPFS, deploying the Miasma modular runtime with command-and-control capabilities, persistence mechanisms, and credential harvesting features. The payload included disabled modules for supply-chain propagation, AI-tool poisoning, and sandbox evasion. All compromised packages were published through legitimate GitHub OIDC workflows with valid provenance signatures, masking the malicious activity within trusted release processes.
In July 2026, four AsyncAPI npm packages were compromised to deliver Miasma v3, a worm variant that activates when the poisoned library is loaded by an application. The attack used an unauthorized commit to the repository's release branch and leveraged AsyncAPI's legitimate GitHub Actions workflow with npm's OIDC integration, resulting in malicious packages with valid provenance attestations. Upon activation, the malware downloads a second-stage payload from IPFS and establishes a persistent Node.js backdoor capable of executing arbitrary shell commands. While the malware includes modules for credential theft and propagation, this deployment primarily functions as a remote access trojan. The incident underscores the need for strict branch protection and CI/CD workflow auditing to prevent unauthorized changes despite trusted-publisher mechanisms.
Four npm packages in the AsyncAPI namespace were compromised to distribute the Miasma botnet loader. The attack involved injecting malicious code into legitimate source files via a poisoned source commit, abusing trusted GitHub Actions publishing. The malware launches a detached Node.js process that downloads an encrypted payload from IPFS. The final payload is a sophisticated multi-channel tasking framework that supports persistence on Linux systems and cross-ecosystem propagation across npm, PyPI, RubyGems, and Cargo.
On July 14, 2026, a supply chain compromise occurred via a misconfigured GitHub Actions workflow in the AsyncAPI generator repository. An attacker exploited a 'pwn request' vulnerability to open multiple pull requests, one of which contained obfuscated JavaScript that exfiltrated a privileged Personal Access Token belonging to asyncapi-bot. Using the stolen token, the attacker published five malicious npm package versions under the @asyncapi namespace, collectively downloaded over three million times weekly. The malware payload activates on import, establishes persistence, connects to command and control infrastructure, and steals credentials from browsers, SSH keys, cloud services, and cryptocurrency wallets. The malware shares traits with the Miasma framework but includes unique command capabilities.