configuring-mcp-servers
Audited by Socket on Apr 4, 2026
2 alerts found:
Anomalyx2This file is best characterized as a connectivity tester with high-impact, configuration-driven capabilities. It can execute arbitrary local commands defined in a local config (spawn sink) and it can send environment-derived secrets to arbitrary URLs via ${ENV_VAR} header templating (outbound exfiltration risk) if the config/URL is untrusted. No overt malware/backdoor behavior is present in the module itself, but its design warrants restricting/validating config sources and tightening command/URL/header controls.
No explicit malware logic is visible in this configuration fragment, but it materially increases risk by dynamically executing multiple third-party MCP servers (via npx/uvx with implicit behavior and no visible version pinning), providing high-value secrets to those processes, enabling filesystem and database access, and using http (not https) for an authenticated custom API. The trustworthiness of the invoked MCP server packages and ./mcp/custom-server.js is critical; these downstream components should be reviewed and dependency integrity/pinning enforced.