Malicious Code Detected in Pyrogrom: A Speed Testing Telegram Library
Summary
MAL-2026-42: Malicious code in pyrogrom (PyPI). Affects pyrogrom versions 0.3. 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
Pyrogrom is a package available on PyPI that is marketed as a speed testing tool or a Telegram library. It is designed to facilitate interactions with the Telegram messaging platform. However, this package has been identified as a typosquatted version, which means it mimics a legitimate package to deceive users. The malicious variant includes a Telegram bot that allows remote control of the user's computer, posing significant security risks.
Vulnerability Detail
The vulnerability in the Pyrogrom package stems from its malicious intent, categorized as a Remote Access Trojan (RAT). The package downloads and executes a remote malicious script, compromising the user's system. This vulnerability is particularly concerning as it can lead to unauthorized access, data theft, and further exploitation of the affected system. The malicious code was introduced by a user identified as 'kam193', who has a history of distributing harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall pyrogrom
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 workaround, users are advised to avoid using the Pyrogrom package altogether until a secure version is released. Additionally, consider using alternative libraries that provide similar functionality without the associated risks.
Conclusion
The Pyrogrom package has been identified as a malicious tool that poses significant security risks to users. It is essential to uninstall this package and remain vigilant when installing third-party libraries. Utilizing tools like Vulert can help monitor for vulnerabilities in your software.
See every vulnerability recorded for pyrogrom →
FAQ
Pyrogrom is a package that claims to be a speed testing tool or a Telegram library, but it has been identified as malicious.
The vulnerability allows the package to download and execute malicious scripts, potentially leading to unauthorized access and data theft.
The malicious code was introduced by a user known as 'kam193', who has a history of distributing harmful packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.
If you have installed Pyrogrom, you should uninstall it immediately using the command 'pip uninstall pyrogrom' and consider using alternative libraries.