{"id":"MAL-2025-191895","summary":"Malicious code in testpurpleteaming (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e)\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":"2025-12-31T02:55:15.159264Z","published":"2025-11-06T08:41:26Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming","import_time":"2025-12-02T22:30:56.447511825Z","modified_time":"2025-11-06T08:41:26.339581Z","sha256":"0fe53e58a334a93d294bcc842d0e8dffeb641d4d3e47697f14d5efb68f57646e","source":"kam193","versions":["1.26.14","1.26.13","1.26.10"]},{"import_time":"2025-12-02T23:07:19.631895235Z","modified_time":"2025-11-06T08:41:26.339581Z","sha256":"e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e","source":"kam193","versions":["1.26.14","1.26.13","1.26.10"],"id":"pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming","import_time":"2025-12-30T22:39:04.356294869Z","modified_time":"2025-11-06T08:41:26.339581Z","sha256":"5040fc8eba3b27b847e26a52320a16c5ba1cda610bb8fce4bec8df244c20e3a6","source":"kam193","versions":["1.26.10","1.26.13","1.26.14"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testpurpleteaming"}],"affected":[{"package":{"name":"testpurpleteaming","ecosystem":"PyPI","purl":"pkg:pypi/testpurpleteaming"},"versions":["1.26.14","1.26.13","1.26.10"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpurpleteaming/MAL-2025-191895.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"}]}