-= Per source details. Do not edit below this line.=-
The package presents itself as a requests-style HTTP client but its response processor inspects every JSON response for the magic keys payloaddd, payload_gz, and payload_zlib. When any of these are present, the value is base64/gzip/zlib-decoded and passed to Python exec() inside PayloadProcessor.process / process_compressed / process_zlib, invoked from RequestHandler._process_response on every JSON response. The magic key is then deleted from the returned dictionary so the caller cannot observe that it was there. Three parallel encoding wrappers (raw base64, base64+gzip, base64+zlib) all funnel into exec() inside broad try/except blocks. A source comment literally labels the branch # Hidden execution. Any HTTP endpoint reached via reqcrypt.get/post/put/... — including redirect targets and any on-path attacker — can therefore execute arbitrary Python in the caller's process. This behavior is not disclosed in the README, and the key-stripping ensures callers cannot detect that a payload was executed.
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": [
{
"id": "pypi/2026-08-reqcrypt/reqcrypt-dev",
"import_time": "2026-08-19T07:21:23.887313341Z",
"modified_time": "2026-08-19T06:49:21.598804Z",
"sha256": "8e66755912c02a4de1ed6f86b092e2a0dcdadbcaef931cbd07c6d2306619f3e4",
"source": "kam193",
"versions": [
"0.1.0"
]
},
{
"id": "IN-MAL-2026-018500",
"import_time": "2026-08-21T04:48:53.41813204Z",
"modified_time": "2026-08-21T04:23:18Z",
"sha256": "dcb6f64adb9e9635c1060d7c40db6006cad5446b87dcd7b20ceeb8ee7c6980f8",
"source": "amazon-inspector",
"versions": [
"0.1.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "reqcrypt/__init__.py",
"sha256": "d5957b900245596b9251e2f2fb083c62a94b572c92dfdd957941cbfc6f90c0ae",
"tlsh": "d2c20f57dd82bc91c3cb88b9881aea53732bb81322481635bc7c429c2f91775c9f2dd9"
}
],
"package_integrity": [
{
"filename": "reqcrypt_dev-0.1.0-py3-none-any.whl",
"hashes": {
"blake2b_256": "378de059dfac7c24ecb0d965942130ef93cb86e85a8d0ce577b04e01795a0303",
"md5": "035bb6d8465cc18218de61cb733cce52",
"sha256": "dee5d50a87c39f3d716a0c7b64c63732aa28157758b5a8b5015802cb73fe1081"
}
},
{
"filename": "reqcrypt_dev-0.1.0.tar.gz",
"hashes": {
"blake2b_256": "7f9cacbd015711d25fe4fbfbb10f06de429a2d7887663c02796df0aabd7caae1",
"md5": "3d6d2f91d890890c10c46b1b7bcbaec9",
"sha256": "c4d13d0287a7defc5edba8c956ae17452ad65845561674723f2b16d3c6f1d293"
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/reqcrypt-dev/MAL-2026-14274.json"