{"id":"MAL-2025-41776","summary":"Malicious code in testpackageroietest3 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (88b61508de8bb1a4224db6f1b2c7f8784f678f59e6ecacfac77c0a7d3f0409df)\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:57:19.306115Z","published":"2025-07-28T21:17:11Z","database_specific":{"malicious-packages-origins":[{"sha256":"bfec688e696037e08030bbef0738e4ef4a305aa1764d8006c8c642784da6f6f7","versions":["0.0.1"],"id":"RLMA-2025-04274","import_time":"2025-08-29T06:41:55.155847117Z","source":"reversing-labs","modified_time":"2025-08-28T07:12:04Z"},{"sha256":"2dbc78946dd1784d28588d022c5e07e7826fbb761b03ff380227c7518333d26f","id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest3","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.445645296Z","source":"kam193","modified_time":"2025-07-28T21:17:11.692432Z"},{"sha256":"88b61508de8bb1a4224db6f1b2c7f8784f678f59e6ecacfac77c0a7d3f0409df","id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest3","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.629926105Z","source":"kam193","modified_time":"2025-07-28T21:17:11.692432Z"},{"sha256":"2b5485638bb8d1c5fcea312849dc503276dd2f46df29353c1003d1df45881584","versions":["0.0.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest3","import_time":"2025-12-10T21:38:58.733966422Z","source":"kam193","modified_time":"2025-07-28T21:17:11.692432Z"},{"sha256":"b8e13e25906d504b5f9c9fb86de8bc8eb18e502a66723c2868832423129f85b0","id":"RLUA-2026-00810","import_time":"2026-03-19T12:20:32.604526879Z","source":"reversing-labs","modified_time":"2026-03-18T12:19:22Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testpackageroietest3"}],"affected":[{"package":{"name":"testpackageroietest3","ecosystem":"PyPI","purl":"pkg:pypi/testpackageroietest3"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpackageroietest3/MAL-2025-41776.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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}