zod-pino (npm) · Malicious Code
Affects zod-pinoSource GCVE Database
Malicious package : remove zod-pino and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:55 UTC
Malicious package
Published to npm · OSV MAL-2026-6273
What to do
Remove zod-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 |
|---|---|---|
| npmzod-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 zod-pino npm package versions 1.0.122, 1.0.123, 1.0.124, 1.0.126, and 1.0.127 contain malicious code that executes automatically upon installation. The package masquerades as a logging utility but includes components that perform network reconnaissance, credential harvesting, secret scanning, and exfiltration of data via a Discord relay. Installing this package can lead to full system compromise and unauthorized data disclosure.
References
- npmjs.com/package/zod-pino/v/1.0.122 (opens in a new tab)
- npmjs.com/package/zod-pino/v/1.0.123 (opens in a new tab)
- npmjs.com/package/zod-pino/v/1.0.124 (opens in a new tab)
- npmjs.com/package/zod-pino/v/1.0.126 (opens in a new tab)
- npmjs.com/package/zod-pino/v/1.0.127 (opens in a new tab)
- github.com/advisories/GHSA-q52v-x293-p999 (opens in a new tab)
- npmjs.com/package/zod-pino/v/1.0.125 (opens in a new tab)