Skip to content

AAK-A2A-010: Transitive trust accepted in A2A

Severity
HIGH
Category
A2A Protocol (a2a-protocol)
Scanner
agent_audit_kit/scanners/a2a_protocol.py
Auto-fixable
No.
SARIF name
A2aTransitiveTrust

What it detects

An A2A agent trusts claims relayed by a peer without verifying the original issuer. 'Agent B says A says X' must not be treated as X.

How to fix

Require signed attestations from the original issuer; do not trust relayed claims.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-A2A-010

Limitations

Reads one key, trust.accepts_relayed_claims, and only when it is the JSON boolean true. The string "true", the spelling acceptsRelayedClaims, and any other key that accepts relayed claims (relay_trust) are not read.

References


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-010.md: the page then shows that text, with the registry reference appended under it.