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

chai-guidnpm

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

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

What this malware does

chai-guid impersonates the pino logger and the chai-guid chai plugin (README copies pino badges and pinojs CI links; index.js exports middleware as module.exports.pino). When a consumer calls the exported middleware, index.js spawns lib/caller.js as a detached Node process with stdio ignored. lib/caller.js performs axios.get('https://jsonkeeper.com/b/U2BTS'), reads the .cookie field of the response, and executes it via new Function.constructor('require', s)(require) — running attacker-controlled JavaScript with full Node privileges and require injected. A second base64-encoded URL (https://jsonkeeper.com/b/XRGF3) is hidden in a fake process.env.DEV_API_KEY shim in lib/caller.js and lib/const.js as a secondary C2 endpoint. jsonkeeper.com is an anonymous, mutable JSON-paste host; whatever bytes the attacker pastes there will be executed on the installer's machine the moment any consumer invokes the package's middleware.

Malicious versions

1 flagged
1.1.5

Indicators of compromise (SHA-256)

69e9bcacf8dca52aafe4d93019b888c6d32e344b500a21368f036bf586eee161

Frequently asked questions

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

Campaign

IN-MAL-2026-006791

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

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

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