MAL-2024-12252

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

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

Source: kam193 (d4daea3fdf20972a88b9946b1251807b3caca0e1634dd53c2be92cf3d1849cd8)

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": [
        {
            "sha256": "8aa334bd9c6be50b8f3512dee851b602177953e8b51733de3860b2a7bfcb83fe",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/dependency-confusion-test-666",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T22:30:55.986024869Z",
            "source": "kam193"
        },
        {
            "sha256": "d4daea3fdf20972a88b9946b1251807b3caca0e1634dd53c2be92cf3d1849cd8",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/dependency-confusion-test-666",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T23:07:19.180584787Z",
            "source": "kam193"
        },
        {
            "sha256": "8aa4f83b01c83a30df53b20c9c8073f05a1a9eccf1cada935ae12d4128ddea5d",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/dependency-confusion-test-666",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "999999.0.0"
            ],
            "import_time": "2025-12-10T21:38:58.321506309Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / dependency-confusion-test-666

Package

Name
dependency-confusion-test-666
View open source insights on deps.dev
Purl
pkg:pypi/dependency-confusion-test-666

Affected ranges

Affected versions

999999.*
999999.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/dependency-confusion-test-666/MAL-2024-12252.json"