{"id":"MAL-2024-12224","summary":"Malicious code in c2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5bf8fb109bddeaac7b9818f893783456619c44562c50fe26abea906cbc1ef06a)\nPackages exfiltrate the diff of the current repository. The code in \"main.py\" suggests it's not a real attempt to provide AI-generated commit message, but a security research attempting to leverage typosquatting.\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: 2024-08-old-bitcommit\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - typosquatting\n","modified":"2025-12-31T02:52:43.810938Z","published":"2024-08-27T21:24:04Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2024-08-old-bitcommit/c2","import_time":"2025-12-02T22:30:55.920289759Z","modified_time":"2024-08-27T21:24:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c5172fa5a2e28273fabcb00384b87cf5666ef094da8a64bdd3bb2fb395880610","source":"kam193"},{"source":"kam193","id":"pypi/2024-08-old-bitcommit/c2","import_time":"2025-12-02T23:07:19.11252883Z","modified_time":"2024-08-27T21:24:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"5bf8fb109bddeaac7b9818f893783456619c44562c50fe26abea906cbc1ef06a"},{"versions":["0.1.7","0.1.6","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"id":"pypi/2024-08-old-bitcommit/c2","import_time":"2025-12-10T21:38:58.244127387Z","modified_time":"2024-08-27T21:24:04Z","sha256":"a9649b65c6fb4d8d4307f88c94c7b95bab52c714469499c9e70e1d6b9823c9a3","source":"kam193"},{"id":"pypi/2024-08-old-bitcommit/c2","import_time":"2025-12-30T22:39:04.26995278Z","modified_time":"2024-08-27T21:24:04Z","sha256":"4211f79ab5597683cc30dd95ef9b14974e75b25b2ef57fb8b0712fa21ce74a0b","source":"kam193","versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7"]}],"iocs":{"domains":["yl4zicglte.execute-api.us-east-1.amazonaws.com"],"urls":["https://yl4zicglte.execute-api.us-east-1.amazonaws.com/predict/commit"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/c2"}],"affected":[{"package":{"name":"c2","ecosystem":"PyPI","purl":"pkg:pypi/c2"},"versions":["0.1.7","0.1.6","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/c2/MAL-2024-12224.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":"ANALYST"}]}