{"id":"MAL-2024-9268","summary":"Malicious code in maxpatrol (PyPI)","details":"The package contains code to download and execute a reverse shell script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1)\nWhen imported, the package download and runs a remote stage - a reverse shell. To mask activity, the remote domain is made to mimic PyPI host: files[.]pythonhosted[.]ru\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-10-innostage\n\n\nReasons (based on the campaign):\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":"2025-12-12T20:42:41.322574Z","published":"2024-10-07T13:23:16Z","database_specific":{"iocs":{"domains":["files.pythonhosted.ru","pythonhosted.ru","files.inostage.ru"],"urls":["http://files.pythonhosted.ru/56788.txt","http://files.pythonhosted.ru/56789.txt"]},"malicious-packages-origins":[{"sha256":"3e28ae00cccb55b3fb5bbba7bf50ff5bee98d2870edb835523fa4dffa154990f","id":"pypi/2024-10-innostage/maxpatrol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-10-07T13:23:16Z","source":"kam193","import_time":"2025-12-02T22:30:55.326822431Z"},{"sha256":"e7b0664f3eb50be717290db2d08e1be4a3dcbce029ad58fae9cffb04f09a51c1","id":"pypi/2024-10-innostage/maxpatrol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-10-07T13:23:16Z","source":"kam193","import_time":"2025-12-02T23:07:18.354749244Z"},{"sha256":"492cb081cae92c5ca3c46a4a91fd67f313c4d34499a63feb7bd2273fb22a73a3","id":"pypi/2024-10-innostage/maxpatrol","versions":["7.0.6"],"modified_time":"2024-10-07T13:23:16Z","source":"kam193","import_time":"2025-12-10T21:38:57.587365931Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/maxpatrol"}],"affected":[{"package":{"name":"maxpatrol","ecosystem":"PyPI","purl":"pkg:pypi/maxpatrol"},"versions":["7.0.6"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/maxpatrol/MAL-2024-9268.json"}}],"schema_version":"1.7.3","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":"Stacklok: trustypkg.dev","contact":["https://discord.com/invite/RkzVuTp3WK"],"type":"FINDER"}]}