MAL-2024-12354

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/szn-rain-client/MAL-2024-12354.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12354
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:43:07Z
Summary
Malicious code in szn-rain-client (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (2e592ca324ac2994280852ce647b102f1f47eb9beeb963021b173a3c014cc3a1)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: 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.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Database specific
{
    "malicious-packages-origins": [
        {
            "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",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "af4df03698cffb0bcadf572012b328f3acaeb931fe910e900aa493aae8edfa8f",
            "source": "kam193"
        },
        {
            "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
Credits

Affected packages

PyPI / szn-rain-client

Package

Name
szn-rain-client
View open source insights on deps.dev
Purl
pkg:pypi/szn-rain-client

Affected ranges

Affected versions

1.*
1.0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/szn-rain-client/MAL-2024-12354.json"