MAL-2024-12224

    Dashboard / Malicious Package / MAL-2024-12224

    MAL-2024-12224

    Published: 27 Aug 2024Last Modified: 31 Dec 2025

    Summary: Malicious code in c2 (PyPI)

    Details: Source: kam193 (5bf8fb109bddeaac7b9818f893783456619c44562c50fe26abea906cbc1ef06a) Packages 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. Category: 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. Campaign: 2024-08-old-bitcommit Reasons (based on the campaign): - exfiltration-generic - typosquatting

    Affected packages

    Package

    Name: c2

    Purl: pkg:pypi/c2

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected 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