{"id":"MAL-2025-954","summary":"Malicious code in private-test-2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (852253e5499f5bc57ad98b5dbb123053c688b5618b3b538277a75ac14641731c)\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:55:19.607649Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-02-03T18:38:07.772044065Z","id":"RLMA-2025-00495","modified_time":"2025-02-03T17:07:39Z","versions":["1.0.0"],"source":"reversing-labs","sha256":"612c8b2b229a58237a062e95b84281f25c46cbf58fdf97ba421337f1e11a3bcf"},{"import_time":"2025-12-02T22:30:56.314174697Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-2","modified_time":"2024-07-26T16:53:30Z","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"d4b53cfad61169ff9f33feff069963c4ce6f660418e9010c734602081a2dccd8"},{"import_time":"2025-12-02T23:07:19.503400207Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-2","modified_time":"2024-07-26T16:53:30Z","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"852253e5499f5bc57ad98b5dbb123053c688b5618b3b538277a75ac14641731c"},{"import_time":"2025-12-10T21:38:58.616727462Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-2","modified_time":"2024-07-26T16:53:30Z","versions":["1.0.0"],"source":"kam193","sha256":"2033392052d0e326083baf190c6c728504e2a06f514e6541539e5b3c9004095f"},{"import_time":"2026-03-19T12:20:13.515996094Z","id":"RLUA-2026-00606","modified_time":"2026-03-18T12:17:07Z","source":"reversing-labs","sha256":"dbb5da65a3d5152dc9e5f5d4ab1d4aeb2ba4f574e98fc0cb73c06b40fea1fc76"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/private-test-2"}],"affected":[{"package":{"name":"private-test-2","ecosystem":"PyPI","purl":"pkg:pypi/private-test-2"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/private-test-2/MAL-2025-954.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"}]}