arXiv(opens in a new tab)cs.CRSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.10871

A2ABreak: Systematic Security Analysis of the A2A Protocol

Alireza Lotfi, Mirza Masfiqur Rahman, Imtiaz Karim, Elisa Bertino

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alireza Lotfi*, Mirza Masfiqur Rahman*, Imtiaz Karim†, Elisa Bertino*

*Purdue University, †The University of Texas at Dallas

*{lotfia, rahman75, bertino}@purdue.edu, †imtiaz.karim@utdallas.edu

Abstract—The Agent2Agent (A2A) protocol, now governed by the Linux Foundation, is an open standard that enables autonomous AI agents to discover, authenticate with, and delegate tasks to one another across organizational boundaries. Designed to complement the Model Context Protocol (MCP) for tool integration, A2A is rapidly emerging as the horizontal communication layer of the multi-agent ecosystem. Yet the protocol's security has received no systematic analysis. This paper presents A2ABREAK, the first rigorous systematic security analysis of the A2A protocol. We introduce a novel framework that utilizes an LLM-assisted extraction of a verified finite-state machine directly from the natural-language specification, producing a unified model of 37 states and 76 transitions from 929 formalized statements, and then systematically reasons over this model to discover protocol-level vulnerabilities through adversarial verification, under a full-compliance assumption. Our analysis uncovers 11 new vulnerabilities, each exploitable by a specification-compliant adversary without requiring any implementation flaw. Among the findings are cross-client context injection through unprotected context identifiers, credential harvesting via multi-hop identity loss in delegation chains, and data exfiltration through rogue agents advertising unattested capability claims. A2ABREAK achieves 73.3% precision and 84.6% F1 against independent expert review, while a zero-shot LLM baseline operating over the same specification produces zero confirmed findings, demonstrating that explicit formal grounding is essential for sound protocol security analysis.

1. Introduction

The emergence of autonomous AI agents, systems capable of planning, reasoning, and executing multi-step tasks with minimal human oversight, has created a pressing need for standardized inter-agent communication. While individual agents have grown increasingly capable through frameworks such as LangChain [1], AutoGen [2], and CrewAI [3], their ability to collaborate across organizational and vendor boundaries has remained fundamentally ad hoc: each integration requires bespoke connectors, proprietary message formats, and manually negotiated trust assumptions. The Agent2Agent (A2A) protocol, introduced by Google in April 2025, directly targets this gap by defining an open, HTTP-based standard for agent discovery, authentication, task delegation, and result exchange [4]. Within months of its release, A2A attracted endorsement from over 50 technology partners, including Salesforce, SAP, ServiceNow, MongoDB, and LangChain, and in June 2025, governance was transferred to the Linux Foundation as an open-source project [5], [6], [7].

A2A is explicitly designed to complement, rather than replace, the Model Context Protocol (MCP), which Anthropic released in November 2024 to standardize the interface between an agent and its local tools [8]. Where MCP governs the vertical relationship between an agent and its data sources, APIs, and function calls, A2A governs the horizontal relationship between autonomous peers. In a typical production deployment, an orchestrator agent uses MCP to query internal databases and invoke local tools, then uses A2A to delegate specialized subtasks, billing, compliance review, and document generation to remote agents operated by entirely separate organizations. Together, the two protocols form the foundational communication stack for the emerging multi-agent ecosystem, and their joint adoption trajectory suggests that A2A-mediated interactions will soon be the basis of critical enterprise workflows in finance, healthcare, supply-chain management, and government operations.

This trajectory, however, demands scrutiny. A2A introduces a fundamentally different and substantially broader attack surface than prior agent integration paradigms. The protocol's central design principle is opaque execution: a client agent delegates a task to a remote agent without any visibility into the remote agent's internal reasoning, tool invocations, or intermediate state [4]. This opacity enables cross-vendor collaboration and protects intellectual property, but it also means that a client has no mechanism to verify what a remote agent actually does with a delegated task, the credentials it accumulates, or the artifacts it returns. The security model compounds this exposure by relying predominantly on non-normative guidance for protective measures: the specification expresses critical security controls at the SHOULD or MAY level rather than as mandatory requirements, and leaves key mechanisms—including the sole primitive for verifying agent identity at discovery time—entirely optional. The combination of opaque execution with this permissive security model creates a potentially large attack surface, whose boundaries have not been formally characterized.

Despite the protocol’s rapid adoption, the security properties of A2A have received virtually no systematic anal-ysis in the research literature. Existing work has either surveyed the protocol at a descriptive level alongside other agent interoperability standards [9], [10] or proposed high-level security architectures for A2A-based systems without grounding them in a formal analysis of the protocol's state machine [11]. Louck et al. [12] addressed token-lifecycle privacy gaps without examining broader structural vulnerabilities. More broadly, recent work has identified multi-agent interaction security as a fundamental open challenge, taxonomizing threats that emerge from inter-agent communication such as cascading prompt injection, credential harvesting, and coordinated manipulation [13], but no study has performed specification-level analysis of any individual protocol. No prior work has systematically modeled the A2A interaction lifecycle, enumerated the protocol's attack surface from its specification, or constructed a formal model suitable for structured vulnerability discovery. Because no open-source reference implementation of A2A exists, implementation-level techniques such as static analysis, fuzzing, or symbolic execution cannot be applied. Specification-only analysis using large language models is also insufficient on its own: in our experiments, a zero-shot baseline with Claude OPUS 4.6 and extended thinking produced nine candidate attacks across two independent runs, yet every candidate was rejected upon adversarial verification. Each attack trace violated normative requirements that the model failed to account for without an explicitly constructed formal model as a grounding mechanism.

