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

chain-chai-testnpm

Malicious code in chain-chai-test (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

[email protected] advertises itself as a pino-style logger (keywords fast/logger/stream/json, exported alias module.exports.pino = middleware, pino-pretty visual assets) but the exported middleware factory spawns a detached node lib/caller.js process. caller.js performs axios.get against https://jsonkeeper.com/b/EXSIF (with a base64-obfuscated sibling URL https://jsonkeeper.com/b/ZK45J in lib/const.js, decoded from aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iL1pLNDVK), reads .data.cookie from the response, and passes that string to new Function.constructor("require", s) invoked with the host process's require. That executes attacker-controlled JavaScript with full Node.js privileges in the consuming application. The fetch destination is an anonymous, mutable JSON-paste host, the URL is duplicated in obfuscated form to conceal the C2 endpoint, and the package name and exported API impersonate the legitimate pino logger to lure installers. Unrelated dependencies (request, sqlite3, parse-json) further indicate this is not a logger implementation.

Malicious versions

1 flagged
1.3.5

Indicators of compromise (SHA-256)

4287ff6637bb0d3109dcdc3082aece79d69deca2a3580ebf850ec1c13e8a3e00

Frequently asked questions

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

Campaign

IN-MAL-2026-006795

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
chain-chai-test (npm) malicious package — MAL-2026-5908 | O3 Security