Malicious code in @zzzcrypto/playwrite (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in @zzzcrypto/playwrite (npm)
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
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 @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.
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 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.