
On March 30, 2026, a threat actor compromised the npm account of jasonsaayman, the primary maintainer of axios, the most popular JavaScript HTTP client library with over 100 million weekly downloads.
The malicious versions contain zero lines of malicious code inside axios itself. Instead, they inject a hidden dependency, a reminder that third-party packages require careful vetting:
plain-crypto-js@4.2.1a package never imported anywhere in the legitimate axios source code. Its sole purpose is to execute a postinstall script that deploys a cross-platform remote access trojan (RAT) targeting macOS, Windows, and Linux.
Full coverage is available in this article from The Hacker News.
The attack unfolded in a precise, pre-planned sequence:
package.json to reference plain-crypto-js@4.2.1 before that version was published, meaning any scanner that resolved the dependency graph at the moment of the axios publish would find the dependency field pointing to a version that did not yet exist. This is a deliberate technique to defeat tools that inspect transitive dependency trees at publish time instead of at install time.@shadanai/openclaw
@qqbrowser/openclaw-qbot@0.0.130
axios@1.14.1 (malicious — downgrade to 1.14.0) axios@0.30.4 (malicious — downgrade to 0.30.3) Any project using caret ranges (e.g., ^1.14.0 or ^0.30.0) would have automatically pulled in the compromised version on its next fresh install. Both versions have been removed from npm; the latest tag now points to the safe axios@1.14.0 release.
Arnica customers can search their SBOM for the impacted axios packages directly from the platform. We have added this zero-day CVE to Arnica's celebrity vulnerability database, allowing you to identify all affected packages across your entire codebase instantly through automated security workflows powered by Arnie AI, your code protector. Organizations in pipelineless security for compliance-driven industries to respond quickly to supply chain threats without disrupting existing development pipelines.
To find affected packages in your SBOM:

Check your SBOM for affected packages using Arnica
Not finding evidence in the SBOM is a good first step, but developers may have installed the package in their local environments outside of your tracked repositories. We recommend taking the following actions across all systems:
Confirm no impacted version is present by running: npm list axios or check your lockfiles (package-lock.json, yarn.lock, bun.lockb) for references to versions 1.14.1 or 0.30.4.
Search node_modules for the malicious dependency:
find . -path '*/plain-crypto-js*'
Audit CI/CD pipelines: Review build logs for the March 31, 2026 UTC window to identify which pipelines ran npm install during this period. For full protection, consider implementing CI/CD pipeline security controls that catch malicious dependencies before they reach production.
Block egress to the C2 domain: sfrclak[.]com:8000 in your network/firewall rules.
@shadanai/openclaw (versions 2026.3.28-2, 2026.3.28-3, 2026.3.31-1, 2026.3.31-2)@qqbrowser/openclaw-qbot@0.0.130 `strictDepBuilds: true` to fail on unreviewed dependency build scripts`blockExoticSubdeps: true` to block transitive git/ssh/https dependencies`trustPolicy: "no-downgrade"` to reduce downgrade and takeover-related risk
Arnica customers have the needed visibility into the axios package vulnerability today, with developer context that helps teams assess which vulnerabilities require immediate attention. If you're not yet an Arnica customer and want to check your exposure, get started with Arnica for free.
DepsGuard is a free, open-source CLI tool that hardens package manager security by activating protections that ship with npm, pnpm, yarn, bun, uv, Renovate, and Dependabot, but aren't turned on by default. It runs in 60 seconds, requires zero dependencies, and creates an automatic backup before touching any file.
A cooldown (also called minimum release age) is a package manager setting that blocks installation of any package version published less than N days ago. Most supply chain compromises are identified and removed within hours of publication. A 7-day cooldown means malicious packages are caught long before they can reach your pipeline.
The axios attack makes the value concrete. The two malicious versions were live on npm for roughly two hours before being flagged and removed. A cooldown of even a single day would have blocked every automated pipeline from ever pulling them in. No lockfile audit required. No incident to respond to. The attacker's window of opportunity closes before your builds run.
Configuring a cooldown in your
.npmrc, .yarnrc.yml, or .bunfig.tomlis one of the highest-impact, lowest-effort security controls available to engineering teams, and most pipelines don't have it turned on.
| Package Manager | Config File | Setting | Recommended Value |
|---|---|---|---|
| npm | .npmrc | min-release-age | min-release-age=3 (days) |
| pnpm | pnpm-workspace.yaml | minimumReleaseAge | minimumReleaseAge: 4320 (minutes) |
| yarn | .yarnrc.yml | Configured via DepsGuard | Run DepsGuard CLI |
| bun | .bunfig.toml | Configured via DepsGuard | Run DepsGuard CLI |
| uv | — | Configured via DepsGuard | Run DepsGuard CLI |
| Renovate | — | Configured via DepsGuard | Run DepsGuard CLI |
| Dependabot | — | Configured via DepsGuard | Run DepsGuard CLI |
DepsGuard supports npm, pnpm, yarn, bun, uv, Renovate, and Dependabot from a single CLI. It is MIT-licensed with zero runtime dependencies.
Does DepsGuard work with monorepos? Yes. DepsGuard detects and configures package manager files across monorepo structures.
Will a cooldown break my CI/CD pipeline? A 7-day cooldown only affects newly published versions. Pinned dependencies and existing lockfiles are unaffected.
Is DepsGuard free? Yes. DepsGuard is free and MIT-licensed with no paid tiers.
Start hardening your software supply chain in 60 seconds at depsguard.com.
Integrate Arnica ChatOps with your development workflow to eliminate risks before they ever reach production.