{"id":"MAL-2025-191709","summary":"Malicious code in cti-ctf-challenges (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1cefe6c8a9ac6ede7c6ba497cf17011bf431812980749bb0068995ebba4039d9)\nIf the method from the module is called, it attempts to download a malicious code (identified as msf payload) and save it locally. In the analysed version, the code starting the malicious code was commented out.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-07-web3dummycti\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\n\n - action-hidden-in-lib-usage\n\n\n - Downloads and executes a remote malicious script.\n","modified":"2025-12-31T02:53:09.373642Z","published":"2025-09-09T17:40:01Z","database_specific":{"iocs":{"urls":["https://github.com/brojafox/hehe/raw/refs/heads/main/hehe.txt"]},"malicious-packages-origins":[{"id":"pypi/2025-07-web3dummycti/cti-ctf-challenges","import_time":"2025-12-02T22:30:55.083876428Z","modified_time":"2025-09-09T17:40:01.964607Z","sha256":"1c8af945364e0fba34cda9b3380142e8b5488188ec068411ba89e84d63c1ecca","source":"kam193","versions":["0.1.2","0.1.1","0.1.0"]},{"id":"pypi/2025-07-web3dummycti/cti-ctf-challenges","import_time":"2025-12-02T23:07:18.096566442Z","modified_time":"2025-09-09T17:40:01.964607Z","sha256":"1cefe6c8a9ac6ede7c6ba497cf17011bf431812980749bb0068995ebba4039d9","source":"kam193","versions":["0.1.2","0.1.1","0.1.0"]},{"id":"pypi/2025-07-web3dummycti/cti-ctf-challenges","import_time":"2025-12-30T22:39:04.065634274Z","modified_time":"2025-09-09T17:40:01.964607Z","sha256":"c3e6812abe8c36025c79adab1c9156f7ebc995f407c4b3d0e6cc4fbd4a7e592f","source":"kam193","versions":["0.1.0","0.1.1","0.1.2"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/cti-ctf-challenges"}],"affected":[{"package":{"name":"cti-ctf-challenges","ecosystem":"PyPI","purl":"pkg:pypi/cti-ctf-challenges"},"versions":["0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/cti-ctf-challenges/MAL-2025-191709.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"}]}