{"id":"MAL-2025-2992","summary":"Malicious code in python-dateutil-malicious (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e746200736f98b51154e3cfbafa826ee92b8badb2005dac0e8fb4765cc3cbc57)\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","modified":"2026-03-19T12:56:06.424267Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"source":"reversing-labs","modified_time":"2025-03-28T13:06:07Z","sha256":"5ef34d8271e85de3f59ecc76a218287ba3172334c3e0dcbb5401854e9af9155b","import_time":"2025-03-31T07:07:06.455601854Z","versions":["2.5.4"],"id":"RLMA-2025-01991"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","sha256":"1b5dd07344bc2beb16dcbefe636c3e52675ab365aa56abc386982ae4087ac5dc","import_time":"2025-12-02T22:30:56.33794616Z","id":"pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","sha256":"e746200736f98b51154e3cfbafa826ee92b8badb2005dac0e8fb4765cc3cbc57","import_time":"2025-12-02T23:07:19.52821363Z","id":"pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious","source":"kam193"},{"source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"7f8dd5658c27181f675637394c5515c28f9e89d7faac160a6a05dbce2eb18edc","import_time":"2025-12-10T21:38:58.635432665Z","versions":["2.5.4"],"id":"pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious"},{"source":"reversing-labs","modified_time":"2026-03-18T12:17:44Z","sha256":"be45cc983b1407025eac95ddb9bebfa9a2a2fb3faa41fd9ca2351ec7c52af1c2","import_time":"2026-03-19T12:20:17.906943244Z","id":"RLUA-2026-00658"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-dateutil-malicious"}],"affected":[{"package":{"name":"python-dateutil-malicious","ecosystem":"PyPI","purl":"pkg:pypi/python-dateutil-malicious"},"versions":["2.5.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-dateutil-malicious/MAL-2025-2992.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"}]}