MAL-2024-5326Malicious code in libsocks5 (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | libsocks5 | 1.1.1 |
| PyPI | libsocks5 | 1.7.0 |
| PyPI | libsocks5 | 1.7.1 |
| PyPI | libsocks5 | 1.7.2 |
| PyPI | libsocks5 | 1.7.3 |
| PyPI | libsocks5 | 1.7.4 |
{"modified":"2026-03-19T12:23:25Z","published":"2024-06-25T13:36:56Z","schema_version":"1.7.4","id":"MAL-2024-5326","aliases":["SNYK-PYTHON-LIBSOCKS5-6139260"],"summary":"Malicious code in libsocks5 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f9d745820f944dd4aaf916168db7546fdd4689ac873f85166e92e87329caa3f9)\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2023-11-update-information-endpoint\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n","affected":[{"package":{"ecosystem":"PyPI","name":"libsocks5","purl":"pkg:pypi/libsocks5"},"versions":["1.7.4","1.7.0","1.1.1","1.7.3","1.7.2","1.7.1"]}],"references":[{"type":"ADVISORY","url":"https://security.snyk.io/vuln/SNYK-PYTHON-LIBSOCKS5-6139260"},{"type":"ARTICLE","url":"https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/libsocks5"},{"type":"ARTICLE","url":"https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","sha256":"09951764d125cccafdedff570d8c1c23f5b758818f2a4ea86b0136a5e96c5906","import_time":"2024-06-28T02:49:21.705863052Z","id":"RLMA-2024-04108","modified_time":"2024-06-25T13:36:56Z","versions":["1.7.4","1.7.0","1.1.1","1.7.3","1.7.2","1.7.1"]},{"source":"reversing-labs","sha256":"7b9c6e3863fb099d4f96269a21ae60faeb39f6c45a1829c7d8769feee39a61ae","import_time":"2024-10-24T00:59:24.635618506Z","id":"RLUA-2024-08472","modified_time":"2024-10-16T14:43:15Z"},{"source":"kam193","sha256":"7abec419c903e1d92e16ac461f7341cf082938f35cb182b8979aab8e36890ef1","import_time":"2025-12-02T22:30:55.310868335Z","id":"pypi/2023-11-update-information-endpoint/libsocks5","modified_time":"2024-08-09T19:17:59Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"f9d745820f944dd4aaf916168db7546fdd4689ac873f85166e92e87329caa3f9","import_time":"2025-12-02T23:07:18.337374149Z","id":"pypi/2023-11-update-information-endpoint/libsocks5","modified_time":"2024-08-09T19:17:59Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"3bc6b0fec4a6b3540f79ae0d408b8ef65f96121f5d7c5a0a9e8e0634870311a1","import_time":"2025-12-10T21:38:57.571324518Z","id":"pypi/2023-11-update-information-endpoint/libsocks5","modified_time":"2024-08-09T19:17:59Z","versions":["1.7.1","1.7.0","1.7.2","1.7.3","1.1.1","1.7.4"]},{"source":"reversing-labs","sha256":"4b82d3906b35e14e4078a8184b5d95d7d1e622ab655e6618a4601d3547663492","import_time":"2025-12-24T10:07:36.658301737Z","id":"RLUA-2025-06573","modified_time":"2025-12-23T08:38:58Z"},{"source":"kam193","sha256":"62ebf5035d67a23fcfe010910da67b449bb1a3ea0adc6342fa54f65533597135","import_time":"2025-12-30T22:39:04.120330781Z","id":"pypi/2023-11-update-information-endpoint/libsocks5","modified_time":"2024-08-09T19:17:59Z","versions":["1.1.1","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4"]},{"source":"reversing-labs","sha256":"95d52f8935641ff1eddd16e3b9a6b96807a7d64453d25f30c3b3f267c7e490f3","import_time":"2026-03-19T12:19:59.583283645Z","id":"RLUA-2026-00471","modified_time":"2026-03-18T12:15:36Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0