Malicious code in reqcrypts (PyPI)
The reqcrypts package on PyPI contains malicious code that enables remote code execution. It functions as an HTTP client but executes base64-decoded Python code from a specific JSON response field (_payload) using exec(), allowing any responding HTTP server to run arbitrary code on the host. Additionally, it supports covert payload triggers that execute stored Python code silently. This behavior constitutes a hidden backdoor, exposing any application using reqcrypts to remote code execution risks.
AI Analysis
Technical Summary
reqcrypts is a PyPI package advertised as a drop-in HTTP client. Its RequestHandler wraps JSON responses and base64-decodes a _payload field, executing its content via Python's exec() function and then deleting the field to conceal execution. This means any HTTP server responding with a JSON containing a _payload key can execute arbitrary Python code on the client host. The package also provides functions to register triggers and default payloads that execute arbitrary code silently when matched, creating a second covert code execution vector. This design is a deliberate backdoor enabling remote code execution from any responding server.
Potential Impact
Any application using reqcrypts as its HTTP client is vulnerable to remote code execution by any HTTP server it contacts, including malicious servers, man-in-the-middle attackers, or redirect targets. This can lead to full compromise of the host environment running the Python interpreter. The malicious payload execution is silent and automatic, increasing the risk of unnoticed exploitation.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately cease using the reqcrypts package and remove it from their environments. Avoid installing or running code that depends on reqcrypts. Monitor dependency lists and supply chain sources to prevent accidental inclusion. Check vendor advisories or PyPI for updates or removal notices.
Malicious code in reqcrypts (PyPI)
Description
The reqcrypts package on PyPI contains malicious code that enables remote code execution. It functions as an HTTP client but executes base64-decoded Python code from a specific JSON response field (_payload) using exec(), allowing any responding HTTP server to run arbitrary code on the host. Additionally, it supports covert payload triggers that execute stored Python code silently. This behavior constitutes a hidden backdoor, exposing any application using reqcrypts to remote code execution risks.
Affected software
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
Technical Analysis
reqcrypts is a PyPI package advertised as a drop-in HTTP client. Its RequestHandler wraps JSON responses and base64-decodes a _payload field, executing its content via Python's exec() function and then deleting the field to conceal execution. This means any HTTP server responding with a JSON containing a _payload key can execute arbitrary Python code on the client host. The package also provides functions to register triggers and default payloads that execute arbitrary code silently when matched, creating a second covert code execution vector. This design is a deliberate backdoor enabling remote code execution from any responding server.
Potential Impact
Any application using reqcrypts as its HTTP client is vulnerable to remote code execution by any HTTP server it contacts, including malicious servers, man-in-the-middle attackers, or redirect targets. This can lead to full compromise of the host environment running the Python interpreter. The malicious payload execution is silent and automatic, increasing the risk of unnoticed exploitation.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately cease using the reqcrypts package and remove it from their environments. Avoid installing or running code that depends on reqcrypts. Monitor dependency lists and supply chain sources to prevent accidental inclusion. Check vendor advisories or PyPI for updates or removal notices.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14341
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a885f30acd9273b493f8357
Added to database: 08/21/2026, 14:22:40 UTC
Last enriched: 08/21/2026, 14:43:02 UTC
Last updated: 08/21/2026, 16:02:34 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.