{"id":"MAL-2025-47797","summary":"Malicious code in python-dateitil (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f7d09226c2d76a03909b10c844a44149abf2606a5f1f55232ee7620580835787)\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:04.747915Z","published":"2025-08-27T09:09:27Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.2"],"id":"RLMA-2025-04804","source":"reversing-labs","sha256":"b4f5db77eb7b6407fc4bffd35b7d4c4b1bfbdc3fdf7b7bc155ecfaaab693e73b","modified_time":"2025-09-26T09:14:29Z","import_time":"2025-09-26T11:05:35.619530766Z"},{"versions":["0.1.2"],"id":"pypi/2025-08-python-dateitil/python-dateitil","source":"kam193","sha256":"07e335e1dfcc04360bbc65bfec95429d985ae8989aacd22b9bbffdde8c1ab3eb","modified_time":"2025-08-27T09:09:27.653501Z","import_time":"2025-12-02T22:30:56.336313038Z"},{"versions":["0.1.2"],"id":"pypi/2025-08-python-dateitil/python-dateitil","source":"kam193","sha256":"f7d09226c2d76a03909b10c844a44149abf2606a5f1f55232ee7620580835787","modified_time":"2025-08-27T09:09:27.653501Z","import_time":"2025-12-02T23:07:19.526057811Z"},{"id":"RLUA-2026-00656","source":"reversing-labs","sha256":"29db1111a20ffcd79894d736ead141458777c1d9aa591e744f02bc11eef64a98","modified_time":"2026-03-18T12:17:43Z","import_time":"2026-03-19T12:20:17.741951415Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-dateitil"}],"affected":[{"package":{"name":"python-dateitil","ecosystem":"PyPI","purl":"pkg:pypi/python-dateitil"},"versions":["0.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-dateitil/MAL-2025-47797.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"}]}