pypi · Malicious package advisory
Malwaremcp-runcommand-server2
GHSA-2cvc-xrh7-32gg
Malicious code in mcp-runcommand-server2 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.6` ## Source: kam193 (36fb61d44529c380f204d5a210017989695ef39df6adfce7ccfb08e48a17b594) 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-runcommand-server2/MAL-2025-191648.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mcp-runcommand-server2 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcp-runcommand-server2/MAL-2025-191648.json - https://research.jfrog.com/post/3-malicious-mcps-pypi-reverse-shell - https://github.com/advisories/GHSA-2cvc-xrh7-32gg
Compromised versions (1)
- = 1.0.6
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.