Malicious Code Exfiltration in zsender Package

zsender Updated 03 Dec 2025

Summary

20/04/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191945: Malicious code in zsender (PyPI). Affected versions are not published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The zsender package, part of a malicious campaign targeting Telegram Desktop users, is designed to exfiltrate sensitive user data. It operates by scanning directories for user data, archiving it, and sending it to a remote server. The package is a dependency in a series of malicious packages that collectively aim to compromise user privacy.

Vulnerability Detail

The zsender package contains malicious code that is intentionally included to facilitate data exfiltration from the Telegram Desktop application. This vulnerability originates from a campaign that splits functionality across multiple packages, with zsender specifically responsible for sending the collected data to a remote server. The malicious code is executed automatically upon import, making it a significant threat to user data security.

How To Fix

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

pip uninstall zsender

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 can avoid using the zsender package and its dependencies. Ensure that your environment does not include any packages from the malicious campaign. You can also monitor your system for unusual activity and remove any suspicious files or directories.

Conclusion

The zsender package poses a serious threat due to its malicious intent to exfiltrate user data from Telegram Desktop. Users are advised to remove the package and its dependencies immediately and to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.

See every vulnerability recorded for zsender →

Share this vulnerability

FAQ

The zsender package is part of a malicious campaign designed to exfiltrate user data from the Telegram Desktop application.

The vulnerability allows attackers to access and exfiltrate sensitive user data without consent, posing a significant privacy risk.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without signing up.

Remove the zsender package and any related malicious packages immediately to protect your data.

Yes, Vulert provides tools to monitor open-source vulnerabilities in your software using just the Pipfile.lock.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall zsender

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