{"schema_version":"1.7.5","id":"MAL-2025-191812","published":"2025-11-20T11:33:54Z","modified":"2026-03-19T12:55:26.958566Z","summary":"Malicious code in peptest (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1230d903d5782f1a6d2d779ada368260f2c32d9e4f74bfd3ddd8f4df9c570572)\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":"peptest","ecosystem":"PyPI","purl":"pkg:pypi/peptest"},"versions":["1.2.1","1.2.0","1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/peptest/MAL-2025-191812.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/peptest"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest","import_time":"2025-12-02T22:30:56.291919636Z","modified_time":"2025-11-20T11:33:54.291046Z","sha256":"9ae640cbfc50fbe6bf010721d445902c56577b9a1a5dd44e796e71efc2d7bedd","source":"kam193","versions":["1.2.1","1.2.0","1.0.0"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest","import_time":"2025-12-02T23:07:19.479653686Z","modified_time":"2025-11-20T11:33:54.291046Z","sha256":"1230d903d5782f1a6d2d779ada368260f2c32d9e4f74bfd3ddd8f4df9c570572","source":"kam193","versions":["1.2.1","1.2.0","1.0.0"]},{"id":"RLMA-2025-06578","import_time":"2025-12-24T10:07:30.899166885Z","modified_time":"2025-12-23T08:39:15Z","sha256":"e6a6a5147a29c39806d36d59d54fb3a86bbdedcf834d03536c6c2ea68f33983c","source":"reversing-labs","versions":["1.0.0","1.2.0","1.2.1"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/peptest","import_time":"2025-12-30T22:39:04.326786945Z","modified_time":"2025-11-20T11:33:54.291046Z","sha256":"960d8de4f38a7c0ce09a2e750d83073f7455207ce8590c9526cccadab0840f4c","source":"kam193","versions":["1.0.0","1.2.0","1.2.1"]},{"id":"RLUA-2026-00586","import_time":"2026-03-19T12:20:11.6411793Z","modified_time":"2026-03-18T12:16:51Z","sha256":"8fc9558d1eecec30d555da224cbd6f2bbaab9165faa3ec95e88e7a6ad4c67357","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"}]}