Before Your Agent Trusts a Stranger: How A2A v1.0 Signs Agent Cards

· Source: Towards AI - Medium · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy, Software Development & Engineering · Depth: Intermediate, quick

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

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

Topics

Best for: AI Engineer, AI Architect, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Towards AI - Medium.