MAL-2026-12057

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/playwrite/MAL-2026-12057.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12057
Published
2026-08-05T01:46:15Z
Modified
2026-08-05T03:20:44.919095080Z
Summary
Malicious code in @zzzgenesis00/playwrite (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (28a7a4b265a274814769439b7bcc3e03e573308ac72036558815feabfec0c8af)

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 NPMTOKEN, GITHUBTOKEN, AWSACCESSKEYID, AWSSECRETACCESSKEY, AWSSESSIONTOKEN, DOCKERPASSWORD, GCLOUDACCESSTOKEN and NPMCONFIG. It enumerates ~/.ssh (idrsa, ided25519, 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:46:15Z",
            "sha256": "28a7a4b265a274814769439b7bcc3e03e573308ac72036558815feabfec0c8af",
            "id": "IN-MAL-2026-011524",
            "versions": [
                "1.48.0"
            ],
            "import_time": "2026-08-05T03:11:17.416020632Z"
        }
    ]
}
References
Credits

Affected packages

npm / @zzzgenesis00/playwrite

Package

Name
@zzzgenesis00/playwrite
View open source insights on deps.dev
Purl
pkg:npm/%40zzzgenesis00/playwrite

Affected ranges

Affected versions

1.*
1.48.0

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-w2HrNWC2ZjUaG/w2tMqijGO2t7EuhChXAgAOG8k+9aBeyKp8zIKyJJqiDVc+ILnFg17QZP8Gc66PUvb4PRgboQ==",
                "sha1": "4cbfcdbdb99e9a49360369ecc535dbd49edcfe5c"
            },
            "filename": "playwrite-1.48.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "e6cb3625c225321998c3582677726780e8aef2e983c4f0ea2381d3666696ff13",
            "tlsh": "7d122fb65aba02157893f6ec4a4f00092529b0533808fda87e8cb3555fcd56c62f6bfd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzgenesis00/playwrite/MAL-2026-12057.json"