MAL-2025-4223

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

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

Source: kam193 (e4d411df043997ef0429e5915d45bcddf0e361d525c4f471e32c861e9a3553fd)

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": [
        {
            "source": "reversing-labs",
            "id": "RLMA-2025-02578",
            "modified_time": "2025-05-22T12:33:36Z",
            "sha256": "cc136e2398fe1ebc33b8dd2882d1540cc59df90803fe1419386934c54516124f",
            "versions": [
                "0.1.0"
            ],
            "import_time": "2025-05-22T14:06:36.102733875Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "c86fb7e7faeb483ec7c7a0cbe0769ea7a873a4b5fe2a9424211070a3feba137d",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.204396685Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "e4d411df043997ef0429e5915d45bcddf0e361d525c4f471e32c861e9a3553fd",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.386309757Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "d797f67384a37a120f6a5f57b5ba3fb62abca55ca9aeb467d53f5da41d38c645",
            "versions": [
                "0.1.0"
            ],
            "import_time": "2025-12-10T21:38:58.510788192Z"
        },
        {
            "source": "reversing-labs",
            "id": "RLUA-2026-00504",
            "modified_time": "2026-03-18T12:15:56Z",
            "sha256": "b7f029d7b0f531b91fd6d434e3bcdac1a32cb361bae830a87025b69c721fedc6",
            "import_time": "2026-03-19T12:20:02.720247511Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / mcp-xyz

Package

Affected ranges

Affected versions

0.*
0.1.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mcp-xyz/MAL-2025-4223.json"