• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Sq Magazine LogoSQ Magazine

Smarter Insights for a Fast-Moving Digital World

  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Sq Magazine Logo
  • Latest News
  • Statistics
  • About
  • Contact
Add as a preferred
source on Google
Home » Cybersecurity

Axios npm Attack Pushes RAT Through Malicious Packages

Published on: March 31, 2026, 7:25 AM EDT
Sofia Ramirez
Senior Tech Writer • 667 Articles
Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps reader...
LATEST POSTS:
Signal Fixes Critical RingRTC Flaw That Could Keep Audio On After Hangup
OVHcloud CLI Backdoored to Steal Developer Secrets
Mesh Wi-Fi vs Wi-Fi Extender: When Each One Helps
Robert A. Lee
Senior Editor • 469 Articles
Robert A. Lee is a journalist at SQ Magazine who unpacks the fast-moving worlds of gaming and internet trends. He tracks everything from maj...
LATEST POSTS:
How to Make Software Training Videos Your Team Will Actually Watch
How to Run Retargeting Ads in 2026/27?
Influencer Marketing Platform Statistics 2026: Market and Spend
Axios Npm Attack Pushes Trojan Through Packages
As Featured In
The New York Times LogoForbes LogoWired LogoDeloitte LogoResearch.com Logo
Share on LinkedIn ChatGPT Perplexity Share on X Share on Facebook

A major supply chain attack has hit the popular JavaScript library Axios, exposing developers to a stealthy cross platform remote access trojan.

Quick Summary – TLDR:

  • Malicious versions axios 1.14.1 and 0.30.4 were published using a compromised maintainer account.
  • Attackers injected a fake dependency plain crypto js to deploy a hidden RAT.
  • The malware targeted macOS, Windows, and Linux with platform specific payloads.
  • Developers are urged to downgrade immediately and rotate credentials.

What Happened?

Two malicious versions of the widely used npm package Axios were published after attackers gained access to a maintainer account. Instead of modifying Axios directly, they introduced a hidden dependency that silently executed a remote access trojan during installation. The attack bypassed standard security checks and spread quickly due to Axios’ massive usage across projects.

🚨 CRITICAL: Active supply chain attack on axios — one of npm’s most depended-on packages.

The latest axios@1.14.1 now pulls in plain-crypto-js@4.2.1, a package that did not exist before today. This is a live compromise.

This is textbook supply chain installer malware. axios…

— Feross (@feross) March 31, 2026

A Carefully Planned Supply Chain Attack

The attack targeted one of the most trusted libraries in the JavaScript ecosystem. Axios sees tens to hundreds of millions of weekly downloads, making it a high impact entry point.

Security researchers found that attackers used compromised npm credentials of the primary maintainer to publish the infected versions. The email linked to the account was changed to an anonymous ProtonMail address, allowing the attacker to maintain control and avoid detection. Crucially, the malicious packages were published outside the normal CI/CD pipeline, which meant automated checks were bypassed entirely.

What makes this attack stand out is its level of preparation. Researchers noted that:

  • A clean version of the malicious package was published first to build trust.
  • The weaponized version appeared around 18 hours later.
  • Both infected Axios releases were pushed within 39 minutes of each other.
  • The malware contacted its command server within seconds of installation.

This was not random activity. It was a deliberate and coordinated operation.

How the Malware Works?

Interestingly, Axios itself remained untouched. There was no malicious code inside the library, making traditional code reviews ineffective.

Instead, attackers injected a dependency called plain crypto js version 4.2.1, which is not used anywhere in the Axios codebase. Its only purpose was to execute a post install script.

This script acted as a dropper for a remote access trojan, which behaved differently depending on the operating system:

  • On macOS, it downloaded a binary disguised as a system file and executed it in the background.
  • On Windows, it copied PowerShell to a fake system path and ran a hidden script using VBScript.
  • On Linux, it fetched a Python script and executed it silently.

All variants communicated with the same command and control server, sending system data and receiving instructions. The malware supported actions such as:

  • Executing shell commands
  • Running additional payloads
  • Accessing files on the system

