MAL-2024-12331

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

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

Source: kam193 (5a67732a19f213875b774ca8fb24e8d3c1c3cd9d357cf7e6425a3ee3eadb9f3a)

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": [
        {
            "import_time": "2025-12-02T22:30:56.323388304Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "dd88c118343bd7f7d1f8068c679fd2637b2c48700c454d63a2f11e575ba9149c",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/pydevd-inject",
            "modified_time": "2024-07-26T16:53:30Z"
        },
        {
            "import_time": "2025-12-02T23:07:19.51369634Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "5a67732a19f213875b774ca8fb24e8d3c1c3cd9d357cf7e6425a3ee3eadb9f3a",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/pydevd-inject",
            "modified_time": "2024-07-26T16:53:30Z"
        },
        {
            "import_time": "2025-12-10T21:38:58.624576942Z",
            "sha256": "7c657fdbc92890daaad4b99d2585c51041dc867c24202f020e27e706c25eec73",
            "source": "kam193",
            "versions": [
                "66.0.4"
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/pydevd-inject",
            "modified_time": "2024-07-26T16:53:30Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / pydevd-inject

Package

Affected ranges

Affected versions

66.*
66.0.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pydevd-inject/MAL-2024-12331.json"