Malicious Code Detected in telegrem Package: Remote Control Vulnerability

telegrem Updated 26 Dec 2025

Summary

26/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192943: Malicious code in telegrem (PyPI). Affects telegrem versions 0.2. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The telegrem package, available on PyPI, is designed as a speed testing tool that integrates a Telegram bot for remote control functionalities. While it offers users the ability to test internet speeds, it has been compromised, embedding malicious code that poses significant security risks.

Vulnerability Detail

The vulnerability originates from a malicious campaign identified as '2025-10-speedd-testing-bot', attributed to the source kam193. This package contains a Remote Access Trojan (RAT) that downloads and executes a remote malicious script, potentially allowing attackers to gain unauthorized control over the user's computer. The malicious intent is clear, as it aims to steal information and compromise system integrity.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall telegrem

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 telegrem package and refrain from executing any scripts or commands associated with it until a secure version is available.

Conclusion

The telegrem package has been compromised, embedding malicious code that poses serious security risks. Users are advised to uninstall the package immediately and monitor for updates or patches. Utilizing tools like Vulert can help in identifying vulnerabilities in your software dependencies.

See every vulnerability recorded for telegrem →

Share this vulnerability

FAQ

Telegrem is a Python package designed for speed testing and includes a Telegram bot for remote control functionalities.

The vulnerability allows attackers to execute remote scripts on your computer, potentially leading to unauthorized access and data theft.

Uninstall the telegrem package immediately to protect your system from potential threats.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software without requiring code access. You can check your application against known vulnerabilities using the Vulert playground.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall telegrem

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback