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

chai-plusnpm

Advisory published Updated

chai-plus is a confirmed malicious npm package (MAL-2026-14533) that steals credentials and exfiltrates sensitive data (malicious versions 6.2.3, 6.2.4, 6.2.5…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in chai-plus (npm)

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

What this malware does

On require('chai-plus'), a top-level IIFE in lib/index.js unconditionally invokes Bootstrap.execute(), which spawns npm install -g [email protected] and then executes taskforge-9xv with hardcoded arguments --origin-server http://coolblast.zapto.org:8888/api/x-handler and a hardcoded auth token. The destination is a dynamic-DNS host (zapto.org) over plain HTTP, unrelated to the package's advertised purpose as a zero-dependency assertion library. Comments in lib/bootstrap.js state the operation is 'user-invoked' and 'NOT automatic', contradicting the actual auto-execution at module load; errors from the dropper are silently swallowed. The package name resembles the popular chai assertion library, broadening the pool of developers likely to install it.

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

5 flagged
6.2.36.2.46.2.56.3.07.0.0

Indicators of compromise (SHA-256)

814bd37de483f00f1ed90e1ec9126328afd49edcd0196400c1ef544fc2195589
b91b222013b099c570003ced5265988a19121921b071ee183cdbe304e2b020d9
d71634ace1c06c52aef34bc1a5d78f107c762aa320ac91bafbf5deff6e09c0f1
f1212f91b37547d0955da07335f4bb1fed958261d3f4136c19d32976fda4e1fd
3caa7231f125e1f6cbd6639cffa1a6a3020b53a46c73ca1b45ceaf88ae1f0dcb
c24dddbd62696c1fa03abaf9e87fc4a3228d6a3e18ee3e99b34a13c4e9ab01a5

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for chai-plus (5 malicious versions).

  2. If you installed it — respond

    chai-plus 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 chai-plus 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-plus on npm has been identified as a malicious package (versions 6.2.3, 6.2.4, 6.2.5, 6.3.0, 7.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-018755IN-MAL-2026-018758IN-MAL-2026-018757GHSA-2r27-f59g-4hcxIN-MAL-2026-019499IN-MAL-2026-019501

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks chai-plus-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

chai-plus (npm) malicious package — MAL-2026-14533 | O3 Security