MAL-2024-12235

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

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

Source: kam193 (03ad250cd789424d92dd1351d15a218d3950be367950c4fc129cf866423a7b8e)

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": [
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/chunqiuwestj-pkg-westj137",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "0d7a8fc6ba1ad64f36c6e62ec17a1a85007b089841d7e8581b2175bfc7eac1ed",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.944286085Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/chunqiuwestj-pkg-westj137",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "03ad250cd789424d92dd1351d15a218d3950be367950c4fc129cf866423a7b8e",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.134197117Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/chunqiuwestj-pkg-westj137",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "fe3c7feab55eb5454322bf516a4656107b5f9020b163a3caa738fd05d342f60e",
            "versions": [
                "0.3.0"
            ],
            "import_time": "2025-12-10T21:38:58.270889242Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / chunqiuwestj-pkg-westj137

Package

Name
chunqiuwestj-pkg-westj137
View open source insights on deps.dev
Purl
pkg:pypi/chunqiuwestj-pkg-westj137

Affected ranges

Affected versions

0.*
0.3.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/chunqiuwestj-pkg-westj137/MAL-2024-12235.json"