AAK-A2A-009: Unbounded delegation in A2A call chain
- Severity
- HIGH
- Category
- A2A Protocol (
a2a-protocol) - Scanner
agent_audit_kit/scanners/a2a_protocol.py- Auto-fixable
- No.
- SARIF name
A2aUnboundedDelegation
What it detects
An A2A agent forwards incoming delegation tokens without reducing scope, allowing an N-deep chain to accumulate the caller's full rights.
How to fix
Reduce delegation scope at each hop; refuse to forward tokens that are already delegated beyond a small bound.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-A2A-009
Limitations
Reports a delegation block that sets neither max_depth nor max_hops. Any value satisfies it ("max_depth": 1000 is accepted), and whether the scope shrinks at each hop is not examined.
References
- OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse), ASI08 (Cascading Failures)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-A2A-06
- CSA AI Controls Matrix (AICM): IAM-04
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-A2A-009.md: the page then shows that text, with the registry reference appended under it.