node-pino (npm) · Malicious Code
Affects node-pinoSource GCVE Database
Malicious package : remove node-pino and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 06:38 UTC
Malicious package
Published to npm · OSV MAL-2026-6762
What to do
Remove node-pino from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnode-pino | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The node-pino npm package is a malicious typosquat of the legitimate pino logger. It contains a postinstall script that decrypts and executes an obfuscated infostealer payload targeting crypto wallets, macOS Keychain, and browser user data. The stolen data is compressed and exfiltrated to a hardcoded command-and-control server. This package was live and installable for approximately 278 days before detection. Installation of this package results in full system compromise, and all secrets on affected systems should be rotated immediately.