{"id":"MAL-2024-12189","summary":"Malicious code in advdef01 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (44ffce32113cbe3c908fd584f4b02617cafcfecccc3cea1c4fc068021c4bfa7d)\nPackage uses the template from https://github.com/thegoodhackertv/malpip to explore building malicious PyPI packages.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: SCRIPT_KIDDIE-thegoodhacker-paquete\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - Package uses simple pre-prepared tools to create a low-quality malicious action.\n","modified":"2025-12-12T20:34:49.969006Z","published":"2024-08-05T22:25:51Z","database_specific":{"iocs":{"urls":["https://github.com/thegoodhackertv/malpip"]},"malicious-packages-origins":[{"id":"pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01","import_time":"2025-12-02T22:30:54.884707368Z","modified_time":"2024-08-05T22:25:51Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"9fd19fd0c3fbb548038a211c8838b46daa35827078e91ce642f3bbef4f0c2690","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"44ffce32113cbe3c908fd584f4b02617cafcfecccc3cea1c4fc068021c4bfa7d","source":"kam193","id":"pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01","import_time":"2025-12-02T23:07:17.927966442Z","modified_time":"2024-08-05T22:25:51Z"},{"modified_time":"2024-08-05T22:25:51Z","sha256":"481cad061895322e8aa6556e4bc539b483a015d0c7cb8652f585d37efa389bf6","source":"kam193","versions":["1.0.0"],"id":"pypi/SCRIPT_KIDDIE-thegoodhacker-paquete/advdef01","import_time":"2025-12-10T21:38:57.23784061Z"}]},"references":[{"type":"WEB","url":"https://github.com/thegoodhackertv/malpip"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/advdef01"}],"affected":[{"package":{"name":"advdef01","ecosystem":"PyPI","purl":"pkg:pypi/advdef01"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/advdef01/MAL-2024-12189.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"}]}