{"id":"MAL-2026-20611","summary":"Malicious code in mcp-diag-7f3a (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (51ea75831e1ef2d4f70802eccc6269e540598f422a14a4d15a7e867d4bfcdb60)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-11-25T18:30:04.920652114Z","published":"2026-11-25T16:37:54Z","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"]},{"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"],"id":"pypi/2026-11-mcp-runtime-report/mcp-diag-7f3a"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/mcp-diag-7f3a"}],"affected":[{"package":{"name":"mcp-diag-7f3a","ecosystem":"PyPI","purl":"pkg:pypi/mcp-diag-7f3a"},"versions":["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"}}],"schema_version":"1.9.2","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}