MAL-2026-20611

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mcp-diag-7f3a/MAL-2026-20611.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20611
Published
2026-11-25T16:37:54Z
Modified
2026-11-25T18:30:04Z
Summary
Malicious code in mcp-diag-7f3a (PyPI)
Details

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

Source: kam193 (51ea75831e1ef2d4f70802eccc6269e540598f422a14a4d15a7e867d4bfcdb60)

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":  [
        {
            "id":  "pypi/GENERIC-standard-pypi-install-pentest/mcp-diag-7f3a",
            "import_time":  "2026-11-25T17:10:23.080838800Z",
            "modified_time":  "2026-11-25T16:45:00.081446Z",
            "sha256":  "51ea75831e1ef2d4f70802eccc6269e540598f422a14a4d15a7e867d4bfcdb60",
            "source":  "kam193",
            "versions":  [
                "1.0.0",
                "1.1.0",
                "1.2.0"
            ]
        },
        {
            "id":  "pypi/2026-11-mcp-runtime-report/mcp-diag-7f3a",
            "import_time":  "2026-11-25T18:13:25.138574052Z",
            "modified_time":  "2026-11-25T17:22:22.249872Z",
            "sha256":  "efc471317c1a84dbc199ebeb3f2af0719337447e2e296720cc471efb12884c57",
            "source":  "kam193",
            "versions":  [
                "1.0.0",
                "1.1.0",
                "1.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / mcp-diag-7f3a

Package

Name
mcp-diag-7f3a
View open source insights on deps.dev
Purl
pkg:pypi/mcp-diag-7f3a

Affected ranges

Affected versions

1.*
1.0.0
1.1.0
1.2.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mcp-diag-7f3a/MAL-2026-20611.json"