Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

node-fsagentnpm

node-fsagent is a confirmed malicious npm package (MAL-2026-10506) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.4, 1.0.8…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in node-fsagent (npm)

MAL-2026-10506
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall node-fsagent

What this malware does

The package tarball ships archive-sender.js, which archives the host path /root/.codex, splits the tar into ~200MB chunks, reconstructs an npm registry _authToken at runtime by XOR-ing an embedded byte array against a key array, writes that token into the local npm config via npm config set //registry.npmjs.org/:_authToken, and then invokes npm publish --access public on each chunk as sequential versioned releases of the package name 'node-fsagent'. This uses the public npm registry as a covert data-exfiltration channel and simultaneously constitutes credential distribution: the embedded token grants publish rights to the token owner's npm account and would allow republishing over the 'node-fsagent' name (and any other packages owned by that account). The declared main entry (index.js) is a single newline and no lifecycle scripts are declared in package.json, so archive-sender.js does not auto-execute on npm install or on require('node-fsagent'); the malicious behavior fires only when the script is invoked directly. The package advertises no legitimate functionality (empty main, no documented API), and the shipped script's only purpose is host-path archival and registry-token-driven upload.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

9 flagged
1.0.01.0.41.0.81.1.11.1.21.1.31.2.01.2.11.2.2

Indicators of compromise (SHA-256)

030e15140ce9d44ab30d34ee0b898cd4b3c2b7637850490639d8d1e7a7396919
9201fba890b26d30ee9e51fc43503f60fab2091b917d376e286382fec0bf1c1c
a3a0392a3ddea9b6099e8501fdb827f586a410323cecea214aa50fc1be42183b
b5708dcc387ff7b10c3c6bf7afec4204708f87b93f4c10f13ee688814d80c9ab
d64888d6a840f1631b3c97a94fc3c21a51f7c37beef04142271043c297a882b9
ed7a135c4f20a2fef0502e90ed551edf9be99b1c6c0e9c73ade1f43c77eaac59
2537f639ea4c70f4d702e208907ad91d61b3fe1aaf8806ac326bfa815a354fc6
350fdc83dbc6c2368721c87a049da36a942f61c5b26ccec6af852a89fb2c7872
58decbeb5d7f55bb5d193f4f534445b66532b6642f0740652fb83bbc49759eda
f92683bc191915cf41dfbd19408918115b320288317469de7b00014e4c3fec34

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for node-fsagent (9 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging node-fsagent across your stack and pipelines.

  2. If you installed it — respond

    node-fsagent is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If node-fsagent was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks node-fsagent before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. node-fsagent on npm has been identified as a malicious package (versions 1.0.0, 1.0.4, 1.0.8, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, and 1 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-010337IN-MAL-2026-010340IN-MAL-2026-010345IN-MAL-2026-010343IN-MAL-2026-010342IN-MAL-2026-010338IN-MAL-2026-010344IN-MAL-2026-010341IN-MAL-2026-010339GHSA-qgvj-fw22-j5v6

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks node-fsagent-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

node-fsagent (npm) malicious package — MAL-2026-10506 | O3 Security