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

cli-pretty-loggernpm

Advisory published Updated

cli-pretty-logger is a confirmed malicious npm package (MAL-2026-7246) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in cli-pretty-logger (npm)

MAL-2026-7246
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall cli-pretty-logger

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

cbc92054643f0316cf729be245c045b3b8bb23a06726762495762bf24b5d60a5
a27833bde23a3b5990f843893f26458a531b96068cca8a0c0f8a6ba8fde79752

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for cli-pretty-logger (version 1.0.0).

  2. If you installed it — respond

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

Campaign

RLMA-2026-05025RLUA-2026-06155

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks cli-pretty-logger-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

cli-pretty-logger (npm) malicious package — MAL-2026-7246 | O3 Security