Before Your Agent Trusts a Stranger: How A2A v1.0 Signs Agent Cards
Summary
The Agent2Agent (A2A) protocol, designed for agent discovery, previously faced a critical security flaw where public Agent Cards – JSON documents detailing an agent's name, version, skills, and listening URL – could be tampered with. Specifically, an attacker could alter the "url" field, redirecting an unsuspecting agent's tasks and data to a malicious host. A2A version 1.0, which became stable in April 2026, resolves this vulnerability by implementing **signed Agent Cards**. This article examines the precise nature of this signature, validates its structure against the installed SDK rather than marketing claims, and provides a comprehensive, end-to-end demonstration of the signing and tampering process with real output. This enhancement prevents redirection attacks by ensuring the authenticity of the agent's advertised endpoint.
Key takeaway
For AI Architects designing secure multi-agent systems, A2A v1.0's signed Agent Cards are crucial. If you are deploying agents that discover each other via public endpoints, you must upgrade to A2A v1.0 by April 2026 to prevent redirection attacks. This ensures your agents only send tasks and data to verified, legitimate service URLs, safeguarding against malicious tampering of discovery information. Prioritize validating Agent Card signatures in your agent's trust framework.
Key insights
A2A v1.0 secures agent discovery by signing public Agent Cards, preventing redirection attacks via URL tampering.
Principles
- Public discovery mechanisms require robust authenticity checks.
- Unsigned configuration data is vulnerable to redirection.
- Trust in agent communication starts with verified identity.
Method
A2A v1.0's method involves cryptographically signing Agent Cards to verify the integrity of critical fields like the interface "url" and provider identity.
In practice
- Implement A2A v1.0 for secure agent discovery.
- Validate Agent Card signatures before routing traffic.
- Protect "/.well-known/agent-card.json" integrity.
Topics
- Agent2Agent Protocol
- Agent Discovery
- Digital Signatures
- JSON Security
- Redirection Attacks
- Protocol Security
Best for: AI Engineer, AI Architect, AI Security Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Towards AI - Medium.