pino-std (npm) · Malicious Code
Affects pino-stdSource GCVE Database
Malicious package : remove pino-std and rotate any secrets on hosts that installed it.
Data as of 13 Nov 2026, 05:28 UTC
Malicious package
Published to npm · OSV MAL-2026-18692
What to do
Remove pino-std 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 |
|---|---|---|
| npmpino-std | 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 pino-std npm package version 7.2.0 is a malicious package that impersonates the legitimate pino-std-serializers library. It includes an undocumented file, lib/contract.js, which reconstructs and executes obfuscated code at runtime. This code can load arbitrary modules, acting as a dormant second-stage loader. The malicious payload is not triggered on install or require by default but requires explicit import or execution of the hidden file.