{"id":"MAL-2024-12341","summary":"Malicious code in rtxt-dep2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3a0cd03149005afa6cc505bea16d80c21f5bbbd226c16c659ed6abb41cf730a2)\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":"2025-12-12T20:42:06.775193Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep2","import_time":"2025-12-02T22:30:56.380010252Z","modified_time":"2024-07-26T16:53:30Z","sha256":"8d9d93cc996ede52441358b9d3749dd2ba61b48bac69d6ff994a7a8030c8a2f4","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep2","import_time":"2025-12-02T23:07:19.567445439Z","modified_time":"2024-07-26T16:53:30Z","sha256":"3a0cd03149005afa6cc505bea16d80c21f5bbbd226c16c659ed6abb41cf730a2","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep2","import_time":"2025-12-10T21:38:58.670165339Z","modified_time":"2024-07-26T16:53:30Z","sha256":"2c9fad947ec5890044af84ef9b346c939699b7dde5e505cc8fd73e6e9041b38c","versions":["3.3.7"],"source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/rtxt-dep2"}],"affected":[{"package":{"name":"rtxt-dep2","ecosystem":"PyPI","purl":"pkg:pypi/rtxt-dep2"},"versions":["3.3.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rtxt-dep2/MAL-2024-12341.json"}}],"schema_version":"1.7.3","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"}]}