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

chai-as-mnonpm

Advisory published Updated

chai-as-mno is a confirmed malicious npm package (MAL-2026-14427) that typosquats a legitimate package to trick installs (malicious version 1.0.5). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in chai-as-mno (npm)

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

What this malware does

The package name mimics chai-as-promised and its README, badges, and license text are copied from an unrelated project (pino), while the package.json description is unrelated boilerplate. The declared main index.js exports a trivial no-op Express middleware (_req,_res,next)=>next() and unconditionally executes require('./lib/config') at import time. lib/config.js is a ~4MB single-line file heavily obfuscated with an obfuscator.io string-array scheme (string array d of length 23971 with rotation, hex-named identifiers, nested decoder functions j/T, control-flow flattening, and ~40,000 inline-decoded strings). The visible surface API provides no legitimate reason to ship a multi-megabyte opaque blob as a config module, and merely requiring the package runs that payload in the installer's Node process. The combination of impersonation cover story, mismatched README/description, no-op public API, and an obfuscator.io-grade payload executed on require is the loader/dropper shape.

Malicious versions

1 flagged
1.0.5

Indicators of compromise (SHA-256)

2e94e194f078c230d6c6b15efcddc54b133fd52c890a55b0f8bdb4c680452381

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for chai-as-mno (version 1.0.5).

  2. If you installed it — respond

    chai-as-mno is a typosquat — you almost certainly intended a legitimately-named package. Remove chai-as-mno, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If chai-as-mno 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-as-mno on npm has been identified as a malicious package (version 1.0.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-018654

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks chai-as-mno-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-as-mno (npm) malicious package — MAL-2026-14427 | O3 Security