Malicious Code Vulnerability in requeses Package - Typosquatting Attack
Summary
MAL-2025-193011: Malicious code in requeses (PyPI). Affects requeses versions 1.0.0. 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 requeses package is a Python library available on PyPI, designed to facilitate HTTP requests. It is often used for making API calls and handling web requests efficiently. However, this package has been compromised through a typosquatting attack, where a malicious version mimics the legitimate package name to deceive users into installing it. This vulnerability exposes users to potential remote access and control by malicious actors.
Vulnerability Detail
The vulnerability originates from a malicious version of the requeses package, which was uploaded by a user identified as kam193. This version contains a Telegram bot with Remote Access Trojan (RAT) capabilities. It downloads and executes a remote malicious script, allowing attackers to gain unauthorized access to the user's system. The campaign associated with this vulnerability is known as '2025-10-speedd-testing-bot', and it is categorized as malicious due to its clear intent to steal information and control user systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall requeses
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 requeses package until they confirm they have the legitimate version installed. Additionally, ensure that your environment is secure and monitor for any suspicious activity.
Conclusion
The requeses package has been compromised through a typosquatting attack, posing significant risks to users. It is crucial to uninstall the malicious version and ensure that only legitimate packages are used. Regular monitoring and vigilance are essential to safeguard against such vulnerabilities.
See every vulnerability recorded for requeses →
FAQ
Typosquatting is a malicious practice where attackers create fake packages with names similar to legitimate ones, hoping users will mistakenly install them.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Uninstall the requeses package immediately and replace it with the legitimate version. Use the command pip uninstall requeses followed by pip install requeses.
Always verify the source of packages before installation, keep your dependencies updated, and use tools like Vulert to monitor for vulnerabilities.
Using compromised packages can lead to unauthorized access, data theft, and potential control over your system by malicious actors.