pypi · Malicious package advisory
Malwaremcpsever
GHSA-6wf3-7v76-j8g7
Malicious code in mcpsever (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (087fec121d53b905e66a2c368e905de51bc7aa3863f0777589a18d45623d3515) During installation, the package exfiltrates env variables --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-06-ip-rotat Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - exfiltration-env-variables - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcpsever/MAL-2026-6384.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mcpsever - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcpsever/MAL-2026-6384.json - https://github.com/advisories/GHSA-6wf3-7v76-j8g7
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.