MAL-2024-12189

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/advdef01/MAL-2024-12189.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12189
Published
2024-08-05T22:25:51Z
Modified
2025-12-12T20:34:49.969006Z
Summary
Malicious code in advdef01 (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (44ffce32113cbe3c908fd584f4b02617cafcfecccc3cea1c4fc068021c4bfa7d)

Package uses the template from https://github.com/thegoodhackertv/malpip to explore building malicious PyPI packages.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: SCRIPT_KIDDIE-thegoodhacker-paquete

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • Package uses simple pre-prepared tools to create a low-quality malicious action.

Database specific
{
    "iocs": {
        "urls": [
            "https://github.com/thegoodhackertv/malpip"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "9fd19fd0c3fbb548038a211c8838b46daa35827078e91ce642f3bbef4f0c2690",
            "id": "pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-08-05T22:25:51Z",
            "import_time": "2025-12-02T22:30:54.884707368Z",
            "source": "kam193"
        },
        {
            "sha256": "44ffce32113cbe3c908fd584f4b02617cafcfecccc3cea1c4fc068021c4bfa7d",
            "id": "pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-08-05T22:25:51Z",
            "import_time": "2025-12-02T23:07:17.927966442Z",
            "source": "kam193"
        },
        {
            "sha256": "481cad061895322e8aa6556e4bc539b483a015d0c7cb8652f585d37efa389bf6",
            "id": "pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01",
            "source": "kam193",
            "modified_time": "2024-08-05T22:25:51Z",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2025-12-10T21:38:57.23784061Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / advdef01

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/advdef01/MAL-2024-12189.json"