{"id":"MAL-2025-2952","summary":"Malicious code in ctf-aio-tool (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a)\nInstalling the package starts a reverse shell. The remote server is, however, set as a local IP, so it's most probably testing\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: 2025-03-marinff\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\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":"2026-03-19T12:52:10.845359Z","published":"2025-03-02T17:05:55Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-03-31T07:07:05.17106029Z","modified_time":"2025-03-28T13:05:31Z","versions":["0.1"],"sha256":"15855052cac4115b769ad8f63158e9708ff24c0e4596a7174415ce0ed9fe0ac4","source":"reversing-labs","id":"RLMA-2025-01950"},{"import_time":"2025-12-02T22:30:55.968518393Z","modified_time":"2025-03-02T17:05:55Z","sha256":"8c915ca4b577d6380c63b138e4d426ed48dd2c496e89c608b416233b80f80511","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-03-marinff/ctf-aio-tool"},{"import_time":"2025-12-02T23:07:19.160162894Z","modified_time":"2025-03-02T17:05:55Z","sha256":"1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-03-marinff/ctf-aio-tool"},{"import_time":"2025-12-10T21:38:58.298833364Z","modified_time":"2025-03-02T17:05:55Z","versions":["0.1"],"sha256":"d27c34e9826285dd4783352238d8239341528e2eaa4857cf573f60a4e4dbcc6c","source":"kam193","id":"pypi/2025-03-marinff/ctf-aio-tool"},{"import_time":"2026-03-19T12:19:37.577421891Z","modified_time":"2026-03-18T12:12:59Z","sha256":"cbadcb82a3b4e958399fc48a0d790894456d1cd83a1dc808d0ae9312479f2289","source":"reversing-labs","id":"RLUA-2026-00240"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ctf-aio-tool"}],"affected":[{"package":{"name":"ctf-aio-tool","ecosystem":"PyPI","purl":"pkg:pypi/ctf-aio-tool"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ctf-aio-tool/MAL-2025-2952.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"}]}