{"id":"MAL-2024-5101","summary":"Malicious code in easyhttprequest (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2b8f76adb9701e490a7cb89a6457afd1ce1cbe67712cdca356da7f35791ba993)\nClone of the requests package. During installation, it downloads a git repository and attempts to execute a script from its commit message\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2023-12-09-easyhttprequest\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - Downloads and executes a remote malicious script.\n\n\n - clones-real-package\n","aliases":["SNYK-PYTHON-EASYHTTPREQUEST-6139264"],"modified":"2026-03-19T12:52:45.046983Z","published":"2024-06-25T13:35:06Z","database_specific":{"iocs":{"urls":["https://github.com/isaaknikolaev/PySocks","https://github.com/isaaknikolaev/PySocks.git"]},"malicious-packages-origins":[{"source":"reversing-labs","versions":["2.31.5","2.31.4"],"id":"RLMA-2024-03881","import_time":"2024-06-28T02:48:54.023055223Z","modified_time":"2024-06-25T13:35:06Z","sha256":"388de2c20294368ff9d6bb19c7186f425e1aa8aa2626055f1c79601cc5127e2f"},{"id":"RLUA-2024-08178","import_time":"2024-10-24T00:59:09.652100838Z","modified_time":"2024-10-16T14:40:08Z","sha256":"e403455ee47272b28fe57bd3d7b76fee0300e9f68f412f99f6731844760a06ea","source":"reversing-labs"},{"import_time":"2025-12-02T22:30:55.117723594Z","modified_time":"2024-11-29T22:03:31Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e429c7eb8d552d814158f47a9601620b9245ec31a710c2af8b005aac9f8ebae3","source":"kam193","id":"pypi/2023-12-09-easyhttprequest/easyhttprequest"},{"modified_time":"2024-11-29T22:03:31Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"2b8f76adb9701e490a7cb89a6457afd1ce1cbe67712cdca356da7f35791ba993","source":"kam193","id":"pypi/2023-12-09-easyhttprequest/easyhttprequest","import_time":"2025-12-02T23:07:18.129525589Z"},{"id":"pypi/2023-12-09-easyhttprequest/easyhttprequest","import_time":"2025-12-10T21:38:57.414690296Z","modified_time":"2024-11-29T22:03:31Z","sha256":"461c3dce37946adf37a513d11fb88d32996b9ea049cd61402ef5ab59601221a8","source":"kam193","versions":["2.31.4","2.31.5"]},{"id":"RLUA-2025-06562","import_time":"2025-12-24T10:07:36.499314675Z","modified_time":"2025-12-23T08:38:23Z","sha256":"6ac2b994befd596d6f2d6f4a6e752cdb739900f210f4ca1e1c9efe6e1ea07c2e","source":"reversing-labs"},{"id":"RLUA-2026-00287","import_time":"2026-03-19T12:19:42.168281469Z","modified_time":"2026-03-18T12:13:28Z","sha256":"46832380e0ecefef85bbe740f72bcf76311bc44603d07ecab610efa121f65d32","source":"reversing-labs"}]},"references":[{"type":"ARTICLE","url":"https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f"},{"type":"ADVISORY","url":"https://security.snyk.io/vuln/SNYK-PYTHON-EASYHTTPREQUEST-6139264"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/easyhttprequest"},{"type":"ARTICLE","url":"https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise"}],"affected":[{"package":{"name":"easyhttprequest","ecosystem":"PyPI","purl":"pkg:pypi/easyhttprequest"},"versions":["2.31.5","2.31.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/easyhttprequest/MAL-2024-5101.json"}}],"schema_version":"1.7.5","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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}