pypi · Malicious package advisory
Malwaremcp-runcmd-server
GHSA-fqxv-p3pf-c494
Malicious code in mcp-runcmd-server (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.0` ## Source: kam193 (2e5608c421ba44a3a2e20b924bd3399d6452dba66e7aea10a0fcdc8044f5a996) Package starts a reverse shell to a hardcoded location --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-10-mcp-runcommand-server Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcp-runcmd-server/MAL-2025-191788.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mcp-runcmd-server - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcp-runcmd-server/MAL-2025-191788.json - https://github.com/advisories/GHSA-fqxv-p3pf-c494
Compromised versions (1)
- = 2.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.