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 @zzzcrypto/playwrite (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 15:32:21 UTC)
Source: GCVE Database
Product: @zzzcrypto/playwrite

Description

The npm package @zzzcrypto/playwrite is a malicious typosquatting package impersonating the legitimate 'playwright' library. When imported, it collects extensive environment information including process environment variables, hostname, username, home directory, platform, current working directory, and package identity. This data is base64-encoded and sent via an HTTPS GET request to a hardcoded Telegram Bot API endpoint controlled by an attacker. The package attempts to masquerade as a drop-in replacement for 'playwright' but contains unrelated wallet functions and no legitimate functionality. This behavior risks leaking sensitive credentials such as CI tokens, cloud provider keys, and npm publish tokens to the attacker. Only version 1.48.0 is known to be affected. No patch or official remediation is currently documented.

Affected software

npmghsa
@zzzcrypto/playwrite
Affected versions
=1.48.0

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: 08/05/2026, 22:16:36 UTC

Technical Analysis

The @zzzcrypto/playwrite npm package is a malicious typosquatting package designed to steal sensitive environment data from users who import it. Upon require(), it harvests the full process environment variables and system information, encodes this data, and exfiltrates it to an attacker-controlled Telegram Bot API endpoint. The package name closely resembles the legitimate 'playwright' package, potentially tricking developers into installing it. It attempts to require 'playwright' and falls back to unrelated wallet functions, confirming it has no legitimate purpose matching its advertised name. This exfiltration can expose sensitive tokens and credentials commonly found in environment variables, posing a significant security risk.

Potential Impact

Sensitive environment data including CI tokens, cloud provider keys, and npm publish tokens can be exfiltrated to an attacker-controlled endpoint. This can lead to unauthorized access to cloud resources, continuous integration systems, and npm publishing capabilities. The compromise occurs simply by importing the malicious package, making it a critical supply chain risk.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately audit their dependencies to ensure they are not using the @zzzcrypto/playwrite package, especially version 1.48.0. Remove the package if found and rotate any potentially exposed credentials such as CI tokens, cloud keys, and npm tokens. Use exact package names and verify package authenticity before installation to avoid typosquatting attacks.

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-13213
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a738523bf8831d5394efd96

Added to database: 08/05/2026, 18:46:59 UTC

Last enriched: 08/05/2026, 22:16:36 UTC

Last updated: 08/05/2026, 22:16:36 UTC

Views: 2

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