{"id":"MAL-2025-41756","summary":"Malicious code in rtxt-dep4 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (927a9dbf7483280f63719ca53cf98986f15e2244e8108ae037557ab2d728de75)\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:56:49.360550Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-04251","import_time":"2025-08-29T06:41:53.068243822Z","modified_time":"2025-08-28T07:11:51Z","sha256":"5ac2183c6350abdc5136f80cebf1085710658fec002d33bb4bf24b12cac2b911","source":"reversing-labs","versions":["3.3.7"]},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"5dbc56b495d2b0738f85f3e15260a463d4b3821d3ce14443e11aa851fb6cf28b","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep4","import_time":"2025-12-02T22:30:56.382136656Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep4","import_time":"2025-12-02T23:07:19.569381636Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"927a9dbf7483280f63719ca53cf98986f15e2244e8108ae037557ab2d728de75","source":"kam193"},{"modified_time":"2024-07-26T16:53:30Z","sha256":"5e77495ccf93d28e5d2b7a5e16bf04cc8f3083dcc8f55561b5540afc1effe2e2","source":"kam193","versions":["3.3.7"],"id":"pypi/GENERIC-standard-pypi-install-pentest/rtxt-dep4","import_time":"2025-12-10T21:38:58.672685176Z"},{"import_time":"2026-03-19T12:20:25.537087235Z","modified_time":"2026-03-18T12:18:34Z","sha256":"87a303bcf8c3e686e883da643bbd32cc1096bbcb6b5f95b5c351acca8c5f94f7","source":"reversing-labs","id":"RLUA-2026-00737"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/rtxt-dep4"}],"affected":[{"package":{"name":"rtxt-dep4","ecosystem":"PyPI","purl":"pkg:pypi/rtxt-dep4"},"versions":["3.3.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rtxt-dep4/MAL-2025-41756.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"}]}