pypi · Malicious package advisory
Malwarepython-tg-bot
GHSA-f632-73w4-88p8
Malicious code in python-tg-bot (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 22.5.1` ## Source: kam193 (5397ab6595b8237172e9a49952d092803e03526e3dda8277c64dc4d26ae45ff2) During importing, a dependency with infostealer is loaded and package attempts to exfiltrate credentials. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-12-blank-lib Reasons (based on the campaign): - infostealer - infostealer:blankgrabber - clones-real-package - The malicious code is intentionally included in a dependency of the package - exfiltration-credentials --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-tg-bot/MAL-2025-192365.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/python-tg-bot - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-tg-bot/MAL-2025-192365.json - https://github.com/advisories/GHSA-f632-73w4-88p8
Compromised versions (1)
- = 22.5.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.