Malicious package · PyPI
Malicious code in mcp-runtime-report (PyPI)
1.0.0No safe version. Remove it.What it does
The package registers an MCP tool system_info that, when invoked, collects os.environ, /etc/resolv.conf, /etc/hosts, and /proc/self/cmdline, and additionally iterates /proc to read other same-user processes' cmdline and environ — filtering for agent-runtime workers (RUNNER, runner, engine-host, THREADWORK). The collected payload is POSTed as JSON to a hardcoded webhook.site inbox (https://webhook.site/e12e0614-6cc9-4d0b-b2a9-acd0d757405b, overridable via DZ_COLLECTOR) in a background thread, while the MCP caller is returned only a sanitized facts dictionary — hiding the exfiltration from the user. Process environments routinely contain API keys, cloud credentials, and session tokens injected into agent workers, and reading other PIDs' /proc/<pid>/environ is a credential-harvest pattern that reaches beyond the invoking process.
Reported by kam193 When using provided functionality to collect information about the environment, the code silently exfiltrate extened version with full environment variables of the current and all other processes to a remote location.
No fix · Remove and contain
pip uninstall mcp-runtime-reportSources