Proposal for Improving Google A2A Protocol: Safeguarding Sensitive Data in Multi-Agent Systems

Yedidel Louck, Ariel Stulman, Amit Dvir · 2025

Read Proposal for Improving Google A2A Protocol: Safeguarding Sensitive Data in Multi-Agent Systems by Yedidel Louck, Ariel Stulman, Amit Dvir (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-12490.txt.

Introduction

Yedidel Louck and co-authors patch a Google agent talk rule for safe data in a 2025 paper. The A2A rule lets smart agents talk and share work. It guards plain data well but strains at pay codes and ID papers.

Weak token life, broad access, and no consent steps leave leaks in multi agent chats. Their patch adds consent flow, short lived tight tokens, and direct user to service paths. Attack tests with rigged prompts showed far less leak of private data. Wait times stayed low. The patch shows agent nets can guard secrets sans a full rebuild.

Catalog record

CREATORYedidel Louck, Ariel Stulman, Amit Dvir
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE34 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-12490

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Proposal for Improving Google A2A Protocol: Safeguarding Sensitive Data in Multi-Agent Systems Yedidel Louck, Ariel Stulman, Amit Dvir Abstract A2A, a protocol for AI agent communication, offers a robust foundation for secure AI agent communication. However, it has several critical issues in handling sensitive data, such as payment details, identification documents, and personal information. This paper reviews the existing protocol, identifies its limitations, and proposes specific enhancements to improve security, privacy, and trust. It includes a concrete example to illustrate the problem and solution, research-backed rationales, and implementation considerations, drawing on prior studies to strengthen the arguments and proposed solutions. This proposal includes seven enhancements: short-lived tokens, customer authentication (SCA), granular scopes, explicit consent, direct data transfer, multi-transaction approval, and payment standard compliance. The vacation booking example illustrates how these enhancements reduce risks and enhance user experience. 1 Introduction The rapid appearance of Agentic AI autonomous systems that plan, delegate, and collaborate without human intervention has created an urgent need for robust, standardized communication protocols [ 12 ] . Google’s A2A (Agent-to-Agent) protocol [ 46 ] establishes such a foundation by defining a declarative, identity aware framework for discovering, authenticating, and exchanging tasks among heterogeneous agents. A2A’s core mechanism as shown at Figure 1 , the AgentCard , provides machine readable metadata that enables seamless interoperability across organizational and technical boundaries. Complementing A2A, the Model Context Protocol (MCP) standardizes the integration of large language models (LLMs) with external data sources and tools, allowing agents to leverage these models for real-time contextual understanding during task execution. This integration enhances agents’ capabilities in complex scenarios, supporting use cases ranging from payment orchestration to business automation [ 24 ] Figure 1: A2A’s core mechanism However, as multi-agent ecosystems scale in complexity, they also open new attack surfaces. Recent threat analyses of both A2A and the related MCP reveal sophisticated vectors such as shadowing (where malicious tool descriptions subvert genuine workflows), tool poisoning , and naming attacks that exploit implicit trust in discovery mechanisms [ 27 , 40 ] . Furthermore, broad surveys of AI agents underscore systemic risks-ranging from prompt injection to cross-agent privilege escalation-that can lead to data exfiltration or unauthorized task execution [ 18 , 31 , 41 ] . Similarly, “enterprise-grade” analyses of MCP implementations demonstrate that without rigorous, zero-trust controls, attackers may exploit unsecured tool endpoints or manipulate context payloads to bypass security checks [ 35 ] . Taken together, these findings highlight a gap between protocol design and real-world resilience: A2A and MCP provide the plumbing for agent interoperability, but they do not yet enforce the fine-grained confidentiality, integrity, and consent guarantees required for sensitive data exchange . In this paper we review six critical weaknesses in the handling of personal information, such as payment credentials, user identity and sensitive documents, are identified. Building on proactive threat models and industry best practices, we propose seven concrete enhancements ranging from short-lived, client bound tokens to explicit user consent fields and direct data transfer processes to harden A2A communications against the most urgent threats of the day. This proposal includes a concrete example to illustrate the problem and solution, research-backed rationales, and implementation considerations, drawing on previous studies to strengthen the arguments and proposed solutions. 2 Overview of the A2A Protocol Google’s A2A (Agent-to-Agent) protocol [ 46 ] builds upon widely adopted web standards HTTP, HTTPS, JSON-RPC, and Server-Sent Events (SSE) to provide an extensible, interoperable framework for autonomous agent communication. Agents establish mutual authentication via OAuth 2.0 [ 25 ] flows and JSON Web Tokens (JWTs) [ 29 ] , while RSA key pairs are used for signature validation and secure key exchange. Specifically, OAuth 2.0, an industry-standard authorization framework, enables agents to securely delegate access to each other’s resources without sharing credentials, using standardized flows like the authorization code grant. Meanwhile, JWTs, compact and cryptographically signed tokens, facilitate the secure transmission of authentication claims between agents, ensuring both integrity and verification of access rights during interactions. Role-based access control (RBAC) is natively supported through user- and agent-scoped JWT claims, and fine-grained permissions map directly onto task and message schemas to enforce the principle of least privilege. By default, A2A messages carry only minimal metadata (e.g., action identifiers, input/output schemas, and consent fields), reducing sensitive data exposure when agents negotiate capabilities or invoke third-party services such as payment gateways or AI inference backends. A2A’s flexibility underpins diverse real-world scenarios: • Service Booking: Agents coordinate multi-step operations (e.g., flight, hotel, transportation) by passing structured requests containing specific payment tokens and availability parameters. • Enterprise Task Management: Supply-chain or project-management agents exchange only the data needed to complete discrete tasks, minimizing shared context. • Cross-Provider Collaboration: Agents from different platforms (e.g., Google, PayPal, Cohere) interoperate securely via standardized AgentCard discovery and encrypted channels. Despite these strengths, A2A inherits an inherent trade-off between security and efficiency: tightening authorization or adding cryptographic checks invariably increases latency and complexity, whereas relaxing controls risks unauthorized data flows [ 39 ] . Crucially, A2A currently lacks specialized safeguards for handling particularly sensitive payloads-such as payment credentials or identity documents-beyond generic token expiry. A similar concern is raised in “AI Agents Meet Blockchain” observes, decentralized agent ecosystems without centralized guardrails require robust consent, auditing, and privacy-preserving delegation mechanisms to maintain trust [ 31 ] . Without such controls, adversarial agents might exploit overly broad scopes or unmonitored message channels to exfiltrate or tamper with confidential information. The following sections will analyze these gaps in more detail and propose targeted enhancements to ensure that A2A can securely mediate sensitive data exchanges at scale. 3 Identification of Issues in Handling Sensitive Data Despite its benefits, A2A has some critical problems in the handling of sensitive data such as payment details, ID documents and personal data. The following six issues are based on real world experience, peer reviewed literature and documented CVE threats. 3.1 Absence of limitations on token lifetime Although A2A is based on OAuth 2.0, it does not enforce strict expiration durations (e.g. seconds or minutes) for tokens used in sensitive transactions. Without such restrictions, leaked tokens may remain valid for hours or even days, increasing the risk of unauthorized reuse. revocation. As demonstrated in ”AgNet” [ 23 ] , long-lived tokens are a systemic weakness in distributed architectures, allowing for multiple accesses in the event of a compromise. For example, CVE-2025-1198 shows that revoked GitLab personal access tokens are still accepted by long-term ActiveConnection [ 10 ] . Another case described by CVE-2025-1801, where a low-privileged user obtained a JWT issued to a high-privileged user on account [ 11 ] . 3.2 Lack of Strong Customer Authentication (SCA) The A2A protocol does not have built-in requirements for strong authentication, such as two-factor or biometric authentication, for high-value transactions such as payments or identity switching. Without these safeguards, adversaries may perform unauthorized acts on behalf of the user [ 22 ] . The Medibank breach of 2022, where attackers gained access to personal data of 9.7 million people through the lack of multifactor authentication, illustrates the tangible consequences of [ 26 ] . CWE-306 [ 9 ] also classifies systems that do not authenticate users before performing critical functions as inherently vulnerable. In addition, the AI Agents Meet

Read the complete text