MAL-2026-12057 Malicious code in @zzzgenesis00/playwrite (npm)

Malicious package Published
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.

Sources

Is MAL-2026-12057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free