Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief
Malware Critical

Axios npm Supply Chain Attack: Versions 1.14.1 and 0.30.4 Dropped a Cross-Platform RAT

Attackers hijacked an Axios maintainer's npm account and published versions 1.14.1 and 0.30.4 with a hidden dependency that installed a remote access trojan on macOS, Windows and Linux. GTIG links the activity to UNC1069.

Axios npm Supply Chain Attack: Versions 1.14.1 and 0.30.4 Dropped a Cross-Platform RAT

Attackers compromised the npm account of a lead maintainer of Axios, one of the most widely used JavaScript HTTP client libraries, and published two malicious releases: 1.14.1 and 0.30.4. According to Qualys, both versions added a hidden dependency, plain-crypto-js version 4.2.1, whose install-time script dropped a remote access trojan (RAT) on macOS, Windows and Linux systems.

Google Threat Intelligence Group (GTIG) attributed the campaign to UNC1069, a financially motivated threat actor with a North Korea nexus that has been active since at least 2018. Qualys reports that GTIG based the attribution on the use of WAVESHAPER.V2, an updated version of malware previously tied to the group. The malicious releases and the rogue dependency have since been removed from npm.

What happened

As described by Qualys, the attackers took over the npm account of maintainer jasonsaayman and changed its registered email address. They then used an npm access token to publish directly to the registry, bypassing the project’s normal GitHub release process. The malicious versions had no matching Git tags and lacked the OpenID Connect provenance metadata that accompanies legitimate releases.

When a developer or build system installed an affected version, the plain-crypto-js postinstall script ran automatically. It contacted a live command-and-control (C2) server and fetched a second-stage payload tailored to the host operating system. Each payload sent reconnaissance data back to the C2 and waited for commands, including one Qualys identifies as peinject, used to inject further malware. After running, the dropper deleted itself and replaced its package.json with a clean copy, leaving little evidence beyond the plain-crypto-js folder in node_modules.

Who is affected

Any system that installed one of the two malicious releases is affected, including developer workstations, CI/CD runners and container builds. Qualys notes that Axios packages typically see more than 100 million downloads and are used across front-end, back-end and enterprise software.

PackageMalicious versionSafe version to use
axios1.14.11.14.0
axios0.30.40.30.3
plain-crypto-js4.2.1Remove entirely

Severity and exploitation

This is a malicious package incident, not a software flaw, and no CVE or CVSS score is cited in the source. Execution was automatic on install, so no further user action was needed. Qualys lists the following host artifacts from the payloads, which defenders can use for hunting:

  • macOS: a Mach-O binary written to /Library/Caches/com.apple.act.mond, with beaconing to endpoints imitating npm infrastructure.
  • Windows: a PowerShell-based dropper staged as %PROGRAMDATA%wt.exe and launched via VBScript.
  • Linux: a Python loader at /tmp/ld.py.
  • All platforms: a plain-crypto-js directory under node_modules.

What defenders should do now

  1. Search lockfiles, build logs and artifact caches for [email protected], [email protected] and plain-crypto-js.
  2. On any system that installed them, treat it as compromised: isolate it and check for the file artifacts listed above.
  3. Rotate every secret and credential reachable from affected machines, including npm, cloud, source control and CI tokens.
  4. Pin Axios to 1.14.0 or 0.30.3 until a verified newer release is adopted.
  5. Consider disabling install scripts in CI where possible and require provenance checks for critical dependencies.
  6. Qualys customers can use QIDs 386943 and 5010006; the latter requires Software Composition Analysis (SwCA) to be enabled.

SCVM analysis

This incident shows why missing provenance metadata should be treated as a warning sign. The malicious releases skipped the project’s usual pipeline, and tooling that checks for signed provenance could have flagged them before installation.

For vulnerability management programs, supply chain events do not fit neatly into CVE-driven workflows. Teams need an inventory of which builds pulled which package versions and when, because remediation here is credential rotation and host investigation rather than a simple version bump.

Sources

About this article: produced by the SCVM Newsroom with AI assistance from the public sources linked above, enriched with NVD, FIRST EPSS and CISA KEV data, and checked by automated quality controls under our editorial policy. Spotted an error? Request a correction.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.