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.
| Disclosed | March 31, 2026 |
|---|---|
| Earliest known activity | March 30, 2026 |
| Affected | axios, plain-crypto-js, npm, OpenAI |
| Type | Supply chain |
| Status | Resolved |
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
- Downgrade to
axios@1.14.0(or0.30.3), deletenode_modules/plain-crypto-js/and clear the npm cache. - If either version ran, rebuild the machine or runner and rotate every secret it held, including secrets injected into the affected CI run.
- Block and hunt for
sfrclak[.]comand 142.11.206.73 on port 8000. - Set
ignore-scripts=trueand a minimum release age (for examplemin-release-age=7) in.npmrc, as CISA recommends. - 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:
- Rotate GitHub keys
- Rotate npm keys
- Rotate AWS (IAM access keys) keys
- Rotate Google Cloud (service account keys and API keys) keys
- Rotate Azure (Microsoft Entra app client secrets) keys
Timeline
-
plain-crypto-js@4.2.0is published to npm at 05:57 UTC, per the axios post-mortem. Source -
axios@1.14.1is published at 00:21 UTC withplain-crypto-js@4.2.1injected;axios@0.30.4follows around 01:00 UTC. The attacker deletes community issues reporting it. The malicious axios versions are removed at 03:15 UTC andplain-crypto-jsat 03:29 UTC. Source - Microsoft attributes the compromise to Sapphire Sleet, a North Korean state actor, and publishes indicators and mitigations. Source
- 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
- 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
- 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.0and4.2.1.- C2
sfrclak[.]com, 142.11.206.73, URL path/6202033on 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.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 32 @redhat-cloud-services npm packages compromised after a VS Code extension hijacked a GitHub account 2026-06-01
- 14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets 2026-05-28
- Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection 2026-05-18