# MAL-2026-13213: Malicious code in @zzzcrypto/playwrite (npm)


- **Type:** Malicious package
- **Package:** `@zzzcrypto/playwrite` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-13213?

MAL-2026-13213 is a malicious package in @zzzcrypto/playwrite, published on 5 Aug 2026. 

### Official description

On require() of @zzzcrypto/playwrite, index.js harvests the installer's full process.env plus hostname, username, homedir, platform, cwd, and package identity, base64-encodes the payload, and issues an HTTPS GET to a hardcoded Telegram Bot API endpoint (api.telegram.org/bot<redacted>/sendMessage?chat_id=8969499041) with the encoded data in the `text` query parameter. A tmpdir flag file guards against repeat sends. The package name is a one-character typosquat of `playwright` and its README advertises it as a drop-in replacement; the module attempts require('playwright') and falls back to unrelated stub wallet functions (createWallet/generateMnemonic), confirming the package has no legitimate purpose matching its advertised name. Full process.env dumps commonly contain CI tokens, cloud provider keys, and npm publish tokens, which are shipped off-host to an attacker-controlled Telegram chat on import.

## What should I do about MAL-2026-13213?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13213 is a malicious package: @zzzcrypto/playwrite (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13213/ (Markdown: https://insights.sbomify.com/MAL-2026-13213/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13213

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13213/
Summaries are generated and may contain mistakes; the official description above is the record.
