{"id":"MAL-2025-4223","summary":"Malicious code in mcp-xyz (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e4d411df043997ef0429e5915d45bcddf0e361d525c4f471e32c861e9a3553fd)\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-03-19T12:54:32.563313Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.0"],"id":"RLMA-2025-02578","source":"reversing-labs","sha256":"cc136e2398fe1ebc33b8dd2882d1540cc59df90803fe1419386934c54516124f","modified_time":"2025-05-22T12:33:36Z","import_time":"2025-05-22T14:06:36.102733875Z"},{"sha256":"c86fb7e7faeb483ec7c7a0cbe0769ea7a873a4b5fe2a9424211070a3feba137d","id":"pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z","import_time":"2025-12-02T22:30:56.204396685Z"},{"sha256":"e4d411df043997ef0429e5915d45bcddf0e361d525c4f471e32c861e9a3553fd","id":"pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z","import_time":"2025-12-02T23:07:19.386309757Z"},{"versions":["0.1.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/mcp-xyz","source":"kam193","sha256":"d797f67384a37a120f6a5f57b5ba3fb62abca55ca9aeb467d53f5da41d38c645","modified_time":"2024-07-26T16:53:30Z","import_time":"2025-12-10T21:38:58.510788192Z"},{"id":"RLUA-2026-00504","source":"reversing-labs","sha256":"b7f029d7b0f531b91fd6d434e3bcdac1a32cb361bae830a87025b69c721fedc6","modified_time":"2026-03-18T12:15:56Z","import_time":"2026-03-19T12:20:02.720247511Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/mcp-xyz"}],"affected":[{"package":{"name":"mcp-xyz","ecosystem":"PyPI","purl":"pkg:pypi/mcp-xyz"},"versions":["0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mcp-xyz/MAL-2025-4223.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}