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_agent function (GET /.well-known/agent.json) and task payloads are received via the a2a_handler endpoint.
  • Boundary markers: No explicit boundaries or warnings are used in the provided code snippets to delimit external content.
  • Capability inventory: The implementation uses httpx for 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-sdk and the Node.js package @google/a2a.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 15, 2026, 03:44 PM