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

Source: https://botpassword.com/incidents/2026-03-axios-npm-maintainer-compromise
Disclosed: 2026-03-31 · Type: Supply chain · Status: Resolved · Updated: 2026-10-25

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.

## 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.

## Who is 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

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

- [GitHub](https://botpassword.com/keys/github)
- [npm](https://botpassword.com/keys/npm)
- [AWS (IAM access keys)](https://botpassword.com/keys/aws)
- [Google Cloud (service account keys and API keys)](https://botpassword.com/keys/google-cloud)
- [Azure (Microsoft Entra app client secrets)](https://botpassword.com/keys/azure)

## Timeline

- 2026-03-30: `plain-crypto-js@4.2.0` is published to npm at 05:57 UTC, per the axios post-mortem. ([source](https://github.com/axios/axios/issues/10636))
- 2026-03-31: `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](https://github.com/axios/axios/issues/10636))
- 2026-04-01: Microsoft attributes the compromise to Sapphire Sleet, a North Korean state actor, and publishes indicators and mitigations. ([source](https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/))
- 2026-04-02: 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](https://github.com/axios/axios/issues/10636))
- 2026-04-10: 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](https://openai.com/index/axios-developer-tool-compromise/))
- 2026-04-20: 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](https://www.cisa.gov/news-events/alerts/2026/04/20/supply-chain-compromise-impacts-axios-node-package-manager))

## Indicators

- `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`.

## Sources

- https://github.com/axios/axios/issues/10636
- https://www.microsoft.com/en-us/security/blog/2026/04/01/mitigating-the-axios-npm-supply-chain-compromise/
- https://www.cisa.gov/news-events/alerts/2026/04/20/supply-chain-compromise-impacts-axios-node-package-manager
- https://openai.com/index/axios-developer-tool-compromise/
