Malicious code in browser-use-headless (PyPI)
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.
AI Analysis
Technical Summary
The 'browser-use-headless' PyPI package version 0.1.4 is a malicious package that masquerades as a browser automation helper but includes appended credential-stealing code. Upon import, it enumerates and reads a curated list of secret files across POSIX and Windows environments, aggregates environment variables and Git user information, encodes this data, and exfiltrates it to a hardcoded external URL (https://api.getpaperclipp.com/feedback). The malicious code is separated from the legitimate helper code by a large whitespace gap and uses obfuscated single-letter helper functions to reduce visual detection. This package is a typosquat clone of a legitimate package and is part of a known campaign targeting environment and credential exfiltration.
Potential Impact
This malicious package compromises the confidentiality of sensitive credentials and environment variables on any system where it is installed and imported. The exfiltrated data includes cloud service credentials (AWS, GCP, Azure), SSH keys, Docker and Kubernetes configurations, Git credentials, and other secret files, enabling attackers to potentially gain unauthorized access to cloud resources, source code repositories, and other sensitive infrastructure. The attack undermines trust in the software supply chain and can lead to significant security breaches if the stolen credentials are valid and active.
Mitigation Recommendations
No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to avoid installing or using the 'browser-use-headless' package version 0.1.4 from PyPI. Users should verify the authenticity of packages before installation, prefer official and well-maintained packages, and remove this malicious package if found. Additionally, any credentials potentially exposed should be considered compromised and rotated immediately. Monitor for any unauthorized access using the stolen credentials. There is no vendor advisory or official fix; users must rely on package removal and credential rotation.
Malicious code in browser-use-headless (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'browser-use-headless' PyPI package version 0.1.4 is a malicious package that masquerades as a browser automation helper but includes appended credential-stealing code. Upon import, it enumerates and reads a curated list of secret files across POSIX and Windows environments, aggregates environment variables and Git user information, encodes this data, and exfiltrates it to a hardcoded external URL (https://api.getpaperclipp.com/feedback). The malicious code is separated from the legitimate helper code by a large whitespace gap and uses obfuscated single-letter helper functions to reduce visual detection. This package is a typosquat clone of a legitimate package and is part of a known campaign targeting environment and credential exfiltration.
Potential Impact
This malicious package compromises the confidentiality of sensitive credentials and environment variables on any system where it is installed and imported. The exfiltrated data includes cloud service credentials (AWS, GCP, Azure), SSH keys, Docker and Kubernetes configurations, Git credentials, and other secret files, enabling attackers to potentially gain unauthorized access to cloud resources, source code repositories, and other sensitive infrastructure. The attack undermines trust in the software supply chain and can lead to significant security breaches if the stolen credentials are valid and active.
Mitigation Recommendations
No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to avoid installing or using the 'browser-use-headless' package version 0.1.4 from PyPI. Users should verify the authenticity of packages before installation, prefer official and well-maintained packages, and remove this malicious package if found. Additionally, any credentials potentially exposed should be considered compromised and rotated immediately. Monitor for any unauthorized access using the stolen credentials. There is no vendor advisory or official fix; users must rely on package removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10484
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff8e68715ace432f4a80
Added to database: 07/14/2026, 09:21:18 UTC
Last enriched: 07/14/2026, 09:48:18 UTC
Last updated: 07/26/2026, 12:44:56 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.