{"id":"MAL-2024-12354","summary":"Malicious code in szn-rain-client (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2e592ca324ac2994280852ce647b102f1f47eb9beeb963021b173a3c014cc3a1)\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:43:07.460211Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"af4df03698cffb0bcadf572012b328f3acaeb931fe910e900aa493aae8edfa8f","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/szn-rain-client","import_time":"2025-12-02T22:30:56.427529831Z","modified_time":"2024-07-26T16:53:30Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/szn-rain-client","import_time":"2025-12-02T23:07:19.611870919Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"2e592ca324ac2994280852ce647b102f1f47eb9beeb963021b173a3c014cc3a1","source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/szn-rain-client","import_time":"2025-12-10T21:38:58.715151768Z","modified_time":"2024-07-26T16:53:30Z","sha256":"36c403f729a963d02d1e45284838c005815646f7cba2149c94542b31edad7bea","source":"kam193","versions":["1.0.3"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/szn-rain-client"}],"affected":[{"package":{"name":"szn-rain-client","ecosystem":"PyPI","purl":"pkg:pypi/szn-rain-client"},"versions":["1.0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/szn-rain-client/MAL-2024-12354.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":"REPORTER"}]}