{"id":"MAL-2025-47798","summary":"Malicious code in python-datetil (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ade289b57baa6b63431a9653e51023f1e631fbc0e36471acdb51c821410ea8dc)\nPackage consist of a revshell only. The effective danger is low as it's clearly designed to connect to a localhost only and be used as awareness.\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: 2025-08-python-dateitil\n\n\nReasons (based on the campaign):\n\n\n - typosquatting\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n","modified":"2026-03-19T12:56:01.025103Z","published":"2025-08-28T05:31:14Z","database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","import_time":"2025-09-26T11:05:35.708694469Z","id":"RLMA-2025-04805","versions":["1.1.0","1.1.2"],"sha256":"ed490ec8c26c823a6691f05de58ad8af8a6c494723c931b832a37c7080872bfb","modified_time":"2025-09-26T09:14:29Z"},{"source":"kam193","import_time":"2025-12-02T22:30:56.337028896Z","id":"pypi/2025-08-python-dateitil/python-datetil","versions":["1.1.2","1.1.0"],"sha256":"e4ff5ef3a621b517125f087349704ef19fc1abc123215447bd7ae500eee018d1","modified_time":"2025-08-28T05:31:14.335766Z"},{"source":"kam193","import_time":"2025-12-02T23:07:19.527032802Z","id":"pypi/2025-08-python-dateitil/python-datetil","versions":["1.1.2","1.1.0"],"sha256":"ade289b57baa6b63431a9653e51023f1e631fbc0e36471acdb51c821410ea8dc","modified_time":"2025-08-28T05:31:14.335766Z"},{"source":"kam193","import_time":"2025-12-30T22:39:04.336537438Z","id":"pypi/2025-08-python-dateitil/python-datetil","versions":["1.1.0","1.1.2"],"sha256":"dd9abed4a26db50af52323bc50c816026f32c3bdb7cfdc791a1b85e9e2c3635a","modified_time":"2025-08-28T05:31:14.335766Z"},{"source":"reversing-labs","import_time":"2026-03-19T12:20:17.82260676Z","id":"RLUA-2026-00657","sha256":"20103dcbc798e5787fe40831dcdff447ba0a035dee2472353960550dc570c9f6","modified_time":"2026-03-18T12:17:43Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-datetil"}],"affected":[{"package":{"name":"python-datetil","ecosystem":"PyPI","purl":"pkg:pypi/python-datetil"},"versions":["1.1.0","1.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-datetil/MAL-2025-47798.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"}]}