MAL-2026-14133Malicious code in reqcrypt (PyPI)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
0.1.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | reqcrypt | 0.1.0 |
{"schema_version":"1.7.4","id":"MAL-2026-14133","published":"2026-08-18T22:01:25Z","modified":"2026-08-19T00:23:20.005099315Z","summary":"Malicious code in reqcrypt (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (152e5cdb52328dccd4eb61462c930b56f456dbdf759f0ce3005da3a7ecf4b688)\nreqcrypt presents itself as a general-purpose HTTP client, but its internal PayloadProcessor unconditionally inspects every HTTP response for JSON keys named 'payloaddd', 'payload_gz', and 'payload_zlib', base64/gzip/zlib-decodes the associated values, and passes the decoded bytes to exec() inside the caller's Python process. This decode-and-exec path is wired into _process_response, which is invoked from every public verb (get/post/put/delete/patch/download/upload), so any server the caller contacts—or any network attacker able to tamper with a response—can push arbitrary Python code into the caller's process by adding one of those keys to a JSON body. In-source comments label the sinks as 'Hidden execution', and the behavior is not disclosed in the package's advertised API. Effect on any program using this library is a remote code execution channel driven by attacker-controlled or attacker-influenced HTTP responses.\n\n## Source: kam193 (556f2178ed2505024fd91bc1c9c20b59d78783c27badd166a220493e5184fb39)\nThe 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-08-reqcrypt\n\n\nReasons (based on the campaign):\n\n\n - backdoor\n","affected":[{"package":{"name":"reqcrypt","ecosystem":"PyPI"},"versions":["0.1.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"reqcrypt/__init__.py","sha256":"d5957b900245596b9251e2f2fb083c62a94b572c92dfdd957941cbfc6f90c0ae","tlsh":"d2c20f57dd82bc91c3cb88b9881aea53732bb81322481635bc7c429c2f91775c9f2dd9"}],"package_integrity":[{"filename":"reqcrypt-0.1.0-py3-none-any.whl","hashes":{"blake2b_256":"8bfd193a959da773d81c9f471aae1af8c587f5690cd5001902dc3ab8387454e6","md5":"4a72b58534d2078ca3d3aabf2aa4ff22","sha256":"6e29219f3dfe3b36aea8458f33521b160222e242da681434c4212c13efb21485"}},{"filename":"reqcrypt-0.1.0.tar.gz","hashes":{"blake2b_256":"4cd798e821b068ead2b3aee34f43a1a734c14262a2a0a11df515e16c76d675d6","md5":"d1f48856f11b2ef20b000ac837d9c2d2","sha256":"a868335eb23ede7056456d858bdbcb369bbe5146f5acc69c89027b1c7041bbf1"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/reqcrypt"},{"type":"PACKAGE","url":"https://pypi.org/project/reqcrypt/0.1.0/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/2026-08-reqcrypt/reqcrypt","import_time":"2026-08-18T22:43:10.388560939Z","modified_time":"2026-08-18T22:01:25.251379Z","sha256":"556f2178ed2505024fd91bc1c9c20b59d78783c27badd166a220493e5184fb39","source":"kam193","versions":["0.1.0"]},{"id":"IN-MAL-2026-018219","import_time":"2026-08-19T00:21:10.000859471Z","modified_time":"2026-08-18T23:47:25Z","sha256":"152e5cdb52328dccd4eb61462c930b56f456dbdf759f0ce3005da3a7ecf4b688","source":"amazon-inspector","versions":["0.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0