MAL-2025-954

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/private-test-2/MAL-2025-954.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-954
Published
2024-07-26T16:53:30Z
Modified
2026-03-19T12:55:19.607649Z
Summary
Malicious code in private-test-2 (PyPI)
Details

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

Source: kam193 (852253e5499f5bc57ad98b5dbb123053c688b5618b3b538277a75ac14641731c)

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": [
        {
            "versions": [
                "1.0.0"
            ],
            "source": "reversing-labs",
            "import_time": "2025-02-03T18:38:07.772044065Z",
            "modified_time": "2025-02-03T17:07:39Z",
            "id": "RLMA-2025-00495",
            "sha256": "612c8b2b229a58237a062e95b84281f25c46cbf58fdf97ba421337f1e11a3bcf"
        },
        {
            "sha256": "d4b53cfad61169ff9f33feff069963c4ce6f660418e9010c734602081a2dccd8",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:56.314174697Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/private-test-2",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "sha256": "852253e5499f5bc57ad98b5dbb123053c688b5618b3b538277a75ac14641731c",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.503400207Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/private-test-2",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "versions": [
                "1.0.0"
            ],
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.616727462Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/private-test-2",
            "sha256": "2033392052d0e326083baf190c6c728504e2a06f514e6541539e5b3c9004095f"
        },
        {
            "source": "reversing-labs",
            "import_time": "2026-03-19T12:20:13.515996094Z",
            "modified_time": "2026-03-18T12:17:07Z",
            "id": "RLUA-2026-00606",
            "sha256": "dbb5da65a3d5152dc9e5f5d4ab1d4aeb2ba4f574e98fc0cb73c06b40fea1fc76"
        }
    ]
}
References
Credits

Affected packages

PyPI / private-test-2

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/private-test-2/MAL-2025-954.json"