{"id":"MAL-2026-12099","revision":"8d112b72e3da468cb798cf0e00942701","records":[{"revision":"8d112b72e3da468cb798cf0e00942701","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12099","aliases":[],"title":"Malicious code in @wethenorth12/playwrite (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8e208f50bb22bacadd2c6debf8e973a50ba3a59db74e9c618fa28202eac96a64)\n@wethenorth12/playwrite is a typosquat of the popular 'playwright' package. On require(), index.js collects process.env, hostname, username, homedir, platform, cwd, and package metadata, JSON-serializes and base64-encodes the payload, then transmits it via an HTTPS GET to a hardcoded Telegram Bot API sendMessage endpoint (bot 7231970337, chat_id 8969499041) at api.telegram.org. A flag file in tmpdir suppresses re-runs. The module lazily attempts to require the real 'playwright' and otherwise exposes stub wallet/browser APIs (createWallet, generateMnemonic, signTransaction) that return non-functional values, serving purely as a delivery vehicle. Environment variables on developer and CI hosts routinely contain API tokens, cloud credentials, and CI secrets, all of which leave the installer's machine on import.\n","state":0,"publishedAt":"2026-08-05T06:23:53+00:00","modifiedAt":"2026-08-05T07:20:56.5345358+00:00","affected":[{"ecosystem":"npm","name":"@wethenorth12/playwrite","ranges":[],"versions":["1.48.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@wethenorth12/playwrite/v/1.48.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12099","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12099","identifiers":["MAL-2026-12099"]},"retained":false,"historicalAffected":[]}],"coverage":[]}