{"irf":"1.0","marking":"TLP:CLEAR","id":"INC-2026-00596","url":"https://www.incidentdetails.com/en/incident/inc-2026-00596","state":"published","lang":"en","title":"Mastra npm scope hijacked: 144 AI-framework packages backdoored (easy-day-js)","summary":"A hijacked contributor account was used to republish 144 packages in the popular @mastra AI-agent npm scope with a malicious typosquatted dependency, easy-day-js, that pulled down a cross-platform remote-access trojan and cryptocurrency stealer onto any developer machine or build system that installed them.","dates":{"disclosed":"2026-06-17","occurred":"2026-06-16","confirmed":null,"published":"2026-06-17T12:00:00.000Z","updated":"2026-11-28T01:37:59.140Z"},"claim":null,"classification":{"vector":"supply-chain","impact":"unknown","motive":"unknown","causes":[],"confidence":"reported","actorType":"unknown","responseStatus":"contained"},"severity":{"system":"ISS","version":"1.0","score":0,"level":"low","provisional":true,"subscores":{"organisation":0,"people":0,"society":0},"metricsKnown":0,"vector":"ISS:1.0/OA:U/OI:U/OL:U/PN:U/PD:U/PC:U/PS:U/SE:U/SR:U/SC:U/SL:U"},"harm":{"data":null,"sensitivity":null,"integrity":null,"disrupted":null,"safety":null,"service":null,"reach":null,"downstreamOrgs":null},"victim":{"id":"ORG-03331","name":"Mastra","slug":"mastra","sectors":["technology"],"countries":["US"],"annualRevenueUsd":null,"employees":null},"actors":[],"individuals":[],"malware":[],"products":[],"campaigns":[],"thirdParties":[],"supplyChain":{"origins":[],"downstream":[],"downstreamTotal":0,"affected":[]},"impact":{"recordsAffected":null,"peopleAffected":null,"lossUsd":null,"ransomDemandedUsd":null,"ransomPaidUsd":null,"downtimeHours":null},"vulnerabilities":[],"techniques":[],"indicators":[],"timeline":[{"date":"2026-06-16","event":"An npm account named 'sergey2016' publishes 'easy-day-js' — a typosquat of the legitimate dayjs date library — at around 07:05 UTC as a clean, fully functional copy."},{"date":"2026-06-17","event":"At about 01:01 UTC the attacker pushes a malicious update to easy-day-js, then between roughly 01:12 and 02:39 UTC uses the hijacked '@mastra' contributor account 'ehindero' to automatically republish 142 packages across the scope, each with easy-day-js injected as a dependency."},{"date":"2026-06-17","event":"Security vendors and GitHub disclose the compromise; affected versions are pulled and developers are advised to roll back to pre-incident releases and rotate all credentials."}],"references":["https://orca.security/resources/blog/mastra-npm-supply-chain-attack/","https://thehackernews.com/2026/06/144-mastra-npm-packages-compromised-via.html","https://snyk.io/blog/a-forgotten-contributor-account-compromised-the-entire-mastra-npm-package-scope/","https://www.stepsecurity.io/blog/mastra-npm-packages-compromised-using-easy-day-js","https://cloudsmith.com/blog/inside-the-mastra-npm-supply-chain-attack","https://www.scworld.com/brief/mastra-npm-packages-compromised-in-easy-day-js-supply-chain-attack"],"crosswalk":{"cyberbreaches":"mastra-npm-supply-chain-2026-06-17"},"veris":{"action":["hacking"],"attribute":[],"actor":{"variety":"external","motive":"Unknown"}},"history":[{"date":"2026-06-17","summary":"Record published."}],"license":"CC-BY-4.0"}