Supply Chain Attack Compromises 141 Mastra npm Packages Mastra's AI agent framew...

@beyondmachines1@infosec.exchange

Supply Chain Attack Compromises 141 Mastra npm Packages

Mastra's AI agent framework suffered a supply chain attack where 141 npm packages were infected with a malicious dependency designed to steal cryptocurrency wallet data and establish system persistence.

**If you ran `npm install` on any @mastra package since June 16, 2026, treat that machine as fully compromised: roll back to a clean pre-incident version (like mastra@1.13.0), remove the malware's persistence, and immediately rotate every credential it could have touched (LLM API keys, cloud keys, npm/GitHub tokens, CI/CD secrets). Also move any crypto wallets to fresh seed phrases on a clean device. Going forward, lock down your build pipelines by running installs with `--ignore-scripts` and add egress controls so a hijacked package can't silently call out or run code during install.**
#cybersecurity #infosec #advisory #vulnerability
beyondmachines.net/event_detai