Malicious Code Detected in telegramdoxing Package: Infostealer Vulnerability
Summary
MAL-2025-191888: Malicious code in telegramdoxing (PyPI). Affected versions are not published. 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 telegramdoxing package, available on PyPI, is designed for managing and interacting with Telegram data. However, it has been identified as containing malicious code that executes an embedded executable upon running the module. This vulnerability poses a significant risk to users, as it can lead to unauthorized data access and potential data theft.
Vulnerability Detail
The vulnerability originates from the package's inclusion of a malicious executable, likely functioning as a blank grabber. This executable is triggered when the module is executed, allowing it to steal sensitive information from the user's system. The malicious intent is evident, as it falls under the category of infostealers, specifically targeting user data without consent.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall telegramdoxing
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 isolate their environment by using virtual environments to prevent the execution of the malicious code. This can be done using the following commands:
- Create a virtual environment: 'python -m venv myenv'
- Activate the virtual environment: 'source myenv/bin/activate' (Linux/Mac) or 'myenv\Scripts\activate' (Windows)
- Avoid installing the telegramdoxing package within this environment.
Conclusion
The telegramdoxing package has been identified as containing malicious code that poses a significant risk to users. Immediate action is required to uninstall the package and prevent potential data theft. Users are encouraged to monitor for updates and utilize tools like Vulert to stay informed about vulnerabilities.
See every vulnerability recorded for telegramdoxing →
FAQ
telegramdoxing is a Python package designed for managing and interacting with Telegram data.
The package contains an embedded malicious executable that acts as an infostealer, potentially stealing sensitive user information.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
It is recommended to uninstall the telegramdoxing package immediately and refrain from using it until a safe version is released.
Currently, there is no patch available. Users should uninstall the package and monitor for updates.