Mastra npm Supply Chain Attack

Confirmed
Discovered Jun 17, 2026

On 2026-06-17, public reporting described an @mastra package-scope compromise that pushed easy-day-js as a malicious dependency across 140+ packages, executed a setup.cjs postinstall dropper, and exposed more than 1.1 million weekly downloads to second-stage credential theft and remote code execution behavior.

1
Affected Packages
7
Observables
4
Sources

Timeline

1 of 1 rows

Timeline
DateEventDescriptionSource
Jun 17, 2026Fresh source reviewReviewed direct and primary sources for the last-two-weeks supply-chain refresh; this preview intentionally excludes older Halting Problems article data.Primary research

Affected Software

0 of 0 rows

Affected Software
PackageEcosystemVersion RangeStatusConfidenceSource
No rows match the active filters.

IOC Clipboard

7 IOCs
domainsetup.cjs
domainyarn.lock
domainbun.lock
urlhttps://23.254.164.92:8000/update/49890878
ip23.254.164.92
ip23.254.164.123
hash221c45a790dec2a296af57969e1165a16f8f49733aeab64c0bbd768d9943badf

Provenance & Sources

4 of 4 rows

Provenance & Sources
SourceTypeReliabilityClaimsEvidence
Primary researchprimary research95%1https://www.stepsecurity.io/blog/mastra-npm-packages-compromised-using-easy-day-js
Primary researchprimary research95%1https://snyk.io/blog/a-forgotten-contributor-account-compromised-the-entire-mastra-npm-package-scope/
Primary researchprimary research95%1https://github.com/mastra-ai/mastra/issues/18045
Primary researchprimary research95%1https://registry.npmjs.org/@mastra%2Fcore