{"schema_version":"1.7.5","id":"MAL-2025-191813","published":"2025-11-20T14:01:54Z","modified":"2026-03-19T12:55:19.338932Z","summary":"Malicious code in peptest2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9)\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","affected":[{"package":{"name":"peptest2","ecosystem":"PyPI","purl":"pkg:pypi/peptest2"},"versions":["1.2.3","1.2.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/peptest2/MAL-2025-191813.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/peptest2"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest2","import_time":"2025-12-02T22:30:56.293155185Z","modified_time":"2025-11-20T14:01:54.195692Z","sha256":"d8efde2f9d8f24878f597969201158e0ffbef22f240f8abe8cf14b0f1bbdb347","source":"kam193","versions":["1.2.3","1.2.2"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest2","import_time":"2025-12-02T23:07:19.480743061Z","modified_time":"2025-11-20T14:01:54.195692Z","sha256":"60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9","source":"kam193","versions":["1.2.3","1.2.2"]},{"id":"RLMA-2025-06579","import_time":"2025-12-24T10:07:30.932201212Z","modified_time":"2025-12-23T08:39:15Z","sha256":"06f37f4da9e84ef37d43dfb4909ff9992c3a6f0e9bc8f2fe8fba3cc6f7a44b41","source":"reversing-labs","versions":["1.2.2","1.2.3"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest2","import_time":"2025-12-30T22:39:04.327545931Z","modified_time":"2025-11-20T14:01:54.195692Z","sha256":"9f7f49eeeb3645a4d00478512c472ff90f5119d8f7a73756a814f948bf65612b","source":"kam193","versions":["1.2.2","1.2.3"]},{"id":"RLUA-2026-00587","import_time":"2026-03-19T12:20:11.746138978Z","modified_time":"2026-03-18T12:16:52Z","sha256":"c9ee09ca1a226f8fc054119ff303adb9ce669a77a35b6d724c75bf78a3c6e648","source":"reversing-labs"}]},"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"}]}