MAL-2024-12360

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/test-packages2/MAL-2024-12360.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12360
Published
2024-09-06T11:29:16Z
Modified
2025-12-12T20:43:14.799440Z
Summary
Malicious code in test-packages2 (PyPI)
Details

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

Source: kam193 (4336b840413f8b1d796d06001cd5fb057d2e92276771ec70122834253e5e41f3)

Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: GENERIC-questionable-pentest

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-generic

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

  • typosquatting

Database specific
{
    "malicious-packages-origins": [
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "id": "pypi/GENERIC-questionable-pentest/test-packages2",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:55.634775278Z",
            "modified_time": "2024-09-06T11:29:16Z",
            "sha256": "551eef4d9ca854d6a111521634d2a180b1df038a09207671a1d7bd6f29630c01"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "id": "pypi/GENERIC-questionable-pentest/test-packages2",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:18.676436934Z",
            "modified_time": "2024-09-06T11:29:16Z",
            "sha256": "4336b840413f8b1d796d06001cd5fb057d2e92276771ec70122834253e5e41f3"
        },
        {
            "sha256": "8c505f9143086d255a539c36bb2c1fdcd0c95dcca19415d0cc3e2d730179135b",
            "id": "pypi/GENERIC-questionable-pentest/test-packages2",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:57.862298289Z",
            "modified_time": "2024-09-06T11:29:16Z",
            "versions": [
                "0.1",
                "0.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / test-packages2

Package

Affected ranges

Affected versions

0.*
0.1
0.1.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/test-packages2/MAL-2024-12360.json"