MAL-2024-9270Malicious code in ptsecurity (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | ptsecurity | 7.0.6 |
{"modified":"2025-12-11T09:27:53Z","published":"2024-10-07T13:23:16Z","schema_version":"1.7.4","id":"MAL-2024-9270","summary":"Malicious code in ptsecurity (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 (a67d1a04a247e897d3da239f3ff95a95284282eb6bb38c266273167e4419b9c1)\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","affected":[{"package":{"ecosystem":"PyPI","name":"ptsecurity"},"versions":["7.0.6"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ptsecurity"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Stacklok: trustypkg.dev","type":"FINDER","contact":["https://discord.com/invite/RkzVuTp3WK"]}],"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":[{"source":"kam193","sha256":"db7f459d8d864985656f06a8c8d163dfcf5679b1ce388f1cb3108395328671a0","import_time":"2025-12-02T22:30:55.449367005Z","id":"pypi/2024-10-innostage/ptsecurity","modified_time":"2024-10-07T13:23:16Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"a67d1a04a247e897d3da239f3ff95a95284282eb6bb38c266273167e4419b9c1","import_time":"2025-12-02T23:07:18.472348001Z","id":"pypi/2024-10-innostage/ptsecurity","modified_time":"2024-10-07T13:23:16Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"2dc12db211fb9943a1e406e939aaabf211a1c864fc017b55aedd6e40f08e2b0b","import_time":"2025-12-10T21:38:57.68971193Z","id":"pypi/2024-10-innostage/ptsecurity","modified_time":"2024-10-07T13:23:16Z","versions":["7.0.6"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0