MAL-2026-12057 Malicious code in @zzzgenesis00/playwrite (npm)
Malicious package
Published
MAL-2026-12057 is a malicious package: @zzzgenesis00/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-12057/ (Markdown: https://insights.sbomify.com/MAL-2026-12057/index.md)
- Package
- @zzzgenesis00/playwrite
- Registry
- npm
What is MAL-2026-12057?
MAL-2026-12057 is a malicious package in @zzzgenesis00/playwrite, published on 5 Aug 2026.
Official description
The package @zzzgenesis00/playwrite is a typosquat of playwright. Its exported launch() returns empty stub methods, while postinstall.js (also loaded transitively via index.js) runs on npm install and require. It collects hostname, username, homedir, platform, cwd, node version, npm registry configuration and the output of
npm whoami via execSync, and harvests credential-shaped environment variables including NPM_TOKEN, GITHUB_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, DOCKER_PASSWORD, GCLOUD_ACCESS_TOKEN and NPM_CONFIG. It enumerates ~/.ssh (id_rsa, id_ed25519, id_ecdsa and.pub files), reads ~/.npmrc and ~/.gitconfig, and scans Chrome, Chromium and Firefox profile directories for Cookies and Login Data. The collected data is JSON-POSTed over HTTPS to the hardcoded Serveo reverse-tunnel host 40f955f39128bd79-178-249-214-24.serveousercontent.com at path /collect, with a 2-second setTimeout delay and a try/catch wrapper commented to keep npm install silent on failure.What should I do about MAL-2026-12057?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.