---
title: Microsoft Links Mastra AI Supply Chain Attack to North Korean Hackers
description: Microsoft links a supply chain attack on Mastra to North Korea's Sapphire Sleet, compromising npm packages to target crypto wallets.
canonical_url: https://codekeeper.co/ticker/supply-chain-attack-on-mastra-by-sapphire-sleet
---

# Microsoft Links Mastra AI Supply Chain Attack to North Korean Hackers

Microsoft links a supply chain attack on Mastra to North Korea's Sapphire Sleet, compromising npm packages to target crypto wallets.

![Content Team](https://codekeeper.co/hubfs/_sized/Codekeeper_21_beeldmerkL-800.png)

By Content Team Jun 28, 2026

Share [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

ON THIS PAGE

### Want more insights like this?

Subscribe to our newsletter to get the latest software protection strategies delivered to your inbox.

By submitting your email, you consent to Codekeeper contacting you and agree to our [privacy policy](https://codekeeper.co/privacy-policy) .

Microsoft has attributed a supply chain attack on Mastra — an open-source TypeScript framework for building AI applications — to North Korean state actor Sapphire Sleet, also tracked as APT38 and BlueNoroff. The attribution, made June 19 with "high confidence," came after attackers compromised an npm maintainer account and poisoned over 140 packages with malicious code that ran straight from a postinstall hook. The malware targeted cryptocurrency wallets from 166 browser extensions, including MetaMask and Coinbase Wallet, while also stealing browser history and system data. It ran on Windows, macOS and Linux, and switched off TLS certificate verification before phoning home. Developers should check for easy-day-js dependencies. Mastra 1.13.0 and earlier and @mastra/core 1.42.0 and earlier are unaffected — anything newer needs checking. **Source:** [Infosecurity Magazine](https://www.infosecurity-magazine.com/news/mastra-ai-supply-chain-attack/)

Share this article [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Fsupply-chain-attack-on-mastra-by-sapphire-sleet%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

![blog_book_a_demo_cta_3x](https://codekeeper.co/hubfs/_sized/Codekeeper%202025/blog_book_a_demo_cta_3x-768x512.webp)

Have questions about protecting your software?

Our escrow experts are standing by to help.

[Book a free demo](https://codekeeper.co/book-a-demo)

YOU MAY ALSO LIKE

[Cyberattacks Mirage2FA Phishing Kit Steals Microsoft 365 Sessions, Targets 3,500+ Organizations Aug 27, 2026](https://codekeeper.co/ticker/mirage2fa-phishing-tool-hits-microsoft-365)

[Software security Meta Patched a Flaw That Let Attackers Hijack Its AI Agent Sep 22, 2026](https://codekeeper.co/ticker/zero-day-vulnerability-meta-muse-ai-macos)

[Cyberattacks Cyber Incident Closes Everett City Hall to the Public for Three Days Sep 9, 2026](https://codekeeper.co/ticker/everett-city-hall-cyberattack-closure)

[Cyberattacks Gemini Broke Into Three Companies After a Test Misconfiguration Let It Online Sep 22, 2026](https://codekeeper.co/ticker/google-gemini-ai-security-test-break-in)
