Critical Malicious Code Vulnerability in selenium-stealth-helper Package
Summary
MAL-2025-191865: Malicious code in selenium-stealth-helper (PyPI). Affects selenium-stealth-helper versions 1.0.0 – 1.1.4. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The selenium-stealth-helper package is a Python library designed to enhance web automation by providing stealth capabilities to Selenium-based applications. It allows developers to bypass detection mechanisms that websites use to identify automated browsing. However, this package has been compromised, leading to a significant security vulnerability that can expose users to malicious activities.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the selenium-stealth-helper package. During the import process, the package downloads and executes a harmful executable identified as an infostealer from the rhadamanthys family. This executable can harvest sensitive information from the user's system, posing a severe risk to data security and privacy. The malicious behavior includes downloading remote executables and impersonating legitimate software, making it a critical threat for users relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall selenium-stealth-helper
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can avoid using the selenium-stealth-helper package until a secure version is released. Additionally, ensure that your environment is secure and monitor for any unauthorized activities that may arise from the use of this package.
Conclusion
The selenium-stealth-helper package has been compromised, posing a significant security risk due to the presence of malicious code that downloads and executes an infostealer. Users are urged to uninstall affected versions and monitor their systems for any unauthorized activities. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.
See every vulnerability recorded for selenium-stealth-helper →
FAQ
Versions 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, and 1.1.4 of selenium-stealth-helper are known to be compromised.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have used the selenium-stealth-helper package, it is recommended to uninstall it immediately and check your system for any signs of compromise.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and keep your packages updated to the latest secure versions.
An infostealer is a type of malware designed to collect sensitive information from a user's device, such as passwords, credit card details, and personal data, which can lead to identity theft and financial loss.