{"id":"MAL-2024-11678","summary":"Malicious code in python-drgn-commons-all (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3ce33648003ab87b87342b026af5cbeb8d8f3f759af0f8c7ae3557a104ec3546)\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:03.582200Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2024-12-09T14:38:47.814740649Z","modified_time":"2024-12-09T06:50:56Z","sha256":"5c7c806157b2b7ffa0d05661558df680dc22db22de65f6737d2be89a62e3c85b","source":"reversing-labs","versions":["99.99.99"],"id":"RLMA-2024-11135"},{"import_time":"2025-12-02T22:30:56.339930739Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e1c55f02e7ab0bfef5a9e3fa91abd68367309cb748b202b83c3e12496a867f7a","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-all"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-all","import_time":"2025-12-02T23:07:19.530284569Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"3ce33648003ab87b87342b026af5cbeb8d8f3f759af0f8c7ae3557a104ec3546","source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-all","import_time":"2025-12-10T21:38:58.636361295Z","modified_time":"2024-07-26T16:53:30Z","sha256":"8b2eeb802796706d4cf592583895b56ced9cb42f162b9f1d407963d3a6f22ad2","source":"kam193","versions":["99.99.99"]},{"id":"RLUA-2026-00659","import_time":"2026-03-19T12:20:18.006852228Z","modified_time":"2026-03-18T12:17:44Z","sha256":"fe7289408e028d33d6eafd24fadc3491a820cf354c62b960d5aa16f50f4c7aa8","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-drgn-commons-all"}],"affected":[{"package":{"name":"python-drgn-commons-all","ecosystem":"PyPI","purl":"pkg:pypi/python-drgn-commons-all"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-drgn-commons-all/MAL-2024-11678.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"}]}