{"id":"MAL-2024-11683","summary":"Malicious code in python-drgn-commons-spark (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c5207bd91c5eab8a2ae9cda76c18027e600cbf015d01884048da00371577b3d1)\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.919785Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"47e318503a7d6cf86184691b4f441a74c1f7f671b4e3be3605c4d25615482546","source":"reversing-labs","versions":["99.99.99"],"id":"RLMA-2024-11140","import_time":"2024-12-09T14:38:48.098400081Z","modified_time":"2024-12-09T06:50:58Z"},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"6d88efa12b18db0d797245979868f787f359fbbf52bde8e07c2287acc206934b","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-spark","import_time":"2025-12-02T22:30:56.344552737Z"},{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-spark","import_time":"2025-12-02T23:07:19.536052133Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c5207bd91c5eab8a2ae9cda76c18027e600cbf015d01884048da00371577b3d1"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/python-drgn-commons-spark","import_time":"2025-12-10T21:38:58.641578129Z","modified_time":"2024-07-26T16:53:30Z","sha256":"fd8bd3bbdfb911f19f6a150a7b059873c03097579bb7e93dabc1d7c7ed15c209","source":"kam193","versions":["99.99.99"]},{"id":"RLUA-2026-00664","import_time":"2026-03-19T12:20:18.467902138Z","modified_time":"2026-03-18T12:17:47Z","sha256":"0255bacf9d7f9bf41c4ce94e0c1d02caf9d5f957f780137065816157b490c016","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-drgn-commons-spark"}],"affected":[{"package":{"name":"python-drgn-commons-spark","ecosystem":"PyPI","purl":"pkg:pypi/python-drgn-commons-spark"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-drgn-commons-spark/MAL-2024-11683.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"}]}