{"id":"MAL-2025-191841","summary":"Malicious code in python-rootpath (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (bb867560d676e7b79ce110b230906a9630feb223cbcb6072bff5a2636c60a3c7)\nHidden code downloads, saves and import a remote script. The package itself is a clone of a legitimate \"rootpath\". At the time of analysis, the remote script did not do any harmful action\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-11-python-rootpath\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - clones-real-package\n","modified":"2026-03-19T12:56:03.649745Z","published":"2025-11-12T20:57:18Z","database_specific":{"iocs":{"urls":["https://pastebin.com/raw/mPx5K6DN"]},"malicious-packages-origins":[{"sha256":"894d7db316da52e9be82cf9fc3b3c09a36a51beca269246cbc823de15005ee2e","source":"kam193","versions":["0.1.9","0.1.7"],"id":"pypi/2025-11-python-rootpath/python-rootpath","import_time":"2025-12-02T22:30:55.492963433Z","modified_time":"2025-11-12T20:57:18.207133Z"},{"id":"pypi/2025-11-python-rootpath/python-rootpath","import_time":"2025-12-02T23:07:18.517869479Z","modified_time":"2025-11-12T20:57:18.207133Z","sha256":"bb867560d676e7b79ce110b230906a9630feb223cbcb6072bff5a2636c60a3c7","source":"kam193","versions":["0.1.9","0.1.7"]},{"id":"RLMA-2025-06584","import_time":"2025-12-24T10:07:31.11011233Z","modified_time":"2025-12-23T08:39:31Z","sha256":"63d4c44546eaa9b33dc5fe1745f42e2966888ec5bb73df4369f8cdd982501fe2","source":"reversing-labs","versions":["0.1.1","0.1.2","0.1.3","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9"]},{"id":"pypi/2025-11-python-rootpath/python-rootpath","import_time":"2025-12-30T22:39:04.146549882Z","modified_time":"2025-11-12T20:57:18.207133Z","sha256":"e4dd471edee03aeb7579dbbbdbefa7594da826040e16473e4a99bf889788e832","source":"kam193","versions":["0.1.7","0.1.9"]},{"import_time":"2026-03-19T12:20:18.711153455Z","modified_time":"2026-03-18T12:17:49Z","sha256":"f7e11676db9086d1238c4a81f42abebf09a400f09290aa05e3978f05b12872e3","source":"reversing-labs","id":"RLUA-2026-00667"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-rootpath"}],"affected":[{"package":{"name":"python-rootpath","ecosystem":"PyPI","purl":"pkg:pypi/python-rootpath"},"versions":["0.1.9","0.1.7","0.1.1","0.1.2","0.1.3","0.1.5","0.1.6","0.1.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-rootpath/MAL-2025-191841.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"}]}