Mastra npm scope hijacked via dormant maintainer account, drops crypto stealer
A dormant contributor account on the @mastra npm scope was used on June 17 to republish packages across the scope, each injecting a single dependency — easy-day-js — that runs a postinstall script fetching a cross-platform crypto stealer. Sonatype tracks it as sonatype-2026-003926. Any workstation, CI runner, or build agent that installed an affected @mastra/* version should be treated as compromised, not just cleaned.
Grep your lockfiles for @mastra/* and easy-day-js across all repos and CI now. If anything installed in the window, rotate developer credentials, npm tokens, and any keys reachable from those hosts — postinstall stealers do not respect your secret-store boundaries.