# MAL-2026-10863: Malicious code in telebot-bot-run (PyPI)


- **Type:** Malicious package
- **Package:** `telebot-bot-run` (PyPI)
- **Published:** 20 Jul 2026

## What is MAL-2026-10863?

MAL-2026-10863 is a malicious package in telebot-bot-run, published on 20 Jul 2026. 

### Official description

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.

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

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.

## What should I do about MAL-2026-10863?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-10863 is a malicious package: telebot-bot-run (PyPI). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-10863/ (Markdown: https://insights.sbomify.com/MAL-2026-10863/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-10863

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-10863/
Summaries are generated and may contain mistakes; the official description above is the record.
