When adding configurable external services/integrations (e.g., registries, MCP servers, plugins), apply security-by-default and supply-chain controls—especially when the integration can access credentials.
Apply:
@latest (or other non-deterministic references). Pin to an exact version (and ideally verify integrity/checksum).Example (pattern):
{
"mcpServers": {
"aws-mcp": {
"enabled": false,
"command": "uvx",
"args": ["mcp-proxy-for-aws@1.2.3"],
"notes": "Disabled by default; requires explicit opt-in due to credential usage."
}
}
}
If you need a registry to be enabled, document the exact reason, threat model, and pinned dependency versions—and ensure credentials are not implicitly accessible without explicit consent.