Malicious code in mcp-env-report (PyPI)
- GHSA-5gwx-j786-m4mq
Description
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))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
mcp-env-reportPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.