{"id":"MAL-2024-9266","summary":"Malicious code in innostage (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 (ec433c9a241ed7127dc5d6f55b002e94a2407ddd47000e50355f118536e9021e)\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-31T02:55:46.189864Z","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":"886e7758718d528adb49fb8a7362fdd0049dec6ceb7c427ff267dd94f779d126","import_time":"2025-12-02T22:30:55.274343951Z","modified_time":"2024-10-07T13:23:16Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","id":"pypi/2024-10-innostage/innostage"},{"sha256":"ec433c9a241ed7127dc5d6f55b002e94a2407ddd47000e50355f118536e9021e","import_time":"2025-12-02T23:07:18.298683205Z","modified_time":"2024-10-07T13:23:16Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","id":"pypi/2024-10-innostage/innostage"},{"sha256":"e92b859a44c332a5fcf2a1a7f65a7b0cadf98bb193a0836e48a1d415d19f89ad","import_time":"2025-12-10T21:38:57.545536783Z","modified_time":"2024-10-07T13:23:16Z","versions":["7.0.3","7.0.1","7.0.2","7.0.4","7.0.6","7.0.7"],"source":"kam193","id":"pypi/2024-10-innostage/innostage"},{"sha256":"f37b48cfd80852aed045b3839818abfc01b777dcd9256282ddb88543ece98ec8","import_time":"2025-12-30T22:39:04.104573608Z","modified_time":"2024-10-07T13:23:16Z","versions":["7.0.1","7.0.2","7.0.3","7.0.4","7.0.6","7.0.7"],"source":"kam193","id":"pypi/2024-10-innostage/innostage"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/innostage"}],"affected":[{"package":{"name":"innostage","ecosystem":"PyPI","purl":"pkg:pypi/innostage"},"versions":["7.0.7","7.0.3","7.0.1","7.0.2","7.0.4","7.0.6"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/innostage/MAL-2024-9266.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"}]}