{"id":"MAL-2025-955","summary":"Malicious code in private-test-4 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e4dd4ce4306e9d9704fdbbf2b63e86ca01614fee5f263dbb208c79986a14c334)\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:25.389766Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.1"],"source":"reversing-labs","modified_time":"2025-02-03T17:07:39Z","id":"RLMA-2025-00496","import_time":"2025-02-03T18:38:07.819799194Z","sha256":"4b51034370aa4169b92f8b3cd80f666063d4b2d91e21f3ae7f68254a8a7cbf3e"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-4","import_time":"2025-12-02T22:30:56.315046547Z","sha256":"7cbcad497e09d6c5a1be26bf9fc17cbd69a5cde25bb940e690b6c37471a5e608"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-4","import_time":"2025-12-02T23:07:19.504439729Z","sha256":"e4dd4ce4306e9d9704fdbbf2b63e86ca01614fee5f263dbb208c79986a14c334"},{"versions":["1.0.1"],"source":"kam193","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/private-test-4","import_time":"2025-12-10T21:38:58.617768432Z","sha256":"1eecade0df32bc01566010bb1df0c137c7f3fb72c9fdcf029688f768d7c0a0c2"},{"source":"reversing-labs","modified_time":"2026-03-18T12:17:08Z","id":"RLUA-2026-00607","import_time":"2026-03-19T12:20:13.606971579Z","sha256":"4f1f063d97fe98dbcf747617f0418ada9f10407d035a4e66e7bd1a0c8bfdb5cf"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/private-test-4"}],"affected":[{"package":{"name":"private-test-4","ecosystem":"PyPI","purl":"pkg:pypi/private-test-4"},"versions":["1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/private-test-4/MAL-2025-955.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"}]}