Notably, the malware did not establish persistence, suggesting it was designed for quick data theft or follow up attacks.

Newsletter
Don’t chase tech news. We track it for you.

One weekly briefing with the launches, AI developments, and breaches that matter. No filler.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.

Built to Evade Detection

One of the most alarming aspects of the attack is how it covered its tracks.

After executing, the malicious package performed several cleanup steps:

  • Removed the post install script.
  • Deleted the modified package file.
  • Replaced it with a clean looking version.

This meant that even if developers inspected their node modules later, they would find no obvious signs of compromise.

Security experts pointed out that the malicious behavior lived entirely in a transitive dependency, making it extremely difficult to detect using standard review methods.

What Developers Should Do Now?

Developers who installed the affected versions should act immediately.

Recommended steps include:

  • Downgrade to safe versions such as axios 1.14.0 or 0.30.3.
  • Remove the plain crypto js package from dependencies.
  • Check for suspicious files like.
    • /Library/Caches/com.apple.act.mond on macOS
    • %PROGRAMDATA%wt.exe on Windows
    • /tmp/ld.py on Linux
  • Rotate all credentials, including API keys, tokens, and SSH keys.
  • Audit CI/CD pipelines for exposure.
  • Consider using install flags to disable scripts during dependency installation.

Security researchers warn that if any indicators are found, systems should be treated as fully compromised.

SQ Magazine’s Takeaway

I think this incident shows how fragile the open source ecosystem really is right now. Even a trusted library like Axios can become a threat overnight without a single line of its own code being changed. That is what makes this attack scary.

What stood out to me is the precision. This was not a noisy attack. It was quiet, fast, and designed to disappear. If developers are not actively monitoring their dependencies and build processes, they could miss something like this completely.

Going forward, I believe teams need to treat dependencies as part of their attack surface, not just tools. Simple steps like restricting install scripts and auditing packages more closely can make a real difference.

This article has been reviewed and fact-checked by Robert A. Lee. SQ Magazine follows strict Publishing Principles and a documented Fact-Check Policy to ensure accuracy, transparency, and editorial independence across all content.

Add SQ Magazine as a Preferred Source on Google for updates! Follow on Google News
Share ChatGPT Perplexity
Sofia Ramirez

Sofia Ramirez

Senior Tech Writer


Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps readers stay informed and secure in today’s fast-changing tech landscape. Passionate about making cybersecurity accessible, Sofia blends research-driven analysis with straightforward explanations; so whether you’re a tech professional or a curious reader, her work ensures you’re always one step ahead in the digital world.

Related Posts

Npm Attack Hits Keyv And Cacheable
Cybersecurity

npm Attack Hits Keyv and Cacheable Packages, Security Alert

Megalodon Malware Hits Thousands Of Github Projects
Cybersecurity

New Megalodon Malware Hits Thousands of GitHub Projects

Aws Codebreach Bug Exposed Millions
Cybersecurity

AWS CodeBreach Bug Exposed Millions to Potential Supply Chain Attack

Disclaimer: The content published on SQ Magazine is for informational and educational purposes only. Please verify details independently before making any important decisions based on our content.

Reader Interactions

Leave a Comment Cancel reply

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

TrapDoor Malware Targets npm, PyPI, and Rust Developers
Zapier, Postman, ENS Hit as Shai-Hulud Malware Infects Hundreds of npm Packages
Critical React Native CLI Flaw Puts Millions of Developers at Risk

Table of Contents

  • Quick Summary – TLDR:
  • What Happened?
  • A Carefully Planned Supply Chain Attack
  • How the Malware Works?
  • Built to Evade Detection
  • What Developers Should Do Now?
  • SQ Magazine’s Takeaway

Weekly stats quiz Week 43

How much of a tech geek are you?

5 fast questions from this week's verified industry data. About a minute.

Play the quiz New every Monday

Footer

SQ Magazine Logo

Smarter Insights for a Fast-Moving Digital World

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer
  • Cookie Policy

