-= Per source details. Do not edit below this line.=-
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.
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):
{
"malicious-packages-origins": [
{
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3"
],
"sha256": "516430200454879e0449beefe11b3981553ecb85df586ed09d8057ea94016c46",
"source": "kam193",
"import_time": "2026-08-21T02:35:09.48742377Z",
"id": "pypi/2026-08-reqcrypt/reqcrypts",
"modified_time": "2026-08-21T02:17:41.984097Z"
},
{
"source": "amazon-inspector",
"sha256": "d53882b2c7d871e0f23318b5f65207af815ce41362267a935b5f9dfaa9c4fa9d",
"versions": [
"0.1.2"
],
"import_time": "2026-08-21T04:19:06.510580941Z",
"id": "IN-MAL-2026-018496",
"modified_time": "2026-08-21T04:15:10Z"
},
{
"source": "amazon-inspector",
"sha256": "7fb4e239b6344dfe684483344d4d1a2da013a4d506b78d81e9096c6b31a690ae",
"versions": [
"0.1.3"
],
"import_time": "2026-08-21T04:19:06.413880875Z",
"id": "IN-MAL-2026-018495",
"modified_time": "2026-08-21T04:15:01Z"
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/reqcrypts/MAL-2026-14341.json"
{
"package_integrity": [
{
"filename": "reqcrypts-0.1.2-py3-none-any.whl",
"hashes": {
"sha256": "310ad82dae5795926de3cedeeacab9dadb4db1bbdb10dbd98339b0cb6a758453",
"blake2b_256": "cc61fe1f8b0084f269988cadda4860edb1a3776860dd2fbd30ea2f32d569dcc3",
"md5": "ae9aa5037e74a2bc0fdc7d6218acbdca"
}
},
{
"filename": "reqcrypts-0.1.2.tar.gz",
"hashes": {
"sha256": "cdb3aa784672babb848fbf90d056f1f3c35072aae182581627efa0f173ddca67",
"blake2b_256": "fcb236626b80a2c0b9e5382d75f48cc8e9dbec395918babc19b944f06713bd71",
"md5": "ed8477030c3783db02346dc132002944"
}
}
],
"evidence_files": [
{
"sha256": "90c340d4c07a9ba8727e3caad6ec20a20eed105e489207c16c13f48022aeab2e",
"tlsh": "8722ec162a43f111cbdbc0749866de236b2f7c036a8c6134f6ec659caf15224e5f6ed8",
"path": "reqcrypts/__init__.py"
}
]
}