From package to postinstall payload: Inside the Mastra npm supply chain compromise

2026-06-18T14:52:18Z3adfb7162bf23b0fc47c257b8e8e4eac17524f874c4484440f8fd3d14cf733a4
agentic-systemsai-securitybackdoorci-cdclipboard-theftcrypto-clipperemail-security-benchmarkinggithub-actioninvestigationsmastramdashnpmpackage-poisoningpersistencepostinstall-payloadprompt-injectionsecrets-exposuresupply-chaintelemetrytor-c2vulnerability-detectionworm-propagationxdr

What happened

This collection of Microsoft Security Blog posts highlights multiple active threats and defensive advances: a Mastra npm supply‑chain compromise that delivered a hidden postinstall payload to 140+ projects (detection, hunting, and mitigation guidance); a crypto clipper campaign combining clipboard theft, wallet replacement, Tor-based C2, worm‑like propagation, persistence, and a lightweight backdoor; a prompt‑injection pathway in the Claude Code GitHub Action that could expose workflow secrets (disclosure and mitigations); and broader security topics including AI‑accelerated attacks, agentic/v

Why it matters

A reviewed impact interpretation has not been published for this record.

Evidence and limitations

Source ID
microsoft_security_blog
Record identifier
3adfb7162bf23b0fc47c257b8e8e4eac17524f874c4484440f8fd3d14cf733a4
Enrichment time
2026-06-18T14:52:18Z
AI-assisted enrichment
Yes

This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.