{"id":"MAL-2024-12339","summary":"Malicious code in requests-rapidly (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f63fa6b6885f81b5660794281f53b691fe2c4556c0a3ae1ead90bcf7fda7238b)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2025-12-12T20:40:35.376396Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/requests-rapidly","import_time":"2025-12-02T22:30:56.368659399Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"14efdf242a6df58f97e4f61a746ab768cdf1215a531e0908ef2bcb2ae1a26d13","source":"kam193"},{"import_time":"2025-12-02T23:07:19.556431849Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"f63fa6b6885f81b5660794281f53b691fe2c4556c0a3ae1ead90bcf7fda7238b","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/requests-rapidly"},{"source":"kam193","versions":["0.0.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/requests-rapidly","import_time":"2025-12-10T21:38:58.659051465Z","modified_time":"2024-07-26T16:53:30Z","sha256":"d8ef787c2a7b338b92bbeb6b6086454eb9af117da89aad1f76b8e23ae73712d2"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/requests-rapidly"}],"affected":[{"package":{"name":"requests-rapidly","ecosystem":"PyPI","purl":"pkg:pypi/requests-rapidly"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/requests-rapidly/MAL-2024-12339.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}