MAL-2024-10239

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

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

Source: kam193 (57a187231b24ff90938749793a1f8f768e606a7fe5da9d2c6d74510419c14ed0)

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.

Source: ossf-package-analysis (4fd3ca0609eb9f545088fbfb51cc2ac74b0fc08855df7647aa9474aa9f6c72dd)

The OpenSSF Package Analysis project identified 'debug-toolbar' @ 0.0.1 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2024-10-27T14:35:09.180002126Z",
            "source": "ossf-package-analysis",
            "modified_time": "2024-10-27T14:05:56Z",
            "sha256": "4fd3ca0609eb9f545088fbfb51cc2ac74b0fc08855df7647aa9474aa9f6c72dd",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "import_time": "2025-12-02T22:30:55.980991964Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/debug-toolbar",
            "sha256": "9052b449427e026f6b33df3dd7dea8bdd771cf65708fbe6cec36ba1609b95c5e",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "import_time": "2025-12-02T23:07:19.174821072Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/debug-toolbar",
            "sha256": "57a187231b24ff90938749793a1f8f768e606a7fe5da9d2c6d74510419c14ed0",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "import_time": "2025-12-10T21:38:58.315162286Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/debug-toolbar",
            "sha256": "dcecfdb74fbeaad14527b9887438a93fd4b153643d72c9a4ef7026ad8bccb773",
            "versions": [
                "0.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / debug-toolbar

Package

Affected ranges

Affected versions

0.*
0.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/debug-toolbar/MAL-2024-10239.json"