{"id":"MAL-2025-41777","summary":"Malicious code in testpackageroietest4 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8513ccd29444557d2b772e8c39dcbac59fc00b022d9119643a3b8dc9906585b1)\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:18.777396Z","published":"2025-07-21T20:28:51Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-08-28T07:12:05Z","versions":["0.1.0"],"id":"RLMA-2025-04275","source":"reversing-labs","import_time":"2025-08-29T06:41:55.255279179Z","sha256":"e71672a098b2fa703ef68f3591fdd9014a2770f03230fabf96642c22939d96df"},{"source":"kam193","modified_time":"2025-07-21T20:28:51.469133Z","id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest4","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.446601333Z","sha256":"2bbb2f5facb643eeb097b472758aefaf1b8e864aa972a8878dcbc4dbde0dc173"},{"source":"kam193","modified_time":"2025-07-21T20:28:51.469133Z","id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest4","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.63096164Z","sha256":"8513ccd29444557d2b772e8c39dcbac59fc00b022d9119643a3b8dc9906585b1"},{"modified_time":"2025-07-21T20:28:51.469133Z","versions":["0.1.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest4","source":"kam193","import_time":"2025-12-10T21:38:58.735106827Z","sha256":"047368051fe20f32440ec0f9c6277b9c815919a9e8fb079f9994f14439ab088f"},{"modified_time":"2026-03-18T12:19:23Z","id":"RLUA-2026-00811","source":"reversing-labs","import_time":"2026-03-19T12:20:32.740643026Z","sha256":"52be0b1ad27ed53819bc504d7acc60c8d402ae993868338e5dccd8c87bf3deb6"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testpackageroietest4"}],"affected":[{"package":{"name":"testpackageroietest4","ecosystem":"PyPI","purl":"pkg:pypi/testpackageroietest4"},"versions":["0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpackageroietest4/MAL-2025-41777.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"}]}