Supply chain
AsyncAPI npm packages trojanized through a pull_request_target workflow
What was reported
Microsoft Threat Intelligence reported on 15 July 2026 that five malicious versions of four @asyncapi npm packages were published on 14 July through the project's own trusted-publishing release workflows, so they carried valid provenance. The attack began with a pull request that a pull_request_target workflow checked out in a privileged context, exposing the asyncapi-bot token. The payload ran when the package was imported rather than at install, so --ignore-scripts did not stop it, and fetched a second stage from IPFS. AsyncAPI's own post-mortem says the attacker exfiltrated the bot's credentials and moved into a second repository, and that npm purged all five versions after about four hours and twenty minutes.
What is not known
- Microsoft says its evidence does not establish how the asyncapi-bot credential was obtained; AsyncAPI's post-mortem says it was exfiltrated through the pull_request_target workflow.
- Microsoft found credential-harvesting modules implemented but disabled in the build it analyzed.
- Researchers link the payload to the Miasma family; AsyncAPI describes it as having minimal association with that family.
- No ATT&CK technique is asserted until a separate sourced mapping review.
Sources (2)
Microsoft Threat Intelligence · Security research
Published 15 Jul 2026 · Reviewed 26 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from Microsoft Threat Intelligence (external site) ↗AsyncAPI · Company incident report
Published 21 Jul 2026 · Reviewed 26 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from AsyncAPI (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- npm, GitHub Actions, CI/CD
- Industry
- Technology
- Secret type
- Git platform token
- Where it was exposed
- CI/CD pipeline or logs
- Packages
- None linked
Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.
Related market categories
- Software supply chain
Malicious AsyncAPI releases were published through the project's own release workflows.
Does not imply: That any software supply chain security product detected or would have prevented this incident.
Reviewed 28 Nov 2026
- NHI and workload identity
The attacker used the asyncapi-bot automation account's token to push the malicious commits.
Does not imply: That any non-human identity product detected or would have prevented this incident.
Reviewed 28 Nov 2026