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

    A Firmware Flaw in One of the Most Trusted Bitcoin Hardware Wallets Just Drained Over $70 Million in Crypto. The Coldcard Breach Is a Reminder That Cold Storage Is Only as Safe as the Code Running Inside It

    August 29, 2026

    SMIC Just Reported Record Quarterly Revenue of $3 Billion and Raised Its Chip Prices to Match. China’s Most Important Semiconductor Manufacturer Is No Longer Playing Catch-Up on Revenue Either

    August 29, 2026

    A 19-Day Outage of a Single Overseas AI Model Triggered a UK National Security Review. Governments Are Only Now Realising How Much They Depend on Infrastructure They Do Not Control.

    August 28, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter)
    PhronewsPhronews
    • Home
    • Big Tech & Startups

      SMIC Just Reported Record Quarterly Revenue of $3 Billion and Raised Its Chip Prices to Match. China’s Most Important Semiconductor Manufacturer Is No Longer Playing Catch-Up on Revenue Either

      August 29, 2026

      A 19-Day Outage of a Single Overseas AI Model Triggered a UK National Security Review. Governments Are Only Now Realising How Much They Depend on Infrastructure They Do Not Control.

      August 28, 2026

      Apple Built a Custom AI Model With Alibaba Just to Operate in China. That Compromise Tells You Everything About How Fragmented Global AI Is Becoming.

      August 27, 2026

      A Former Bitcoin Miner Just Raised $2 Billion to Build GPU AI Factories Across Australia and Asia-Pacific. Nvidia, Blackstone, and Coatue Are Betting Firmus’ Liquid-Cooled, Grid-Aware Campuses Can Solve the Power Problem Data Centers Can’t.

      August 25, 2026

      Unitree Robotics Is Going Public in Shanghai at a $9 Billion Valuation and It Makes the Robots You Have Already Seen Walking Around the Internet. Here Is Whether the IPO Price Reflects Reality or Hype

      August 25, 2026
    • Crypto

      A Firmware Flaw in One of the Most Trusted Bitcoin Hardware Wallets Just Drained Over $70 Million in Crypto. The Coldcard Breach Is a Reminder That Cold Storage Is Only as Safe as the Code Running Inside It

      August 29, 2026

      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
    • Gadgets & Smart Tech
      Featured

      Google Has Launched the Pixel 11 With Its New Tensor G6 Chip and the Deepest Gemini Integration Any Android Phone Has Ever Shipped With. Here Is Whether the Hardware Finally Matches the AI Ambition.

      By preciousAugust 25, 2026
      Recent

      Google Has Launched the Pixel 11 With Its New Tensor G6 Chip and the Deepest Gemini Integration Any Android Phone Has Ever Shipped With. Here Is Whether the Hardware Finally Matches the AI Ambition.

      August 25, 2026

      Apple Just Delayed Development on Its Smart Glasses After Internal Privacy Reviews. The Delay Is the Clearest Sign Yet That Wearable AI Has a Trust Problem That Hardware Cannot Solve.

      August 4, 2026

      Microsoft Is Building Quantum-Resistant Security Before Quantum Computers Can Break the Encryption Protecting Everything. Here Is How Far Along That Work Actually Is

      July 21, 2026
    • Cybersecurity & Online Safety

      A Firmware Flaw in One of the Most Trusted Bitcoin Hardware Wallets Just Drained Over $70 Million in Crypto. The Coldcard Breach Is a Reminder That Cold Storage Is Only as Safe as the Code Running Inside It

      August 29, 2026

      Horizon3 Just Tripled Its Valuation to $2 Billion for AI That Autonomously Pentests Live Production Systems Without Shutting Them Down. The Round Came as OpenAI and Anthropic Admitted Their Own Models Had Breached Real Systems on Their Own.

      August 26, 2026

      A New Attack Family Called Pass-the-Passkey Just Bypassed the MFA That Was Supposed to Make Passwords Obsolete. Windows 11 and Microsoft Entra ID Are Both Affected and the Timing Could Not Be Worse

      August 25, 2026

      Microsoft’s August Patch Tuesday Fixed 398 Security Flaws Including a WinSock Zero-Day That Was Already Being Exploited Before Most People Knew It Existed. Here Is What to Prioritise

      August 24, 2026

      OpenAI’s New Cyber Model Found Two Real Chrome Zero-Days on Its Own. The Same Model Built to Defend Networks Just Proved It Can Also Break Into Them.

      August 23, 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

    A Firmware Flaw in One of the Most Trusted Bitcoin Hardware Wallets Just Drained Over $70 Million in Crypto. The Coldcard Breach Is a Reminder That Cold Storage Is Only as Safe as the Code Running Inside It

    August 29, 2026

    Horizon3 Just Tripled Its Valuation to $2 Billion for AI That Autonomously Pentests Live Production Systems Without Shutting Them Down. The Round Came as OpenAI and Anthropic Admitted Their Own Models Had Breached Real Systems on Their Own.

    August 26, 2026

    Apple Has Sent Mercenary Spyware Warning Notifications to iPhone Users Across 110 Countries. If You Got One You Need to Act Immediately. If You Did Not You Still Need to Read This

    August 25, 2026

    Comments are closed.

    Top Posts

    Coinbase responds to hack: customer impact and official statement

    May 22, 2025

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

    March 23, 2026

    Anthropic Will Use Claude User Chats For Data Training

    October 16, 2025

    MIT Study Reveals ChatGPT Impairs Brain Activity & Thinking

    June 29, 2025
    Don't Miss
    Crypto, Blockchain & Web3

    A Firmware Flaw in One of the Most Trusted Bitcoin Hardware Wallets Just Drained Over $70 Million in Crypto. The Coldcard Breach Is a Reminder That Cold Storage Is Only as Safe as the Code Running Inside It

    By fariehanAugust 29, 2026

    Hardware wallets promise protection because they keep signing keys away from internet-connected systems. However, secure…

    SMIC Just Reported Record Quarterly Revenue of $3 Billion and Raised Its Chip Prices to Match. China’s Most Important Semiconductor Manufacturer Is No Longer Playing Catch-Up on Revenue Either

    August 29, 2026

    A 19-Day Outage of a Single Overseas AI Model Triggered a UK National Security Review. Governments Are Only Now Realising How Much They Depend on Infrastructure They Do Not Control.

    August 28, 2026

    Apple Built a Custom AI Model With Alibaba Just to Operate in China. That Compromise Tells You Everything About How Fragmented Global AI Is Becoming.

    August 27, 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

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

    March 23, 2026

    Anthropic Will Use Claude User Chats For Data Training

    October 16, 2025
    © 2025. Phronews.
    • Home
    • About Us
    • Get In Touch
    • Privacy Policy
    • Terms and Conditions

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