Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in pino-zod (npm)

0
Critical
Published: 06/26/2026 (06/26/2026, 05:11:13 UTC)
Source: GCVE Database
Product: pino-zod

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (92ceffaf94fc190f70c18587857f2f0a674a9699512eec79f5cf738eefaa54ca) Package advertises itself as a pino+zod logging helper but ships content that does not match that purpose: a `dist/discordRelayUpload.js` module containing POST/upload code paths and base64 buffer handling, a `dist/relayServer.js` module, a `dist/secretScan/` tree (agentStartupAudit.js, contentScanner.js) that performs fetches against huggingface.co, a `dist/hfCredentials.js` with base64 decoding, a `dist/deploymentDefaults.js` with multiple base64 buffers, and a `scripts/postinstall-agent.mjs` containing GET/ping/id patterns. The presence of a `postinstall-agent.mjs` under `scripts/` is concerning as a possible install-time agent, and the shipped relay/upload/secret-scan modules suggest behavior far outside the declared logging-library scope. However, without traced execution context confirming whether postinstall-agent.mjs is actually invoked by a lifecycle hook, where the base64 blobs decode to, and whether the Discord/HuggingFace endpoints carry installer data outward, the intent cannot be conclusively classified. Routing to human review for inspection of package.json lifecycle hooks, the contents of deploymentDefaults.js base64 payloads, and the data flow into the Discord upload and HuggingFace fetch paths. ## Source: ghsa-malware (d57b4e49a62a8ca174c6c14820e5b101d042e3aea94438df19f9b12286a7cf30) 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.

Affected software

npmghsa
pino-zod

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 12:10:11 UTC

Technical Analysis

The pino-zod package on npm is identified as malicious, containing unexpected modules for data uploading, secret scanning, and network communication to external endpoints. Notably, it includes a postinstall-agent script that may execute during package installation, raising concerns about unauthorized code execution. The package's behavior deviates significantly from its advertised logging helper functionality. Although exact execution paths and payload decoding remain under human review, the package is considered fully compromising to affected systems.

Potential Impact

Any computer with this package installed or running should be considered fully compromised. Attackers may have gained full control, potentially exfiltrating secrets and keys. Immediate rotation of all secrets and keys stored on the affected system is necessary. Removing the package alone does not guarantee removal of all malicious components or backdoors introduced by the package.

Mitigation Recommendations

Remove the pino-zod package immediately from all systems. Rotate all secrets and keys that were stored on affected computers using a separate, trusted device. Conduct a thorough security audit to detect and remediate any persistent malicious components or backdoors. There is no official patch or fix; remediation requires removal and secret rotation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6505
Osv Schema Version
1.7.4
Aliases
["GHSA-j7hj-qc4f-x92f"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a3ef7be27e9c79719ffd51a

Added to database: 06/26/2026, 22:05:50 UTC

Last enriched: 07/10/2026, 12:10:11 UTC

Last updated: 07/30/2026, 12:20:00 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses