GHSA-5gwx-j786-m4mq
Malicious code in mcp-env-report (PyPI)
Impact
## Source: kam193 (4c0bf9342dc65fdfebad3bb1984e9140f3132df7268d0d401ad3fb745aef8c95) This package fingerprints the current environment and can collect full environment variables of the current and all other processes. While this has to be explicitly requested, a sibling package from the same uploader was hiding silent exfiltration of these sensitive data. As such, this package should be considered preparation for malicious activity. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-11-mcp-runtime-report Reasons (based on the campaign): - exfiltration-env-variables - action-hidden-in-lib-usage - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f7fa169287c715283fc3d262d25e3c111b5ba1ec/osv/malicious/pypi/mcp-env-report/MAL-2026-20616.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | mcp-env-report | = 1.0.0 | none recorded |