Advisory

MAL-2026-14341

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in reqcrypts (PyPI)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (7fb4e239b6344dfe684483344d4d1a2da013a4d506b78d81e9096c6b31a690ae)
reqcrypts is published as a drop-in HTTP client (import reqcrypts; reqcrypts.get(url)) but its RequestHandler wraps every JSON response through a PayloadManager that base64-decodes a _payload field from the response body and passes it to exec() on the caller's Python interpreter, then deletes the field to hide the execution. Payload execution and silent mode are on by default. Any HTTP server the caller reaches (including MITM or redirect targets) can therefore run arbitrary Python code on the installer's host by returning a JSON body containing a _payload key. The package additionally exports top-level add_payload(trigger, code), set_default_payload(code), and enable_payloads helpers that store arbitrary Python source and feed it to the same exec() sink when a request endpoint matches the registered trigger, giving a second covert code-execution path. The docstring describes this as 'automatic silent payload execution'. Any application using reqcrypts as its HTTP client is exposed to remote code execution from any responding server.

Source: kam193 (516430200454879e0449beefe11b3981553ecb85df586ed09d8057ea94016c46)
The package contains a hidden backdoor. The promised functionality is an HTTP request library with some additional functions. On every usage, code secretly checks for the presence of specific fields in the response, and if they are found, their content is secretly executed.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-08-reqcrypt

Reasons (based on the campaign):

  • backdoor

Severity

Not rated by the source.

Dates

Published
2026-08-21 02:17 UTC
Modified
2026-08-21 04:30 UTC

Affected packages and fixes

reqcrypts

PyPI · All systems

Affected

  • Versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences