Malicious Code in Telebot-infe: A Threat to User Security
Summary
MAL-2026-931: Malicious code in telebot-infe (PyPI). Affects telebot-infe 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
The package 'telebot-infe' is a Python library that was designed for speed testing and is a typosquatted version of a legitimate Telegram library. Its primary function is to facilitate the creation of Telegram bots. However, this particular version has been compromised, embedding malicious code that allows for remote control of the user's computer, posing significant security risks.
Vulnerability Detail
The vulnerability originates from a malicious campaign identified as '2025-10-speedd-testing-bot'. It involves typosquatting, where a malicious actor creates a package with a name similar to a legitimate one to deceive users. The compromised package downloads and executes a remote malicious script, functioning as a Remote Access Trojan (RAT). This can lead to unauthorized access to sensitive information and control over the affected system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall telebot-infe
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 measure, users should avoid using the 'telebot-infe' package and refrain from executing any scripts that may have been downloaded through it. Regularly monitor your system for any unauthorized access or changes.
Conclusion
The 'telebot-infe' package poses a significant security threat due to its malicious code that allows for remote control of affected systems. Users are urged to uninstall this package and switch to legitimate alternatives to safeguard their systems.
See every vulnerability recorded for telebot-infe →
FAQ
'telebot-infe' is a Python package that was intended for creating Telegram bots but has been compromised with malicious code.
The vulnerability allows attackers to remotely control your computer, potentially leading to data theft and unauthorized access.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Uninstall 'telebot-infe' immediately and replace it with a legitimate Telegram library to ensure your system's security.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.