browser-use-headless (PyPI) · Malicious Code
Affects browser-use-headlessSource GCVE Database
Malicious package : remove browser-use-headless and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:48 UTC
Malicious package
Published to PyPI · OSV MAL-2026-10484
What to do
Remove browser-use-headless from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIbrowser-use-headless | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The PyPI package 'browser-use-headless' version 0.1.4 is a malicious typosquat clone of a legitimate browser automation helper. It contains hidden code that steals sensitive credentials and environment variables from the host system, including AWS, SSH, GCP, Azure, Kubernetes, Docker, Git, npm, and other secret files. The stolen data is base64-encoded and exfiltrated via HTTP POST to a hardcoded external endpoint unrelated to the package's advertised functionality. This credential-stealing behavior is deliberately obscured within the code to evade detection.