AAK-MCP-CARD-004: Over-broad capability claims in an MCP server card
- Severity
- MEDIUM
- Category
- MCP Server Card (
mcp-server-card) - Scanner
agent_audit_kit/scanners/mcp_server_card.py- Auto-fixable
- No.
- SARIF name
McpCardOverBroadClaims
What it detects
A SEP-1649 server card asserts over-broad capabilities: a wildcard auth scope (* / all), a capabilities object with everything enabled and no constraint, or authentication.required: true paired with an empty schemes list (no enforceable method). Over-broad claims invite clients to grant more trust / scope than the server needs, widening blast radius on compromise.
How to fix
Declare only the capabilities and scopes the server actually exposes; replace wildcard scopes with an explicit list, and pair authentication.required: true with at least one concrete scheme. Least-privilege the card.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-CARD-004
Limitations
Treats a scope as a wildcard only when it is exactly *, all, any, full, admin, root or *:*, so mcp:* or tools:* passes. A capability counts as asserted only when its value is the boolean true: a card that lists tools, resources, prompts and logging as objects is not reported.
References
- OWASP MCP Top 10: MCP02:2025 (Privilege Escalation via Scope Creep)
- OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-AUTH-01 (Missing Authentication)
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-CARD-004.md: the page then shows that text, with the registry reference appended under it.