<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp" -->

---
title: Microsoft links Mastra AI supply chain attack to North...
description: Microsoft has attributed a supply chain attack on the Mastra AI npm ecosystem to North Korean state-sponsored group Sapphire Sleet (BlueNoroff). Attackers...
canonical: https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Microsoft links Mastra AI supply chain attack to North Korean hackers | daily.dev
og:description: Microsoft has attributed a supply chain attack on the Mastra AI npm ecosystem to North Korean state-sponsored group Sapphire Sleet (BlueNoroff). Attackers...
og:url: https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp
og:image: https://api.daily.dev/og/posts/nWwAzVePP.png
og:image:alt: Microsoft links Mastra AI supply chain attack to North Korean hackers
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft links Mastra AI supply chain attack to North Korean hackers

**[BleepingComputer](https://daily.dev/sources/bleepingcomputer)** · 3 min read · 0 upvotes · 0 comments

## Summary

Microsoft has attributed a supply chain attack on the Mastra AI npm ecosystem to North Korean state-sponsored group Sapphire Sleet (BlueNoroff). Attackers compromised the npm maintainer account 'ehindero' and published malicious updates to over 140 packages in the @mastra scope, injecting a typosquatted dependency called 'easy-day-js' (mimicking dayjs). A post-install hook deployed a cross-platform information stealer targeting Windows, Linux, and macOS, collecting browser history, credentials, API keys, and checking for 166 cryptocurrency wallet extensions including MetaMask and Coinbase Wallet. The malware used OS-specific persistence mechanisms and connected to attacker-controlled C2 infrastructure. Microsoft also linked the same group to a prior npm supply chain attack on the Axios HTTP client in April 2026.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.bleepingcomputer.com/news/security/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers>

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#malware](https://daily.dev/tags/malware), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Microsoft links Mastra AI supply chain attack to North Korean hackers","url":"https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp"},"datePublished":"2026-06-20T14:12:44.174Z","dateModified":"2026-06-20T14:28:09.733Z","description":"Microsoft has attributed a supply chain attack on the Mastra AI npm ecosystem to North Korean state-sponsored group Sapphire Sleet (BlueNoroff). Attackers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/650532384c6c878c70e22ed2ff94cd77?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/650532384c6c878c70e22ed2ff94cd77?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"BleepingComputer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"BleepingComputer","logo":"https://media.daily.dev/image/upload/s--as8nJ3qy--/f_auto,q_auto/v1774959951/logos/bleepingcomputer?_a=BAMAMiWQ0","url":"https://daily.dev/sources/bleepingcomputer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/microsoft-links-mastra-ai-supply-chain-attack-to-north-korean-hackers-nwwazvepp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,malware,npm","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"BleepingComputer","item":"https://daily.dev/sources/bleepingcomputer"},{"@type":"ListItem","position":3,"name":"Microsoft links Mastra AI supply chain attack to North Korean hackers"}]}
```

