Malicious Code Exfiltration in tchap-bot Package
Summary
MAL-2026-1086: Malicious code in tchap-bot (PyPI). Affects tchap-bot versions 199.0.99. 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 tchap-bot package is a Python library available on PyPI, designed for integration with the Tchap messaging platform. It is intended to facilitate communication and interaction within the Tchap ecosystem. However, this package has been identified as malicious, containing code that exfiltrates sensitive information from the host system, such as IP addresses and usernames, during installation.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the tchap-bot package. Upon installation or import, the package executes commands that communicate with a domain associated with malicious activities. This behavior compromises the security of the host system by exfiltrating basic data without the user's consent. The package also overrides the install command in setup.py, ensuring that the malicious code runs automatically during the installation process.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tchap-bot
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
Currently, there are no specific workarounds to mitigate the risks posed by the tchap-bot package. The best course of action is to avoid using this package altogether and to monitor your system for any unusual activity that may have resulted from its installation.
Conclusion
The tchap-bot package has been identified as malicious due to its capability to exfiltrate sensitive information from the host system. Users are advised to uninstall the package and refrain from using it in the future. Monitoring tools like Vulert can assist in identifying vulnerabilities in open-source packages.
See every vulnerability recorded for tchap-bot →
FAQ
The tchap-bot package is a Python library designed for integration with the Tchap messaging platform, facilitating communication within its ecosystem.
The package exfiltrates sensitive information such as IP addresses and usernames from the host system during installation.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
No, there is currently no patched version of the tchap-bot package available. It is recommended to uninstall it and seek alternatives.
If you have installed the tchap-bot package, you should uninstall it immediately using the command 'pip uninstall tchap-bot' and monitor your system for any unusual activity.