Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in requests-toolbelt-plus (PyPI)

0
High
Published: 06/10/2026 (06/10/2026, 17:11:39 UTC)
Source: GCVE Database
Product: requests-toolbelt-plus

Description

The requests-toolbelt-plus package on PyPI is a malicious package impersonating the legitimate requests-toolbelt library. During installation, it executes code that checks if the environment is Windows Subsystem for Linux (WSL). If so, it connects to a hardcoded attacker IP, sends system information, and establishes a persistent reverse shell via modifications to the user's .bashrc file. This allows full remote command execution and persistent access on affected developer machines running WSL.

Affected software

PyPIghsa
requests-toolbelt-plus
Affected versions
=99.9.9=99.9.10=100.0.0=2026.6.10.172624

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 09:51:34 UTC

Technical Analysis

The malicious requests-toolbelt-plus PyPI package contains no legitimate functionality and instead executes malicious code during installation. It detects WSL environments by inspecting /proc/version and, if confirmed, opens a TCP connection to a hardcoded IP address on port 4444. It sends a JSON beacon with user and system information, then spawns a background thread to receive and execute arbitrary shell commands remotely, returning output to the attacker. Additionally, it appends a Python one-liner to the user's ~/.bashrc to re-establish a reverse shell on every new login shell, providing persistent interactive shell access. This WSL-specific gating is designed to evade detection on non-targeted systems and focus on Windows Subsystem for Linux developer hosts.

Potential Impact

Successful installation or import of this package on a WSL environment results in full remote command execution on the victim machine and persistent backdoor access via a reverse shell triggered on every new login shell. This compromises confidentiality, integrity, and availability of the affected system. The attacker gains persistent interactive shell access with the privileges of the installing user.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing requests-toolbelt-plus and verify package authenticity before installation. Remove any installed instances of requests-toolbelt-plus and inspect and clean the ~/.bashrc file to remove the malicious reverse shell code. Monitor for suspicious network connections to the hardcoded IP 185.184.192.205 on port 4444. Use trusted package sources and verify package signatures when possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5519
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c3668715ace431586ed

Added to database: 07/09/2026, 09:39:02 UTC

Last enriched: 07/09/2026, 09:51:34 UTC

Last updated: 07/29/2026, 08:36:50 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses