Static Benchmark Reference2026-11-24

MCP Server Security & Least-Privilege Scope Checklist

Connecting LLM agents directly to databases, browsers, and terminals introduces real blast-radius risks unless read-only roles and directory sandboxes are enforced at the protocol boundary.

Quantitative Benchmark Gauges

Production Incidents Mitigated by Read-Only DB Roles92 %
Filesystem Path Escapes Blocked by Roots Allowlist98 %
Credential Leak Reduction via Short-Lived OAuth89 %

Structured Benchmark Matrix

MCP Server Security & Least-Privilege Scope Checklist
Capability CategoryRisk SurfaceMandatory GuardrailAuth StandardRisk Tier
SQL & Analytics DBData exfiltration or DDL dropSELECT-only role + statement timeoutScoped DB UserHigh
Filesystem & RepoPath traversal outside workspaceExplicit allowlist root pathsOS Sandbox / RootsMedium
Web Scraping & DOMIndirect prompt injection in HTMLStrip hidden text + output taggingNo Host SecretsHigh
Cloud & KubernetesCluster mutation or secret dumpGet/List RBAC verbs onlyShort-lived OIDCCritical
Docs & Search APIMinimal local impactDomain allowlist + rate limitAPI Key ScopedLow

Engineering Takeaways

  • Never reuse admin database credentials inside .cursor/mcp.json or claude_desktop_config.json.
  • Always pair browser or web-scraping MCP tools with human approval on destructive external actions.
  • Audit third-party stdio packages by pinning exact version tags rather than running floating latest tags.

Frequently Asked Questions

What is indirect prompt injection in MCP workflows?

Untrusted external content fetched by a web or ticket MCP server can embed hidden instructions attempting to trick the agent into calling another connected write or exfiltration tool.

How should teams store MCP secrets cleanly?

Inject environment variables at runtime via secret managers or OAuth 2.1 tokens rather than committing static plaintext secrets inside shared workspace files.