Mastra npm supply chain attack: compromised maintainer account used to poison packages with easy-day-js backdoor
According to Snyk and another analysis, a compromised maintainer account was used to distribute trojanized packages in the Mastra npm scope. The poisoned easy-day-js dependency ran a multi-platform backdoor on installation.
Who is affected and how
- security operations
- Build and developer machines affected during the installation window should be searched for traces of the backdoor.
- developer
- Projects that use Mastra packages and the easy-day-js dependency must be checked, and credentials rotated.
Sources
- Mastra npm Scope Takeover | Snyksnyk.io · Jun 16, 2026
- Microsoft Threat Intelligence on X: "Microsoft has identified a supply chain attack on the Mastra-AI npm ecosystem, with 80+ packages compromised through npm account takeover. The attacker introduced a phantom dependency into the compromised packages. The malicious dependency was published by a sin… / Xx.com · Jun 17, 2026
- 144 Mastra npm Packages Compromised via Supply Chain Attackorca.security · Jun 17, 2026
- Mastra npm packages compromised in ‘easy-day-js’ supply chain attack | brief | SC Mediascworld.com · Jun 17, 2026
- Mastra Npm: 144 packages in Supply Chain attacksecnews.gr · Jun 17, 2026
- 141 Mastra npm packages compromised in supply chain attackcybernews.com · Jun 18, 2026
- Mastra npm Supply Chain Attack, What easy-day-js Did and How to Respondpenligent.ai · Jun 16, 2026
- Mastra AI Framework Poisoned in npm Supply-Chain Attackbankinfosecurity.com · Jun 17, 2026
- easy-day-js Supply Chain Attack Hits Mastra AI in npm | OX Securityox.security · Jun 17, 2026
- Inside the Mastra npm supply chain attack | Cloudsmithcloudsmith.com · Jun 17, 2026
- 140+ Mastra npm Packages Compromised in Coordinated Supply Chain Attack | Socketsocket.dev · Jun 17, 2026
- Mastra npm Supply Chain Attack: 140+ Packages Backdoored via easy-day-js Typosquatstepsecurity.io · Jun 17, 2026
Machine-generated summary based on the titles and excerpts of the source articles. The facts come from the linked article. News monitoring and analysis, not security advice. Attributions belong to those who made them.
What do you make of this piece?
The split shows after 20 votes.
Why? Your answer is not shown publicly; it helps the editors.