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

pino-pretty-logsnpm

Advisory published Updated

pino-pretty-logs is a confirmed malicious npm package (MAL-2026-6862) that executes malicious code on install (malicious versions 1.0.7, 1.0.8, 1.1.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pino-pretty-logs (npm)

MAL-2026-6862
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall pino-pretty-logs

What this malware does

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

4 flagged
1.0.71.0.81.1.02.0.0

Indicators of compromise (SHA-256)

f7864fcfe92b62b2ddc003e696cbe02d18e0979f4336bff4cc9352f318b260fa
13cc3d8b7ae1dbd64c121144a9be8128030eb14fa5fee80084e5758da30e7621
8d1cc0102b5429305b493d907067542db39ce10ee39a93e365086cc0881d3b41

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for pino-pretty-logs (4 malicious versions).

  2. If you installed it — respond

    Remove pino-pretty-logs 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 pino-pretty-logs 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. pino-pretty-logs on npm has been identified as a malicious package (versions 1.0.7, 1.0.8, 1.1.0, 2.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-7cfh-3cj9-3fc3RLMA-2026-05222RLUA-2026-06379

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks pino-pretty-logs-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

pino-pretty-logs (npm) malicious package — MAL-2026-6862 | O3 Security