If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
Source: amazon-inspector (95c556b9ded1648a2523210bf518dea35324c749733eabeef3268795351b1b9c)
On import, telebot-bot-run 0.3 executes two attacker-controlled code paths against the installer's host. First, the top-level module fetches https://pastebin.com/raw/xAT1vudj via requests.get and passes the response body directly to exec(), running whatever Python the anonymous, mutable Pastebin URL currently serves under the installer's process. Second, the module hardcodes a Telegram bot token (8951969280:...) and auto-starts an infinity_polling thread that registers handlers /ssh, /get, /collect, /del, /make, and an upload handler. The /ssh handler runs attacker-supplied strings through subprocess.run with shell=True; /get sends any file path on the host to the Telegram chat via bot.send_document; /collect zips any directory with shutil.make_archive and uploads the archive; /start re-fetches the same Pastebin URL and pipes it into python3 as a detached background process for persistence. The package's setup.py metadata (author='fuckkkkk you 2 3 4', description='Simple Scopper Library') is consistent with the observed behavior rather than a legitimate telebot helper.
Source: kam193 (3427c3bade820197fefbdc26a5be82d8feeca5f96d35cf035aab848167f2df26)
The package, distinguished as a speed testing or typosquatted Telegram library, contains a Telegram bot to perform remote control of the computer
---
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-10-speedd-testing-bot
Reasons (based on the campaign):
- typosquatting
- Downloads and executes a remote malicious script.
- rat
Source: ossf-package-analysis (956d172026e3ec8ca278acca488473700f3d28483adf026901c3fcc06f501972)
The OpenSSF Package Analysis project identified 'telebot-bot-run' @ 0.5 (pypi) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
- The package executes one or more commands associated with malicious behavior.
Indicators of compromise
Shown defanged and not clickable. Search any indicator to find other packages using it.
Domains
- server-unlock-hack[.]onrender[.]com other packages →
- i7trak-id3i[.]onrender[.]com other packages →
URLs
- hxxps://pastebin[.]com/raw/xAT1vudj other packages →
- hxxps://i7trak-id3i[.]onrender[.]com other packages →
- hxxps://pastebin[.]com/raw/M3Rh68JJ other packages →
- hxxps://pastebin[.]com/raw/77tXxA1d other packages →
- hxxps://pastebin[.]com/raw/PSPYUQTt other packages →
- hxxps://i7trak-id3i[.]onrender[.]com/lol other packages →
- hxxps://pastebin[.]com/raw/FTLjhBMX other packages →