Worth Checking

  • The Tech Index
  • The Threat Index
  • Social Media Attention Span Stats
  • Instagram Followers Stats
  • Google Usage Stats
  • LLM Hallucination Stats
  • Gen Z Social Media Stats
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. to 6 p.m. | Every day

Copyright © 2022–2026 SQ Magazine. All Rights Reserved. Powered by the Neural Stack.

  • Privacy Policy
  • Terms
  • Accessibility Statement
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • Brand Assets
    Brand Assets
  • Stats Methodology
    Stats Research Process
  • Glossary
    Glossary
Categories
  • Internet
  • Technology
  • Artificial Intelligence
  • Gaming
  • Cryptocurrency
Internet
Influencer Marketing Platform Statistics 2026: Market and Spend
Influencer Marketing Platform Statistics 2026: Market and Spend
Dailymotion Statistics Users Views and Market Share
Dailymotion Statistics 2026: Users, Views and Market Share
Average Attention Span Statistics The Cross-Domain Numbers
Average Attention Span Statistics 2026: The Cross-Domain Numbers
How Many Videos Are on YouTube Statistics
How Many Videos Are on YouTube Statistics 2026: Key Data
How Many People Work at WhatsApp
How Many People Work at WhatsApp 2026: Employee Count and History
Spotify Listening Statistics
Spotify Listening Statistics 2026: Average Listening Time
Technology
Linux Distro Market Share Statistics Most Popular Distributions
Linux Distro Market Share Statistics 2026: Most Popular Distributions
Average US Salary Statistics Median Income by Age and State
Average US Salary Statistics 2026: Median Income by Age and State
Aptoide Statistics 2026: Downloads, Users and App Store Share
Aptoide Statistics 2026: Downloads, Users and App Store Share
AppsFlyer Statistics Customers Revenue and Market Position
AppsFlyer Statistics 2026: Customers, Revenue and Market Position
How Many iPhones Has Apple Sold
How Many iPhones Has Apple Sold in 2026? Units Sold by Year
How Many Employees Does Amazon Have
How Many Employees Does Amazon Have 2026: Workforce Growth
Artificial Intelligence
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
AI Search Engine Statistics Usage Market Share and Adoption
AI Search Engine Statistics 2026: Usage, Market Share and Adoption
AI Music Statistics
AI Music Statistics 2026: Generation, Adoption and Industry Impact
AI Coding Statistics
AI Coding Statistics 2026: Adoption, Productivity and Market Data
How Much Content on Social Media Is AI Generated Statistics
How Much Content on Social Media Is AI Generated Statistics 2026: Hidden Truths
ChatGPT vs DeepSeek Statistics
ChatGPT vs DeepSeek Statistics 2026: Users, Benchmarks & Pricing
Gaming
Clash Royale Statistics Revenue Players and Engagement
Clash Royale Statistics 2026: Revenue, Players and Engagement
Gaming Statistics
Gaming Statistics 2026: Market Size, Players, Revenue, and Platforms
Roblox vs Minecraft Statistics
Roblox vs Minecraft Statistics 2026: Players, Revenue, Creators
Online Gambling Regulations Statistics
Online Gambling Regulations Statistics 2026: Global Compliance and Enforcement Data
Fantasy Sports Statistics
Fantasy Sports Statistics 2026: Users, Revenue & Trends
Apex Legends Statistics 2026: Players, Revenue, and Esports
Apex Legends Statistics 2026: Players, Revenue, and Esports
Cryptocurrency
How Many Bitcoins Are There
How Many Bitcoins Are There in 2026? Supply, Mined and Remaining Statistics
Stablecoin Usage Statistics
Stablecoin Usage Statistics 2026: Explosive Growth
Cryptocurrency Adoption Statistics
Cryptocurrency Adoption Statistics 2026: Shocking Trends Now
Coinbase Wallet Statistics
Coinbase Wallet Statistics 2026: Users, Security
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
BONK Coin Statistics Supply Holders Price and Treasury Data
BONK Coin Statistics 2026: Supply, Holders, Price and Treasury Data
Categories
  • Artificial Intelligence
  • Cybersecurity
  • Technology
  • Internet
  • Cryptocurrency
