{"id":"MAL-2024-11656","summary":"Malicious code in pd-py-cli (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a736772e9e597e421d82f4148fe6b608acb28b363db608096df90e782cce4af7)\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:39:23.125353Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2024-11112","import_time":"2024-12-09T14:38:46.815602046Z","modified_time":"2024-12-09T06:50:46Z","sha256":"dfeb54f5de7628b2eacc4dbaae672a17766f1905a8f08c2e45e3d06c0e49c0e6","source":"reversing-labs","versions":["99.99.99"]},{"sha256":"d250c642de7333f73e9e14727216eff81720df54b441ef7a6cb1e64a450fe485","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/pd-py-cli","import_time":"2025-12-02T22:30:56.291249884Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"a736772e9e597e421d82f4148fe6b608acb28b363db608096df90e782cce4af7","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/pd-py-cli","import_time":"2025-12-02T23:07:19.478710976Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/pd-py-cli","import_time":"2025-12-10T21:38:58.596114394Z","modified_time":"2024-07-26T16:53:30Z","sha256":"c0a924ce7c4fd513bedd5c9b52d308197b7a86f685f729d8e873b94a8b164a78","source":"kam193","versions":["99.99.99"]},{"id":"RLUA-2026-00584","import_time":"2026-03-19T12:20:11.463979228Z","modified_time":"2026-03-18T12:16:50Z","sha256":"14877d15b2f5aa68472fcfaed2b5cdf4bdd11aa5a6358024402ecbfda1c15e57","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pd-py-cli"}],"affected":[{"package":{"name":"pd-py-cli","ecosystem":"PyPI","purl":"pkg:pypi/pd-py-cli"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pd-py-cli/MAL-2024-11656.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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}