agent-a2a-protocol-guide
Pass
Audited by Gen Agent Trust Hub on Aug 15, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The 'Communication Rules — MANDATORY' section includes instructions designed to override the agent's default interaction style, enforcing constraints such as 'No politeness wrappers', 'Direct and blunt', and 'Tool first, talk second'.
- [INDIRECT_PROMPT_INJECTION]: The skill documents a protocol that ingests data from external agents, creating an attack surface for indirect prompt injection.
- Ingestion points: External metadata is ingested via the
discover_agentfunction (GET/.well-known/agent.json) and task payloads are received via thea2a_handlerendpoint. - Boundary markers: No explicit boundaries or warnings are used in the provided code snippets to delimit external content.
- Capability inventory: The implementation uses
httpxfor network requests and executes tasks within a FastAPI environment. - Sanitization: The code does not include validation or sanitization logic for the external JSON content processed.
- [UNVERIFIABLE_DEPENDENCIES_AND_REMOTE_CODE_EXECUTION]: The guide references external dependencies including the Python package
a2a-sdkand the Node.js package@google/a2a.
Audit Metadata