Artificial Intelligence
Google Cloud Brings Openai Models
Google Cloud Brings OpenAI Models to Enterprise Customers
Muse Spark Open Launched With Apple
Meta’s Muse Spark Open Lands With Fine Print and a China Gap
Nvidia Nemotron 3 5 Super Vl Featured 2
NVIDIA Launches Open Nemotron 3.5 Super VL AI Model
Gemini 4 Argon Official Launched For Everyone
Gemini 4 Argon Official Launched to Consumer, Enterprise and Developers
Openai Gpt 6 1 Sol Codex Degraded Performance Featured 1
OpenAI Reports Degraded Performance in GPT-6.1 Sol Codex
Meta Muse New Models Launched
Meta Launches Muse Wonder and Muse Wonder Full Agent Models
Cybersecurity
Php Critical Update Warning
PHP Readies Critical Security Update for Two 9.2 Flaws
Signal Call Ringrtc Flaw Fix
Signal Fixes Critical RingRTC Flaw That Could Keep Audio On After Hangup
Ovhcloud Cli Supply Chain Malware
OVHcloud CLI Backdoored to Steal Developer Secrets
Sbi Data Breach Claim Unverified
SBI Confirms Customer Data Loss After Dark Web Leak Claim
Rank Math Pro Plugin Malware Update
Rank Math SEO Pro Update Linked to Malware Incident
Burger King Japan Data Breach Confirmed
Burger King Japan Says Breach May Affect 11.18M Accounts
Technology
Apple Music New Logo Rebrand
Apple Music Rebrands With a Logo Made by Fred Again’s Music
Apple Homepod Mini 2 Preorder Featured 1
Apple Launches HomePod Mini 2 with £149 and Opens Pre-Order
Amazon Tablet With Android Launched
Amazon Debuts Ultra-Thin Alexa Tablet 12 Pro at $499
Apple Autumn Launch Surprise
Apple Eyes Surprise Late-October Launch for New Macs
Microsoft Windows Deployment Service Deprecation
Microsoft Will Deprecate Windows Deployment Services After Server 2025
Youtube Custom Feeds With Gemini Ai
YouTube’s AI Feed Builder Changes Video Discovery
Internet
Microsoft 365 Family Sharing Storage Cuts
Microsoft 365 Family Faces Massive OneDrive Storage Cut
Meta Launched Meta One Subscription
Meta One Bundles Instagram, Facebook, WhatsApp Into One AI Subscription
Apple Wallet Ids Launch In Oklahoma
Apple Wallet IDs Launch in Oklahoma in Major Expansion
Meta to Pay 18 Billion in Landmark Teen Safety Deal
Meta to Pay $18 Billion in Landmark Teen Safety Deal
Whatsapp Brings Passkeys 2fa
WhatsApp Hits 1 Billion Passkey Users, Adds 2FA Passwords
Apple Eu App Store Fee Reduction
Apple Sets New EU App Store Fees, Effective October 1
Cryptocurrency
Sonic Labs Launch Ussd Stablecoin
Sonic Launches USSD Stablecoin Backed by US Treasuries
Bhutan Moves 12m In Bitcoins
Bhutan Moves $12 Million in Bitcoin from Primary Wallets
Curve Finance Accuses Pancakeswap For Code Stealing
Curve Accuses PancakeSwap of Copying StableSwap Code
Strike Receives Bitlicense In New York
Strike Gets New York BitLicense for Bitcoin Financial Services
Scotiabank Multi Crypto Etf 3iqlogos
Scotiabank Launches Multi Crypto ETF With 3iQ in Canada
Nyse Parent Invests In Okx Crypto Exchange
ICE Invests in OKX to Bridge Crypto and Traditional Finance
Newsletter

Too much tech noise?

We respect your time. One high-signal briefing a week: tech, AI, and security. Nothing else.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.