Skip to main content

Malicious code in pino-slite (npm)

0
Critical
Published: 06/17/2026 (06/17/2026, 21:40:46 UTC)
Source: GCVE Database
Product: pino-slite

Description

The pino-slite npm package is a malicious typosquatting package impersonating the legitimate pino logger. It executes attacker-controlled JavaScript code fetched from a mutable third-party URL on every load, resulting in remote code execution at import time. The malicious code collects extensive environment information including environment variables, host identifiers, and user details, enabling credential and data exfiltration. This threat affects specific versions 4.1.12 and 4.1.16 of pino-slite. No official patch or remediation guidance is currently provided.

Affected software

npmghsa
pino-slite
Affected versions
=4.1.16=4.1.12

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: 09/08/2026, 12:09:03 UTC

Technical Analysis

The pino-slite package is a malicious npm package designed to impersonate the legitimate pino logger by mimicking its README and exported function. Upon requiring the package, it decodes and evaluates a base64-encoded payload that fetches and executes attacker-controlled JavaScript from a mutable third-party paste host. Before executing the remote code, it assembles a data object containing environment variables, platform, hostname, username, and MAC addresses, which the remote code can access to exfiltrate sensitive information such as CI secrets, AWS credentials, NPM tokens, and GitHub tokens. This combines a typosquatting lure with an import-time remote code execution and environment credential harvesting. The affected versions are exactly 4.1.12 and 4.1.16.

Potential Impact

This malicious package enables remote code execution immediately upon import, allowing attackers to run arbitrary JavaScript code in the victim's environment. The attacker-controlled code can access and exfiltrate sensitive environment variables and host information, potentially compromising CI/CD secrets, cloud credentials, and developer tokens. This poses a significant risk of credential theft and further compromise of systems using these versions of pino-slite.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid using the pino-slite package, especially versions 4.1.12 and 4.1.16. Verify dependencies to ensure the legitimate pino package is used instead. Monitor for any unauthorized access or credential misuse resulting from this package. Check vendor advisories or npm security advisories for updates or official remediation guidance.

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-6078
Osv Schema Version
1.7.4
Aliases
["GHSA-4m74-rvqg-rg5w"]
Ecosystems
["npm"]

Threat ID: 6a96f318acd9273b49e4950e

Added to database: 09/01/2026, 15:45:28 UTC

Last enriched: 09/08/2026, 12:09:03 UTC

Last updated: 10/02/2026, 01:21:36 UTC

Views: 29

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