Supply chain · March 31, 2026

axios 1.14.1 and 0.30.4 on npm installed a remote access trojan after a maintainer compromise

On 31 March 2026 an attacker used the lead axios maintainer's npm account to publish axios 1.14.1 and 0.30.4, which pulled in plain-crypto-js@4.2.1 and installed a cross-platform remote access trojan; the versions were live for about three hours. Anyone who installed them should treat the machine or CI runner as compromised and rotate every credential it held. OpenAI said one of its macOS app-signing workflows ran the malicious version and rotated its signing certificate as a precaution.

DisclosedMarch 31, 2026
Earliest known activityMarch 30, 2026
Affectedaxios, plain-crypto-js, npm, OpenAI
TypeSupply chain
StatusResolved

What was exposed

Everything on the machine that ran the install. The plain-crypto-js install hook downloaded a remote access trojan for macOS, Windows or Linux from sfrclak[.]com port 8000. Microsoft says the Windows payload could run arbitrary PowerShell, enumerate files, load more binaries into memory and persist through a Run key, so an operator could read any token, key or password file the user or CI job could reach. CISA lists VCS tokens, CI/CD secrets, cloud keys, npm tokens and SSH keys as the credentials to rotate. For OpenAI, the exposed material was the macOS code-signing certificate and notarization material reachable from the affected workflow; OpenAI said it found no evidence that user data was accessed or that its software was altered.

Am I affected?

You are affected if a developer machine, build server or CI job ran a fresh npm install or npm update that resolved axios@1.14.1 or axios@0.30.4 between 00:21 and about 03:15 UTC on 31 March 2026. The post-mortem suggests grepping lockfiles for those versions and for plain-crypto-js. On hosts, look for /Library/Caches/com.apple.act.mond (macOS), %PROGRAMDATA%\wt.exe or a MicrosoftUpdate Run key (Windows), or /tmp/ld.py (Linux), and for connections to the C2 below. Users of OpenAI's macOS apps were asked to install updated, re-signed builds.

What to do now

  1. Downgrade to axios@1.14.0 (or 0.30.3), delete node_modules/plain-crypto-js/ and clear the npm cache.
  2. If either version ran, rebuild the machine or runner and rotate every secret it held, including secrets injected into the affected CI run.
  3. Block and hunt for sfrclak[.]com and 142.11.206.73 on port 8000.
  4. Set ignore-scripts=true and a minimum release age (for example min-release-age=7) in .npmrc, as CISA recommends.
  5. Update OpenAI's macOS apps (ChatGPT, Codex, Atlas) to the re-signed builds OpenAI published.

Keys to rotate

Guides to the credentials this incident put at risk:

Timeline

  1. plain-crypto-js@4.2.0 is published to npm at 05:57 UTC, per the axios post-mortem. Source
  2. axios@1.14.1 is published at 00:21 UTC with plain-crypto-js@4.2.1 injected; axios@0.30.4 follows around 01:00 UTC. The attacker deletes community issues reporting it. The malicious axios versions are removed at 03:15 UTC and plain-crypto-js at 03:29 UTC. Source
  3. Microsoft attributes the compromise to Sapphire Sleet, a North Korean state actor, and publishes indicators and mitigations. Source
  4. Maintainer Jason Saayman publishes the post-mortem: the attacker reached his PC through a targeted social engineering campaign and RAT malware, which exposed his npm credentials. Source
  5. OpenAI says a GitHub Actions workflow in its macOS app-signing process ran axios 1.14.1 on 31 March and had access to signing and notarization material; it judged exfiltration unlikely but revoked and rotated the certificate. Source
  6. CISA publishes an alert recommending downgrade, removal of plain-crypto-js, and rotation of VCS tokens, CI/CD secrets, cloud keys, npm tokens and SSH keys. Source

Indicators

From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.

  • axios@1.14.1, axios@0.30.4, plain-crypto-js@4.2.0 and 4.2.1.
  • C2 sfrclak[.]com, 142.11.206.73, URL path /6202033 on port 8000.
  • /Library/Caches/com.apple.act.mond, %TEMP%\6202033.ps1, %PROGRAMDATA%\system.bat, %PROGRAMDATA%\wt.exe, /tmp/ld.py.

What this changes for credential handling

  • Publishing from a personal account with long-lived credentials made a single phished laptop enough. BotPassword requires a separate approval for each publish, so a stolen session cannot release on its own.

Frequently asked questions

Am I affected by the axios incident?

You are affected if a developer machine, build server or CI job ran a fresh npm install or npm update that resolved axios@1.14.1 or axios@0.30.4 between 00:21 and about 03:15 UTC on 31 March 2026. The post-mortem suggests grepping lockfiles for those versions and for plain-crypto-js. On hosts, look for /Library/Caches/com.apple.act.mond (macOS), %PROGRAMDATA%\wt.exe or a MicrosoftUpdate Run key (Windows), or /tmp/ld.py (Linux), and for connections to the C2 below. Users of OpenAI's macOS apps were asked to install updated, re-signed builds.

What was exposed in the axios incident?

Everything on the machine that ran the install. The plain-crypto-js install hook downloaded a remote access trojan for macOS, Windows or Linux from sfrclak[.]com port 8000. Microsoft says the Windows payload could run arbitrary PowerShell, enumerate files, load more binaries into memory and persist through a Run key, so an operator could read any token, key or password file the user or CI job could reach. CISA lists VCS tokens, CI/CD secrets, cloud keys, npm tokens and SSH keys as the credentials to rotate. For OpenAI, the exposed material was the macOS code-signing certificate and notarization material reachable from the affected workflow; OpenAI said it found no evidence that user data was accessed or that its software was altered.

Which keys should I rotate?

Rotate any GitHub, npm, AWS (IAM access keys), Google Cloud (service account keys and API keys), Azure (Microsoft Entra app client secrets) credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.

Keep keys out of reach of the next compromised package

BotPassword is in early access. Request an invite and we'll email you when your spot opens.