MAL-2025-191845Malicious code in python3-shodan (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | python3-shodan | 0.0.1 |
{"modified":"2025-12-11T09:27:53Z","published":"2025-05-10T17:59:53Z","schema_version":"1.7.4","id":"MAL-2025-191845","summary":"Malicious code in python3-shodan (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca)\nPackages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-sl4x01\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 - exfiltration-env-variables\n\n\n - impersonation\n","affected":[{"package":{"ecosystem":"PyPI","name":"python3-shodan"},"versions":["0.0.1"]}],"references":[{"type":"WEB","url":"https://github.com/sl4x0"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python3-shodan"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"iocs":{"domains":["sl4x0.xyz"]},"malicious-packages-origins":[{"source":"kam193","sha256":"422f6521d87f0b265b70862fad840f74d262b48235a70e6db133fa55fa783cfa","import_time":"2025-12-02T22:30:55.496100188Z","id":"pypi/2025-05-sl4x01/python3-shodan","modified_time":"2025-05-10T17:59:53Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca","import_time":"2025-12-02T23:07:18.520971405Z","id":"pypi/2025-05-sl4x01/python3-shodan","modified_time":"2025-05-10T17:59:53Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"cffb4935106ce0254db0bb29a553a83006e1bfd48324219984b910041877b0b0","import_time":"2025-12-10T21:38:57.739347937Z","id":"pypi/2025-05-sl4x01/python3-shodan","modified_time":"2025-05-10T17:59:53Z","versions":["0.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0