{"id":"MAL-2024-11679","summary":"Malicious code in python-drgn-commons-kafka (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4670119a917f9bceb7ba05fdebffa41c08377feb23c7bf5c102430de3c9cae40)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\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: GENERIC-standard-pypi-install-pentest\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","modified":"2026-03-19T12:56:06.712628Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2024-11136","import_time":"2024-12-09T14:38:47.853602719Z","versions":["99.99.99"],"source":"reversing-labs","modified_time":"2024-12-09T06:50:56Z","sha256":"82d13a8795467d3808731b5d9fc1d853e2e8aadb45c78a536731958ecf8ec9e3"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-kafka","import_time":"2025-12-02T22:30:56.34085165Z","source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"83d3bfd40190e47ac91a8858d95617db03753b55eba30b577ff4b6d5ac0c8180","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-kafka","import_time":"2025-12-02T23:07:19.531343799Z","source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"4670119a917f9bceb7ba05fdebffa41c08377feb23c7bf5c102430de3c9cae40","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-kafka","import_time":"2025-12-10T21:38:58.637439515Z","versions":["99.99.99"],"source":"kam193","modified_time":"2024-07-26T16:53:30Z","sha256":"beedcc0490faf25592471d01014bc1e01cbbd48851d5cad9e40d9aa320851c1c"},{"id":"RLUA-2026-00660","import_time":"2026-03-19T12:20:18.115821659Z","source":"reversing-labs","modified_time":"2026-03-18T12:17:45Z","sha256":"d3ad2f414bcba061d143f7dae032e37bc911aec22f8f296c3fc6fd928c025418"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-drgn-commons-kafka"}],"affected":[{"package":{"name":"python-drgn-commons-kafka","ecosystem":"PyPI","purl":"pkg:pypi/python-drgn-commons-kafka"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-drgn-commons-kafka/MAL-2024-11679.json"}}],"schema_version":"1.7.5","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"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}