MAL-2024-12215

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bestcolorsever/MAL-2024-12215.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12215
Published
2024-11-30T09:03:27Z
Modified
2025-12-12T20:36:25.376999Z
Summary
Malicious code in bestcolorsever (PyPI)
Details

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

Source: kam193 (8335ea2981241d7eb1836338e2a942abf4f5096eb264b0ceb13e85ec435b6465)

Packages either test the malicious behaviour, or actually download and run a simple remote script during the installation.


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: 2023-12-valuent

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.

  • Downloads and executes a remote malicious script.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "5577c45b8c9cc4e03d69b71aac21c2de1101f9ca7a634f541e1af710e1893444",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.881434956Z"
        },
        {
            "sha256": "8335ea2981241d7eb1836338e2a942abf4f5096eb264b0ceb13e85ec435b6465",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.065103053Z"
        },
        {
            "sha256": "6e4207a598c80a540d8bf0bea97433ce0ab6f4afb2d58178bb56e21c7d5550ef",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2025-12-10T21:38:58.203019225Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / bestcolorsever

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bestcolorsever/MAL-2024-12215.json"