Malicious code in pino-sdk-v2 (npm)
Malware detected: Exfiltrates .env file keys to Discord webhook. Impersonates legit pino package with modified malicious `package/lib/tools.js`. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (093fa98258b33a735216506ea119532a3cc24c92359028b4bb1955d0b712951a) The package pino-sdk-v2 was found to contain malicious code. ## Source: ghsa-malware (b258697fe2f4f1a3f95afbeef67b98e155ced06735fe430d90e4de2882e64ca9) 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.
AI Analysis
Technical Summary
The pino-sdk-v2 package at version 9.9.0 is a malicious npm package that masquerades as the legitimate pino package. It contains code that steals sensitive environment variables by sending them to a Discord webhook. This malicious behavior is embedded in a modified file named package/lib/tools.js. Due to the nature of the compromise, any system with this package installed is considered fully compromised, and secrets stored on the system are at risk of exposure. The threat advisory recommends immediate secret rotation and package removal, but warns that full remediation may require more extensive incident response due to potential persistent compromise.
Potential Impact
Systems with pino-sdk-v2 version 9.9.0 installed are at risk of having sensitive environment variables exfiltrated to an attacker-controlled Discord webhook. This leads to potential exposure of secrets and keys, which can result in full system compromise. The presence of this malicious package implies that attackers may have gained unauthorized control over the affected system, making it unsafe to trust any stored credentials or secrets without rotation.
Mitigation Recommendations
Remove the pino-sdk-v2 package version 9.9.0 immediately from all affected systems. Rotate all secrets and keys stored on the compromised systems using a separate, secure environment. Because the package may have allowed attackers to gain full control, conduct a thorough incident response to identify and remediate any additional malicious software or backdoors. Patch status is not applicable as this is a malicious package impersonation; no official fix exists. Monitor for any further suspicious activity related to this package.
Malicious code in pino-sdk-v2 (npm)
Description
Malware detected: Exfiltrates .env file keys to Discord webhook. Impersonates legit pino package with modified malicious `package/lib/tools.js`. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (093fa98258b33a735216506ea119532a3cc24c92359028b4bb1955d0b712951a) The package pino-sdk-v2 was found to contain malicious code. ## Source: ghsa-malware (b258697fe2f4f1a3f95afbeef67b98e155ced06735fe430d90e4de2882e64ca9) 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
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
Technical Analysis
The pino-sdk-v2 package at version 9.9.0 is a malicious npm package that masquerades as the legitimate pino package. It contains code that steals sensitive environment variables by sending them to a Discord webhook. This malicious behavior is embedded in a modified file named package/lib/tools.js. Due to the nature of the compromise, any system with this package installed is considered fully compromised, and secrets stored on the system are at risk of exposure. The threat advisory recommends immediate secret rotation and package removal, but warns that full remediation may require more extensive incident response due to potential persistent compromise.
Potential Impact
Systems with pino-sdk-v2 version 9.9.0 installed are at risk of having sensitive environment variables exfiltrated to an attacker-controlled Discord webhook. This leads to potential exposure of secrets and keys, which can result in full system compromise. The presence of this malicious package implies that attackers may have gained unauthorized control over the affected system, making it unsafe to trust any stored credentials or secrets without rotation.
Mitigation Recommendations
Remove the pino-sdk-v2 package version 9.9.0 immediately from all affected systems. Rotate all secrets and keys stored on the compromised systems using a separate, secure environment. Because the package may have allowed attackers to gain full control, conduct a thorough incident response to identify and remediate any additional malicious software or backdoors. Patch status is not applicable as this is a malicious package impersonation; no official fix exists. Monitor for any further suspicious activity related to this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-1259
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-h6xh-3v8c-jhjf"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c341527e9c797195f7eed
Added to database: 07/06/2026, 23:02:45 UTC
Last enriched: 07/06/2026, 23:18:35 UTC
Last updated: 07/18/2026, 17:27:21 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.