{"id":"MAL-2025-41775","summary":"Malicious code in testpackageroietest2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (540d9028178695a791b307758df0ac5dca1f6c77f19e12579e4b0745580f358d)\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:22.325021Z","published":"2025-07-28T21:16:45Z","database_specific":{"malicious-packages-origins":[{"versions":["0.0.1"],"id":"RLMA-2025-04273","source":"reversing-labs","sha256":"5d6280bafd371680c1e4527f6b8cb8cc2ca15ba79a4972c50e57251e00b5bf11","modified_time":"2025-08-28T07:12:04Z","import_time":"2025-08-29T06:41:55.066972508Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","sha256":"4fac6ea416efdbdd66fdb6ce65d38b0f9d865821c5010df81da5b94e82fb2f49","modified_time":"2025-07-28T21:16:45.90015Z","import_time":"2025-12-02T22:30:56.444671386Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","sha256":"540d9028178695a791b307758df0ac5dca1f6c77f19e12579e4b0745580f358d","modified_time":"2025-07-28T21:16:45.90015Z","import_time":"2025-12-02T23:07:19.629024933Z"},{"versions":["0.0.1"],"id":"pypi/GENERIC-standard-pypi-install-pentest/testpackageroietest2","source":"kam193","sha256":"f20f64c0ca3c64dbc9462db2d81e5b6e4215f48bd09d2582fbc7bee3a887ecae","modified_time":"2025-07-28T21:16:45.90015Z","import_time":"2025-12-10T21:38:58.732771645Z"},{"id":"RLUA-2026-00809","source":"reversing-labs","sha256":"0bfe4b80c6d7a40761bf2283c7c12464a5b732580ba3e18bb9691ce2dbb2a8b1","modified_time":"2026-03-18T12:19:22Z","import_time":"2026-03-19T12:20:32.514287517Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/testpackageroietest2"}],"affected":[{"package":{"name":"testpackageroietest2","ecosystem":"PyPI","purl":"pkg:pypi/testpackageroietest2"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpackageroietest2/MAL-2025-41775.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"}]}