easy-day-js
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Groups observed using it
2 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
The campaign ... exploited a typosquatting dependency to deliver multi-stage malware ... the only change was a single injected dependency in each manifest: "easy-day-js": "^1.11.21" ... Version 1.11.22, however, added a weaponized postinstall hook running node setup.cjs, executing the malicious payload automatically during npm install.
The campaign ... exploited a typosquatting dependency to deliver multi-stage malware ... the only change was a single injected dependency in each manifest: "easy-day-js": "^1.11.21" ... Version 1.11.22, however, added a weaponized postinstall hook running node setup.cjs, executing the malicious payload automatically during npm install.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
Initial Access
4 techniques
Initial Access
On June 17, 2026, the npm account “ehindero” was hijacked to deliver malware targeting the @mastra organization on npm.
An attacker republished the entire @mastra npm scope on June 17, 2026, slipping a single malicious dependency into 142 packages... This attack on an npm package was made possible due to a former contributor account whose scope access was never revoked.
A sophisticated supply chain attack has targeted the Mastra-AI npm ecosystem... exploited a typosquatting dependency to deliver multi-stage malware... a single npm account identified as ehindero mass-published malicious versions of 141 @mastra/* packages... the only change was a single injected dependency in each manifest: "easy-day-js": "^1.11.21".
Execution
4 techniques
Execution
a subsequent version introduced crypto-stealing logic inside a post-install script.
Persistence
2 techniques
Persistence
Privilege Escalation
2 techniques
Privilege Escalation
Stealth
7 techniques
Stealth
The "easy-day-js" package launches an obfuscated payload that's fired during a postinstall hook...
The attack leverages a typosquatting strategy; the injected dependency, easy-day-js@1.11.22, masquerades as the legitimate dayjs library.
Next, it fetches a second-stage payload, runs it as a detached background process, and deletes itself to hide its tracks.
On June 17, 2026, the npm account “ehindero” was hijacked to deliver malware targeting the @mastra organization on npm.
Discovery
1 technique
Discovery
Collection
1 technique
Collection
Command and Control
2 techniques
Command and Control
Exfiltration
1 technique
Exfiltration
IOCs tracked for this family
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Other indicator types observed in public reporting.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.