Skip to content

AAK-A2A-003: No input schema validation in A2A skill definitions

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

What it detects

A2A skill definitions lack input schemas, allowing unvalidated data to be passed between agents. Unvalidated cross-agent payloads are the semantic-validation gap OWASP ASI07 (Insecure Inter-Agent Communication) names.

How to fix

Give every entry in the card's skills a non-empty inputSchema: a JSON Schema object with type, properties and required. The rule fires on a skill with no inputSchema or an empty one.

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

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

Limitations

Reports a skill whose inputSchema is absent or an empty object. Any non-empty schema passes, including one that accepts everything ({"type": "object"} or {"type": "object", "additionalProperties": true}).

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