Close Menu

    Stay Ahead with Exclusive Updates!

    Enter your email below and be the first to know what’s happening in the ever-evolving world of technology!

    What's Hot

    Norway Just Banned AI in Elementary Schools. The Country That Already Removed Smartphones From Classrooms Is Now Drawing the Firmest Line Any Government Has Set Between AI and Children.

    June 26, 2026

    Britain’s Cyber Agency Just Warned That AI-Generated Code Could Trigger the Next Wave of Catastrophic Security Failures. The Advisory Names Vibe Coding Directly and It Is Not a Mild Caution.

    June 26, 2026

    North Korea Compromised 144 AI Developer Packages in 88 Minutes Without Touching a Single Line of Source Code. The Mastra Attack Is the Most Targeted Supply Chain Strike Against AI Development Tools Ever Documented.

    June 26, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter)
    PhronewsPhronews
    • Home
    • Big Tech & Startups

      Norway Just Banned AI in Elementary Schools. The Country That Already Removed Smartphones From Classrooms Is Now Drawing the Firmest Line Any Government Has Set Between AI and Children.

      June 26, 2026

      Britain’s Cyber Agency Just Warned That AI-Generated Code Could Trigger the Next Wave of Catastrophic Security Failures. The Advisory Names Vibe Coding Directly and It Is Not a Mild Caution.

      June 26, 2026

      Tesla Is Expanding Full Self-Driving Robotaxi Testing Across New U.S. Cities. The Gap Between What Tesla Promises and What Regulators Will Allow Is About to Be Tested in Public

      June 26, 2026

      If You Use ChatGPT, Gemini, or Claude in Europe, This New Transparency Law Affects You Too

      June 26, 2026

      SpaceX Just Signed a $6.3 Billion Compute Deal With Reflection AI. A Company That Went Public to Build Rockets Is Quietly Becoming the Infrastructure Backbone of the Frontier AI Race.

      June 23, 2026
    • Crypto

      Market Collapse: What Happened to NFTs?

      April 23, 2026

      Quantum Computing Advances Force Coinbase and Institutional Custodians to Rethink Crypto Security

      March 8, 2026

      AI Assisted Hacking Groups Target Crypto Firms With Multi-Layered Social Engineering

      February 18, 2026

      Global Crypto Regulations Expand as 2026 Begins With New Data Collection Frameworks and National Laws

      January 16, 2026

      Coinbase Bets on Stablecoin and On-Chain Growth as Key Market Drivers in 2026 Strategy

      January 10, 2026
    • Gadgets & Smart Tech
      Featured

      Apple Just Rebuilt Siri With AI Across Every Device It Makes. WWDC 2026 Was Not a Software Update. It Was a Strategic Repositioning

      By fariehanJune 20, 2026
      Recent

      Apple Just Rebuilt Siri With AI Across Every Device It Makes. WWDC 2026 Was Not a Software Update. It Was a Strategic Repositioning

      June 20, 2026

      The 1-Petaflop Superchip: How Nvidia RTX Spark Puts Local AI Agents Directly on Your Laptop.

      June 13, 2026

      The Silicon Shakeup: Why Nvidia’s Arm-Based RTX Spark Has Intel and AMD Completely on the Defensive

      June 12, 2026
    • Cybersecurity & Online Safety

      Britain’s Cyber Agency Just Warned That AI-Generated Code Could Trigger the Next Wave of Catastrophic Security Failures. The Advisory Names Vibe Coding Directly and It Is Not a Mild Caution.

      June 26, 2026

      North Korea Compromised 144 AI Developer Packages in 88 Minutes Without Touching a Single Line of Source Code. The Mastra Attack Is the Most Targeted Supply Chain Strike Against AI Development Tools Ever Documented.

      June 26, 2026

      A Criminal Group Now Holds Working Credentials for More Than 70,000 Fortinet Firewalls Across 194 Countries and Is Still Active. Accenture, Oracle, Samsung and PwC Are Among the Named Victims of FortiBleed.

      June 24, 2026

      A Dataset of 24 Billion Stolen Usernames and Passwords Just Surfaced Online. Researchers Are Already Calling It the Largest Credential Exposure of 2026.

      June 24, 2026

      Google Patched a Flaw That Lets Anyone Hijack AI Models Inside Its Cloud Without Any Access to the Victim’s Account

      June 22, 2026
    PhronewsPhronews
    Home»Cybersecurity & Online Safety»North Korea Compromised 144 AI Developer Packages in 88 Minutes Without Touching a Single Line of Source Code. The Mastra Attack Is the Most Targeted Supply Chain Strike Against AI Development Tools Ever Documented.
    Cybersecurity & Online Safety

    North Korea Compromised 144 AI Developer Packages in 88 Minutes Without Touching a Single Line of Source Code. The Mastra Attack Is the Most Targeted Supply Chain Strike Against AI Development Tools Ever Documented.

    preciousBy preciousJune 26, 2026No Comments
    Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Photo Credit: Budrul Chukrut/SOPA Images/LightRocket via Getty Images

    North Korea’s Sapphire Sleet hacking group compromised 144 packages in the Mastra AI framework’s npm scope in a single 88-minute automated campaign. 

    Developers who ran a standard install command during that window may have handed a foreign state actor their cloud credentials, LLM API keys, and cryptocurrency wallet data without any visible warning. Microsoft attributed the attack with “high confidence” to Sapphire Sleet, also tracked as BlueNoroff, a North Korean state actor that primarily targets the financial sector.

    What Mastra Is and Why It Was Targeted

    Mastra is an open-source TypeScript AI agent framework with over 1.1 million combined weekly downloads. Because Mastra sits at the intersection of AI development and cloud infrastructure, its packages are routinely installed in environments that hold some of the most sensitive credentials in modern software development, according to StepSecurity. That made it an exceptionally high-value target.

    How the Attack Was Built

    The operation did not rely on a software vulnerability, as no CVE entry was assigned and Mastra’s source code was never touched.

    The attacker targeted an npm account belonging to “ehindero,”  a former Mastra contributor whose publishing rights across the entire @mastra scope had never been revoked, even though the account had been dormant since February 2025. Mastra later confirmed the account belonged to a current employee whose machine was compromised via social engineering, with a compromised LinkedIn account reaching out to the employee and other prominent TypeScript open-source maintainers, and them clicking a suspicious link while on a call.

    The day before the main strike, a second attacker-controlled account, “sergey2016,” published easy-day-js@1.11.21, a byte-for-byte copy of the legitimate dayjs date library, with the same author name, homepage, repository URL, and version numbering. This clean version was published to build credibility before the trap was set.

    The 88-Minute Strike

    The attacker then published easy-day-js@1.11.22, visually identical to 1.11.21 but containing a malicious postinstall hook. Because the @mastra packages were configured to accept any patch version 1.11.21 or higher, npm’s semantic versioning resolution automatically upgraded every fresh install to the armed 1.11.22. From that moment, running npm install was the attack. The infected packages looked clean because they were.

    But once installed, a postinstall hook activated an obfuscated dropper that disabled TLS certificate verification, contacted the attackers’ command-and-control infrastructure, and downloaded a second payload onto the victim’s system. The second stage was a cross-platform stealer targeting credentials, API keys, authentication tokens, browser history, and data from 166 cryptocurrency wallet browser extensions, running across Windows, Linux, and macOS. After executing, the loader erased itself to minimize the forensic trail.

    What Developers Should Do

    Any workstation, CI runner, or build system that installed any @mastra package after June 16, 2026 should be treated as fully compromised. Remediation includes rolling back to pre-incident package versions and rotating all credentials, including npm tokens, cloud provider keys, LLM API keys, CI/CD secrets, and database credentials. For mastra, version 1.13.0 and earlier are unaffected. For @mastra/core, version 1.42.0 and earlier are unaffected.

    Microsoft also links Sapphire Sleet to a separate npm supply chain attack on the Axios HTTP client in April 2026, confirming this is a sustained campaign against widely used JavaScript developer tooling and not a one-off incident.

    BlueNoroff cybersecurity Developer Security LLM API Keys Mastra AI North Korea npm Open source security Sapphire Sleet supply chain attack
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    precious
    • LinkedIn

    I’m Precious Amusat, Phronews’ Content Writer. I conduct in-depth research and write on the latest developments in the tech industry, including trends in big tech, startups, cybersecurity, artificial intelligence and their global impacts. When I’m off the clock, you’ll find me cheering on women’s footy, curled up with a romance novel, or binge-watching crime thrillers.

    Related Posts

    Britain’s Cyber Agency Just Warned That AI-Generated Code Could Trigger the Next Wave of Catastrophic Security Failures. The Advisory Names Vibe Coding Directly and It Is Not a Mild Caution.

    June 26, 2026

    A Criminal Group Now Holds Working Credentials for More Than 70,000 Fortinet Firewalls Across 194 Countries and Is Still Active. Accenture, Oracle, Samsung and PwC Are Among the Named Victims of FortiBleed.

    June 24, 2026

    A Dataset of 24 Billion Stolen Usernames and Passwords Just Surfaced Online. Researchers Are Already Calling It the Largest Credential Exposure of 2026.

    June 24, 2026

    Comments are closed.

    Top Posts

    Coinbase responds to hack: customer impact and official statement

    May 22, 2025

    Anthropic Will Use Claude User Chats For Data Training

    October 16, 2025

    Cursor AI Hits 1 Million Daily Users. Why Developers Are Switching to This Coding Tool

    March 23, 2026

    MIT Study Reveals ChatGPT Impairs Brain Activity & Thinking

    June 29, 2025
    Don't Miss
    Artificial Intelligence & The Future

    Norway Just Banned AI in Elementary Schools. The Country That Already Removed Smartphones From Classrooms Is Now Drawing the Firmest Line Any Government Has Set Between AI and Children.

    By preciousJune 26, 2026

    Norway’s Prime Minister Jonas Gahr Støre has announced that generative AI tools are now off-limits…

    Britain’s Cyber Agency Just Warned That AI-Generated Code Could Trigger the Next Wave of Catastrophic Security Failures. The Advisory Names Vibe Coding Directly and It Is Not a Mild Caution.

    June 26, 2026

    North Korea Compromised 144 AI Developer Packages in 88 Minutes Without Touching a Single Line of Source Code. The Mastra Attack Is the Most Targeted Supply Chain Strike Against AI Development Tools Ever Documented.

    June 26, 2026

    Tesla Is Expanding Full Self-Driving Robotaxi Testing Across New U.S. Cities. The Gap Between What Tesla Promises and What Regulators Will Allow Is About to Be Tested in Public

    June 26, 2026
    Stay In Touch
    • Facebook
    • Twitter
    About Us
    About Us

    Evolving from Phronesis News, Phronews brings deep insight and smart analysis to the world of technology. Stay informed, stay ahead, and navigate tech with wisdom.
    We're accepting new partnerships right now.

    Email Us: info@phronews.com

    Facebook X (Twitter) Pinterest YouTube
    Our Picks
    Most Popular

    Coinbase responds to hack: customer impact and official statement

    May 22, 2025

    Anthropic Will Use Claude User Chats For Data Training

    October 16, 2025

    Cursor AI Hits 1 Million Daily Users. Why Developers Are Switching to This Coding Tool

    March 23, 2026
    © 2025. Phronews.
    • Home
    • About Us
    • Get In Touch
    • Privacy Policy
    • Terms and Conditions

    Type above and press Enter to search. Press Esc to cancel.