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 reqcrypts (PyPI)

0
Critical
Published: 08/21/2026 (08/21/2026, 02:17:41 UTC)
Source: GCVE Database
Product: reqcrypts

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

PyPIghsa
reqcrypts
Affected versions
=0.1.0=0.1.1=0.1.2=0.1.3

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: 08/21/2026, 14:43:02 UTC

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.

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-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 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