{"id":"MAL-2025-36","summary":"Malicious code in rtpoc1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6fec3cb3c9354af29d7edbc82703c0fe7406084014bd610bd383ee2795d324ca)\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\n## Source: ossf-package-analysis (167f71321a3854879568e4d1e2caaebc490967f77f2f1a949123ce5c6ceae8fe)\nThe OpenSSF Package Analysis project identified 'rtpoc1' @ 0.2 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","modified":"2025-12-12T20:42:08.524196Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"167f71321a3854879568e4d1e2caaebc490967f77f2f1a949123ce5c6ceae8fe","import_time":"2025-01-08T09:34:44.887400868Z","versions":["0.2"],"modified_time":"2025-01-08T09:31:18Z","source":"ossf-package-analysis"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.37911016Z","sha256":"159a77f271d6737225ca42c80a21d42af0856560084e94c815b9c1248225d748","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/rtpoc1","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.566523708Z","sha256":"6fec3cb3c9354af29d7edbc82703c0fe7406084014bd610bd383ee2795d324ca","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/rtpoc1","source":"kam193"},{"sha256":"4f5e49ec135224dbd62998a497d55bedb51feaff441f32772430699dad397e37","import_time":"2025-12-10T21:38:58.669023231Z","versions":["0.1","0.2"],"modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/rtpoc1","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/rtpoc1"}],"affected":[{"package":{"name":"rtpoc1","ecosystem":"PyPI","purl":"pkg:pypi/rtpoc1"},"versions":["0.2","0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rtpoc1/MAL-2025-36.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"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}