Microsoft Attributes Mastra npm Supply-Chain Attack to North Korean Group

· Original article ↗

Summary

Microsoft attributes the compromise of more than 140 Mastra npm packages to North Korean actor Sapphire Sleet. The packages delivered a dependency that deployed a cross-platform stealer targeting credentials, API keys, and cryptocurrency wallets.

Key points

  • Microsoft assesses with high confidence that Sapphire Sleet, also known as BlueNoroff, was behind the attack.
  • Attackers reportedly hijacked the npm maintainer account ehindero to publish malicious updates to more than 140 packages in the @mastra scope.
  • The updates added easy-day-js, a typosquatted dependency that ran a post-install hook and deployed a dropper.
  • Microsoft says the second-stage stealer targeted Windows, Linux, and macOS, collecting host and browser information and seeking credentials, API keys, authentication tokens, and cryptocurrency wallets.
  • The malware used operating-system-specific persistence methods, including Windows Registry Run keys, macOS LaunchAgents, and Linux systemd services.
  • Microsoft reports that affected systems showed follow-on activity using tactics, tooling, and infrastructure previously associated with Sapphire Sleet.

Article Details

Event Type
npm software supply-chain attack involving compromised maintainer credentials and malicious package updates
Impact
More than 140 packages in the @mastra scope were reportedly updated to include the malicious easy-day-js dependency. On installation, it deployed a dropper and a cross-platform information stealer targeting Windows, Linux, and macOS systems. The malware targeted credentials, API keys, authentication tokens, and cryptocurrency wallets. Microsoft also reported follow-on activity on systems that communicated with attacker-controlled C2 infrastructure.

MITRE ATT&CK

Threat Actors

Vendors

Products

Industries

Related Articles