INSPECTING ARCHIVED INTELLIGENCE (OUTDATED VERSION).
North Korea exploits Mastra AI
|
2026-06-22 11:30
CRITICAL
HIGH
AI-ENABLED ATTACK · AUTONOMOUS
SUPPLY CHAIN
STATE-SPONSORED & ESPIONAGE
Executive Summary
AI-generated
A supply chain attack targeting Mastra, an open-source typescript for building AI-powered applications and agents, was attributed to North Korean hackers by Microsoft Defender Security Research Team on June 19. The attackers compromised over 140 packages across the npm registry, with the aim of disabling Transport Layer Security (TLS) certificate verification and delivering a malware payload that could be deployed on Windows, MacOS, and Linux systems. The malware targeted cryptocurrency wallets, searching for specific browser-extension IDs to steal from them, and also gathered information on browser history and infected machine details. Microsoft assessed the activity as attributable to Sapphire Sleet, a North Korean state actor primarily targeting the financial sector, with high confidence.
Technical Mitigations AI-generated
• Review dependency trees for direct or transitive usage of affected @mastra packages at the compromised versions listed above
• Check for the presence of easy-day-js in node_modules/ or <a href="/auth/login?next=/detail/jT226J4B1IjJTucQRLVw" class="ioc-censored-pill text-decoration-none" title="Protected IoC: Sign in to view" data-bs-toggle="tooltip"><span class="badge bg-black text-warning border border-warning border-opacity-75 font-monospace ioc-lock-tag align-middle"><i class="bi bi-lock-fill me-1"></i>[IOC HIDDEN • LOGIN REQUIRED]</span></a> files across your projects and CI/CD environments
• Pin known-good package versions where possible, specifically Mastra version 1.13.0 and earlier are unaffected
Technical Observables 1 IoCs Login Required
Indicators of Compromise (IoCs) Protected
Raw threat telemetry, malicious IP addresses, file hashes, and direct VirusTotal correlation are restricted to authenticated users.
files 1
Intelligence Metadata
Actors / Malware / CVEs / Campaigns
APT38APT38
Target & Sectors
DPRK
DPRK
cryptocurrencycryptocurrency
technologytechnology
financefinance
Incident Timeline
2026/06/22
North Korean state actor Sapphire Sleet used a supply chain attack to compromise over 140 npm packages, including the Mastra AI library, with the intent to steal cryptocurrency and other sensitive information.
Click on any entity below to view its context and source!
infrastructure
Windows
…re targets crypto wallets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applicati…
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
This includes the deployment of a PowerShell backdoor previously used by the group, additional persistence mechanisms, Microsoft Defender exclusions, and a malicious Windows service that granted SYSTEM privileges.
infrastructure
Linux
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
…s crypto wallets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applications, and…
infrastructure
Macos
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
…llets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applications, and running pro…
organisation
Microsoft
Microsoft Attributes Mastra AI Supply Chain Attack to North Korea.
organisation
Mastra
A supply chain attack which targeted Mastra, an open-source typescript for building AI-powered applications and agents, was the work of North Korean hackers, cybersecurity researchers have said.
threat_actor
APT38
Other threat intelligence investigators track the North Korean hacking group as
APT38
,
BlueNoroff
,
Stardust Chollima
and
TA444
.
organisation
LinkedIn
Microsoft has not detailed how the privileged accounts were taken over to poison packages, but the blog post noted that Sapphire Sleet has a history of
social engineering attacks
harnessing
LinkedIn against victims
in the financial, blockchain and cryptocurrency sectors.
organisation
CI
To help protect against this campaign, Microsoft has issued the following advice:
Review dependency trees for direct or transitive usage of affected @mastra packages at the compromised versions listed above
Check for the presence of
easy-day-js
in
node_modules/
or
package-lock.json
files across your projects and CI/CD environments
Pin known-good package versions where possible.
infrastructure
1.13.0
For mastra, version 1.13.0 and earlier are unaffected.
infrastructure
1.42.0
Foz @mastra/core, version 1.42.0 and earlier are unaffected
organisation
Foz @mastra
Foz @mastra/core, version 1.42.0 and earlier are unaffected
organisation
Phantom
The malware searched for the existence of 166 cryptocurrency wallet browser-extension IDs, including MetaMask, Phantom, Coinbase Wallet, Binance Wallet, TronLink, and others, with the intent to steal from them.
organisation
TronLink
The malware searched for the existence of 166 cryptocurrency wallet browser-extension IDs, including MetaMask, Phantom, Coinbase Wallet, Binance Wallet, TronLink, and others, with the intent to steal from them.
Tactical Metrics
Metrics
infrastructure
1.13.0
Software Version
Click for context!
For mastra, version 1.13.0 and earlier are unaffected.
Metrics
infrastructure
1.42.0
Software Version
Foz @mastra/core, version 1.42.0 and earlier are unaffected
Metrics
infrastructure
Windows
Affected Product
…re targets crypto wallets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applicati…
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
This includes the deployment of a PowerShell backdoor previously used by the group, additional persistence mechanisms, Microsoft Defender exclusions, and a malicious Windows service that granted SYSTEM privileges.
Metrics
infrastructure
Linux
Affected Product
…s crypto wallets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applications, and…
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
Metrics
infrastructure
Macos
Affected Product
…llets
The downloaded second-stage payload was a cross-platform information stealer designed to target Windows, Linux, and macOS systems
The implant collected information about the host, browser histories, installed applications, and running pro…
The malware also used different persistence methods depending on the operating system, such as Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
Intelligence Sources
BleepingComputer
2026-06-20
Infosecurity-Magazine
2026-06-22
Microsoft Attributes Mastra AI Supply Chain Attack to North Korea
Infosecurity-Magazine
Unpublish from Social Media?
Are you sure you want to delete this podcast video from all synchronized social networks (YouTube, Facebook, Threads)?
Important:
Due to Meta API restrictions, Instagram Reels cannot be deleted automatically via API by third-party apps.
View Profile to Delete Manually
View Profile to Delete Manually
Tactical Intelligence
Report Intelligence Issue
Podcast Options
Generate
Incident Version History
CURRENT VERSION
Last Updated: 2026-11-12T09:34
Comprehensive Tactical Telemetry
Highly Correlated Entities
17x
organisation
Identified Entity
Microsoft
entity
3x
attribution
Attributing Entity
BlueNoroff
authority
3x
infrastructure
Affected Product
Windows
software
2x
tactic
Cyber Operation Type
Reconnaissance
tactic
2x
infrastructure
Software Version
1.13.0
version
2x
timeline
Temporal Reference
June 19
date
2x
tactic
MITRE ATT&CK Technique
T1059.007 - JavaScript
technique
2x
general metric
%
54
%
Contextual Telemetry
Context Block
7 METRICS
target region
Target Region
DPRK
region
source region
Origin Country
Korea, Democratic People's Republic of
country
source region
Origin Region
DPRK
region
industry
Targeted Sector
Technology
sector
threat actor
APT Group
APT38
actor
general metric
Packages
140
packages
general metric
Cryptocurrency Wallet
166
cryptocurrency wallet
Click on any entity below to view its context in the main text!
Selective Unpublish
Select the networks you want to remove this post from. The system will try to delete the real post through the API and clean the database so you can publish it again.
By navigating this website, you accept the use of strictly necessary technical cookies for session security and basic platform functionality. We do not use tracking or advertising cookies. Read our Privacy Policy.
Generating report…
0s