Malicious Code Vulnerability in marshel Package: Remote Control Threat
Summary
MAL-2026-325: Malicious code in marshel (PyPI). Affects marshel versions 0.3. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The marshel package, available on PyPI, is purportedly a speed testing tool or a typosquatted Telegram library. It is designed to facilitate interactions with the Telegram messaging platform. However, this package has been identified as containing malicious code that allows for remote control of the user's computer, posing significant security risks.
Vulnerability Detail
The marshel package has been compromised through typosquatting, where a malicious actor has created a deceptive version of the package. This version downloads and executes a remote malicious script, effectively turning the user's machine into a remote access trojan (RAT). The origins of this vulnerability trace back to the package's malicious campaign, which aims to exploit unsuspecting users by masquerading as a legitimate tool.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall marshel
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 workaround, avoid using the marshel package and consider alternative libraries that provide similar functionality without the associated risks. Always verify the authenticity of packages before installation.
Conclusion
The marshel package poses a significant security risk due to its malicious code that allows for remote control of affected systems. Users are advised to uninstall the package immediately and consider using alternative solutions. Regular monitoring of dependencies with tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for marshel →
FAQ
The marshel package is a Python library that was marketed as a speed testing tool or a Telegram library but has been found to contain malicious code.
The vulnerability allows the malicious code to execute remote scripts, potentially giving attackers control over your computer.
You should immediately uninstall the marshel package using 'pip uninstall marshel' and check your system for any unusual activities.
Always verify the source of packages before installation, and consider using tools like Vulert to monitor for vulnerabilities in your dependencies.
Vulert is a monitoring tool that alerts you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by vulnerabilities using the Vulert playground without needing to sign up.