MAL-2024-11708Malicious code in sklearns (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | sklearns | 0.3 |
{"modified":"2026-03-19T12:23:26Z","published":"2024-07-26T16:53:30Z","schema_version":"1.7.4","id":"MAL-2024-11708","summary":"Malicious code in sklearns (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4e260abb013bb5822352ea0e834c081da4d0ab7c66ac8c853cfd809552d02d1a)\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","affected":[{"package":{"ecosystem":"PyPI","name":"sklearns","purl":"pkg:pypi/sklearns"},"versions":["0.3"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/sklearns"}],"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":"b65e44dd655f4c6f4479ba4fc54e34336df0f1e4134d5e1c5fb0f45a95446762","import_time":"2024-12-09T14:38:49.142405473Z","id":"RLMA-2024-11166","modified_time":"2024-12-09T06:51:10Z","versions":["0.3"]},{"source":"kam193","sha256":"e887bf777469970f69130d4b4c9a3ab938c4f7a93d037d06ade7be9d57079a10","import_time":"2025-12-02T22:30:56.407582601Z","id":"pypi/GENERIC-standard-pypi-install-pentest/sklearns","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"4e260abb013bb5822352ea0e834c081da4d0ab7c66ac8c853cfd809552d02d1a","import_time":"2025-12-02T23:07:19.593780642Z","id":"pypi/GENERIC-standard-pypi-install-pentest/sklearns","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"a9b09fddb2e713c5ca5d755dbad3da9733e5b74d153c285405c106c70b42b655","import_time":"2025-12-10T21:38:58.696853892Z","id":"pypi/GENERIC-standard-pypi-install-pentest/sklearns","modified_time":"2024-07-26T16:53:30Z","versions":["0.3"]},{"source":"reversing-labs","sha256":"3151785db0d1ef96e47d1f58d83d08ce6971fd7f40b68aeb1cbf79df47d76067","import_time":"2026-03-19T12:20:27.952117481Z","id":"RLUA-2026-00762","modified_time":"2026-03-18T12:18:51Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0