@asyncapi/specs (npm) · Malicious Code
Affects @asyncapi/specsSource GCVE Database
Rated by Threat Radar
Data as of 15 Jul 2026, 12:51 UTC
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@asyncapi/specs | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The last known safe version is 6.11.1; users should downgrade or reinstall this version. Immediate removal of the compromised package versions 6.11.2-alpha.1 and 6.11.2 is recommended. Due to the high likelihood of full system compromise, all secrets and credentials stored on affected machines should be considered compromised and rotated immediately from a separate, trusted environment. Complete system reimaging or forensic analysis is advised to ensure removal of all malicious components and persistence mechanisms. Monitor vendor advisories for any official remediation updates.
Description
The @asyncapi/specs npm package versions 6.11.2-alpha.1 and 6.11.2 were compromised as part of the Miasma RAT supply-chain attack on 2026-07-14. Malicious code was injected directly into the package's index.js, which downloads and executes a remote RAT binary from IPFS, establishing persistence and stealing sensitive credentials and secrets. The last known safe version is 6.11.1. This malicious behavior is inconsistent with the package's intended functionality and results in full system compromise upon installation or use.
References
- github.com/advisories/GHSA-5jj9-3vg7-7785 (opens in a new tab)
- aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains (opens in a new tab)
- wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack (opens in a new tab)
- stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised (opens in a new tab)
- npmjs.com/package/@asyncapi/specs/v/6.11.2 (opens in a new tab)
- npmjs.com/package/@asyncapi/specs/v/6.11.2-alpha.1 (opens in a new tab)
- safedep.io/asyncapi-generator-supply-chain-attack-miasma-rat/ (opens in a new tab)
- github.com/asyncapi/generator/issues/2184 (opens in a new tab)