MAL-2024-12217

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

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

Source: kam193 (4870c1bbc72ff9abf86bcdb025ddf4a63c361c3bd3081db4cc812f4564e6301c)

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": "ae08177b5187f8353a45efd2fee8e70d0d6c99b1e563f85f1cf480802f950e4d",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever3",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.883651989Z"
        },
        {
            "sha256": "4870c1bbc72ff9abf86bcdb025ddf4a63c361c3bd3081db4cc812f4564e6301c",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever3",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.067198541Z"
        },
        {
            "sha256": "3c5a60fd157533d1e47aa6b0a6642d915d9cf5cfe96449c1373ba9b742071b0b",
            "source": "kam193",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/bestcolorsever3",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2025-12-10T21:38:58.204682746Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / bestcolorsever3

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

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