Challenges. Performing a rigorous, specification-driven security analysis of A2A requires overcoming three technical challenges. First, natural-language protocol specifications do not define behavioral rules in a logically precise form; constraints, triggers, guard conditions, and state transitions are expressed in prose that lacks formal semantics, and the same sentence may simultaneously describe a precondition, a normative requirement, and a data-type constraint without syntactic distinction, making it infeasible to extract a faithful formal model through direct interpretation (C1). Second, LLM-based generation in protocol analysis is inherently open-ended: outputs have no ground-truth reference model to validate against, and there is no mechanism to detect when a generated artifact lacks a normative basis or introduces inconsistencies. Manual construction avoids this but is prohibitively expensive; prior work on cellular protocol specifications required approximately 2,800 person-hours of expert annotation [14] and cannot track rapid specification updates (C2). Third, vulnerability analysis must be sound: every reported finding must be grounded in genuine normative gaps, extracted rules must correspond to actual normative statements, formal representations must preserve their semantics, and the reported missing primitive must be genuinely absent from the specification rather than defined in a different section (C3).

Our Approach. We present A2ABREAK, a framework that combines LLM-assisted formal modeling with adversarial verification to systematically discover protocol-level vulnerabilities from natural-language specifications. A2ABREAK is organized into three stages. Stage A formalizes the natural-language specification into a verified corpus of 929 structured statements through dual-pass semantic separation: an independent structural extraction pass and a behavioral extraction pass, reconciled and verified against the specification before downstream use. Stage B constructs a unified finite-state machine (FSM) from this corpus, building six per-stage FSMs independently, resolving inter-stage transitions, and applying deterministic and semantic deduplication to produce a final model of 37 states and 76 transitions, a 92% end-to-end reduction from the 929 extracted statements. Stage C reasons over the unified FSM to discover vulnerability candidates and subjects each to adversarial verification that grounds every attack trace in valid FSM states. It further confirms executability under full protocol compliance and verifies that the identified missing primitive is genuinely absent from the specification. All LLM-assisted steps operate under a domain-specific constraint language that forces machine-verifiable formal representations and prevents free-text hallucination, while human checkpoints at stage boundaries ensure that errors do not propagate silently into downstream analysis.

Findings. A2ABREAK identifies eleven protocol-level vulnerabilities spanning discovery, initiation, task execution, and interruption, each exploitable under full specification compliance without requiring any implementation flaw or misconfiguration. The analysis reveals that the specification's non-normative security posture leaves concrete, exploitable gaps across the protocol lifecycle. Conversation contexts carry no ownership binding or access control (spec sections §3.4.1, §3.4.3), enabling an authenticated adversary to inject tasks into another client's context, access the victim's accumulated state, and poison subsequent interactions. Identity is established exclusively at the transport layer and is not propagated across delegation hops (spec sections §7.2, §7.6.2), allowing a malicious intermediary to silently harvest forwarded credentials because downstream agents and credential providers have no means to verify the original principal. The AgentSkill data model consists entirely of self-asserted fields with no verification or attestation mechanism (spec sections §4.4.5, §8.4), enabling a fully compliant rogue agent to advertise false capabilities, receive delegated tasks containing confidential data, and return fabricated artifacts without triggering any protocol-level error. The analysis achieves a precision of 73.3% and an F1 score of 84.6% against independent expert manual review, substantially outperforming a zero-shot baseline that produces zero confirmed findings.

Contributions. This paper makes the following contributions:

• LLM-assisted protocol analysis framework. We design and implement A2ABREAK, a three-stage framework that transforms natural-language protocol specifications into verified finite-state machines and systematically discovers protocol-level vulnerabilities through constrained LLM reasoning and adversarial verification. We validate the FSM construction stage against the TCP ground-truth benchmark from PSMBench [15], recovering all 11 protocol states and 19 of 20 transitions (precision 0.76, recall 0.95, F1 0.84), and demonstrate that the framework substantially outperforms zero-shot LLM analysis (Section 4).

• Formal lifecycle model. We construct the first finite-state machine model of the complete A2A protocol interaction lifecycle, decomposing it into six stage-specific FSMs that are merged into a unified model of 37 states and 76 transitions, capturing all states, transitions, and failure modes defined by the specification (Section 4).

• Systematic vulnerability analysis. We identify and validate eleven protocol-level vulnerabilities in A2A, mapped to specific FSM stages, specification sections, and STRIDE categories, providing the first structured threat model for the protocol. The analysis achieves a precision of 73.3% and an F1 score of 84.6% against expert manual review (Section 6).

• Open-source framework and artifacts. We release A2ABREAK's full source code, all LLM prompts, stage-specific FSM models, and experimental artifacts to support reproducibility. https://github.com/arlotfi79/A2ABreak

Responsible disclosure. We have reported all findings to the A2A project maintainers under the Linux Foundation and are waiting for their response. We are committed to working with the A2A maintainers to improve standards through our findings and interactions. Upon publication, we will open-source all artifacts of A2ABREAK, including the extracted statement corpus, the unified FSM, and the full vulnerability analysis traces.

Roadmap. Section 2 provides background on MCP, A2A, and their complementary roles. Section 3 defines the scope, threat model, and problem statement, and discusses the key technical challenges addressed by A2ABREAK. Section 4 details the three-stage framework: specification formalization, FSM construction, and security analysis. Section 5 evaluates the framework's correctness, refinement contribution, and cost. Section 6 presents the eleven validated vulnerabilities with representative attack scenarios. Section 7 surveys related work, Section 8 concludes the paper and discusses future directions.

References (44)