{"id":"MAL-2025-5125","summary":"Malicious code in rapyd-logger (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (aede90914832dcbbcef8387f409b8b95349a15e7846fe789f70e90b6663fb8b9)\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:14.021969Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-06-18T15:06:02.33511063Z","modified_time":"2025-06-18T10:15:18Z","sha256":"7d638f54eedb4bc8e3a415d419f9a79eddba2c71ce3ae7e3a9cf7726d19a8eab","source":"reversing-labs","versions":["1.4.0"],"id":"RLMA-2025-03022"},{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rapyd-logger","import_time":"2025-12-02T22:30:56.357010842Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"6a6832fcb95d2628628912dc3bda43dbac4743354830e66006f48e18f772cd61"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"aede90914832dcbbcef8387f409b8b95349a15e7846fe789f70e90b6663fb8b9","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/rapyd-logger","import_time":"2025-12-02T23:07:19.548407489Z","modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/rapyd-logger","import_time":"2025-12-10T21:38:58.649356706Z","modified_time":"2024-07-26T16:53:30Z","sha256":"8aa23eba2b20f0b01298f271964facf7458f8e03aba7137dc37ec5c3e67c0f12","source":"kam193","versions":["1.4.0"]},{"id":"RLUA-2026-00686","import_time":"2026-03-19T12:20:20.443473711Z","modified_time":"2026-03-18T12:18:00Z","sha256":"689fa1c504e8513d2c177487c25ab2b065367e796da6ee84da5da6bcf819cb86","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/rapyd-logger"}],"affected":[{"package":{"name":"rapyd-logger","ecosystem":"PyPI","purl":"pkg:pypi/rapyd-logger"},"versions":["1.4.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rapyd-logger/MAL-2025-5125.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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}