NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

chai-await-chainnpm

Advisory published Updated

chai-await-chain is a confirmed malicious npm package (MAL-2026-1673) that executes malicious code on install (malicious versions 2.4.2, 2.4.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in chai-await-chain (npm)

MAL-2026-1673
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall chai-await-chain

What this malware does

The package chai-await-chain was found to contain malicious code.

Malicious versions

2 flagged
2.4.22.4.3

Indicators of compromise (SHA-256)

a8c6036c1fb588f249294e91b5a33469de415a110ac57acb88f7038c772cb2a4
ee42e0ab59b1093e2cb5da46d6e015073bbae0cba06eb9a0720df44e54c9c111

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for chai-await-chain (2 malicious versions).

  2. If you installed it — respond

    Remove chai-await-chain from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If chai-await-chain was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. chai-await-chain on npm has been identified as a malicious package (versions 2.4.2, 2.4.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2026-01166

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks chai-await-chain-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

chai-await-chain (npm) malicious package — MAL-2026-1673 | O3 Security