SentinelOS

Resources · Agent security

A2A protocol security: when agents talk to other agents.

The A2A protocol authenticates who is speaking. It does not say whether what is said can be trusted. Version 1.0, published on March 12, 2026, makes signing agent cards possible but optional, and nothing in its text asks you to treat the reply of an authenticated agent as hostile input. Here is what the text requires, the threats public analyses describe and the controls an organization must set for itself.

What is the A2A protocol, and where does it stand?

A2A (Agent2Agent) is an open protocol that lets AI agents from different systems discover each other, exchange tasks and collaborate. Its repository describes it in one sentence:

Agent2Agent (A2A) is an open protocol enabling communication and interoperability between opaque agentic applications.
a2aproject/A2A repository, README

The word "opaque" matters for security: an agent called through A2A is a third-party application whose model, tools and memory you cannot see. You exchange messages with it, and nothing more.

  1. April 9, 2025Google introduces A2A. Among its five design principles is "secure by default": the protocol is designed to support enterprise-grade authentication and authorization.
  2. June 23, 2025The Linux Foundation announces the launch of the A2A project and says it will stay vendor-neutral. The repository now describes it as an open source project under the Linux Foundation, contributed by Google, under the Apache 2.0 license.
  3. July 30, 2025Version 0.3.0.
  4. March 12, 2026Version 1.0.0, the first stable version of the specification.
  5. April 9, 2026For the first anniversary, the Linux Foundation announces more than 150 organizations supporting the standard, against more than 50 a year earlier. It lists "Signed Agent Cards" among the new features of version 1.0.
  6. May 28, 2026Version 1.0.1, marked "Latest" on the repository's releases page at the time this page was written, November 6, 2026.

Keep the date of March 12, 2026 in mind. The security analyses published in 2025 predate version 1.0, and several of their findings read differently in light of the current specification.

What the specification requires on security

Section 7 of the specification covers authentication and authorization, section 8.4 the signing of cards, and section 13 security considerations. The table sets out their requirements with the normative verb that goes with each, because that verb is what separates what you are guaranteed from what you are left to decide.

TopicSectionLevelWhat the text says
Transport7.1MUSTProduction deployments use encrypted communication: HTTPS for HTTP bindings, TLS for gRPC.
Server identity7.2SHOULDThe client verifies the A2A server's identity by validating its TLS certificate against trusted authorities.
Request authentication7.4MUSTThe server authenticates every incoming request according to the credentials supplied and its declared requirements.
Authorization during a task7.6.4MUST NOTThe "authentication required" state is not, by itself, authorization for an operation; a credential obtained in that state is not presumed to authorize subsequent messages.
Card signing8.4MAYAgent cards may be signed with JWS (RFC 7515), after JCS canonicalization; the client verifies at least one signature before trusting a card (SHOULD).
Data scope13.1MUSTResults are limited to the rights of the authenticated caller, and the authorization check comes before any request that could leak information.
Push notifications13.2MUST / SHOULDThe agent includes credentials in webhook calls; it validates webhook URLs against SSRF (SHOULD); the client validates the authenticity of every call received.
Extended card13.3MUSTThe extended card operation requires authentication, and the agent checks rights before returning privileged information.

Two excerpts set the tone on signing. The text makes it optional, then asks that it be verified when present:

Agent Cards MAY be digitally signed using JSON Web Signature (JWS) as defined in RFC 7515.
A2A specification, section 8.4
Clients SHOULD verify at least one signature before trusting an Agent Card.
A2A specification, section 8.4.3

A protocol that lets you sign a card without requiring it leaves the decision to trust with whoever deploys.

The project's "Enterprise-ready" page confirms the split of roles: "Authorization logic is specific to the agent's implementation, the data it handles, and applicable enterprise policies." The protocol provides mechanisms; the policy remains to be written on your side. The same page asks that the agent act as a gatekeeper for sensitive actions and data and grant a client only the permissions it needs.

One last finding concerns what these sections do not say. They cover transport, server identity, client authentication, authorization, the card, webhooks, audit and validation of input parameters (13.4). The media type registration (14.1.1) also asks to sanitize user-supplied content against injection attacks. The terms "untrusted" and "prompt injection" do not appear in the specification, and no passage asks you to treat a peer agent's reply as untrusted input for the model that reads it. That is the layer this document leaves to the organization, and it is the one the attacks described below target.

The agent card: a declared identity

The agent card (Agent Card) is the document by which an agent presents itself: its skills, its endpoints and the authentication schemes it accepts. The client reads from it how to authenticate, in the securitySchemes field according to section 7.3. The discovery specification gives three ways to find it:

  • the public address /.well-known/agent-card.json on the server's domain;
  • an enterprise registry, for which the specification defines no standard API;
  • direct configuration, through a file or an environment variable.

The project itself warns that cards can expose sensitive information, such as the addresses of restricted agents or the description of sensitive skills. It writes that any card containing sensitive data must be protected by authentication and authorization, recommends restricting access to the card endpoint through mutual TLS, address ranges or OAuth 2.0, and prefers dynamic credentials obtained out of band to static secrets written into the card.

What a card fetched from the public address proves comes down to little: the server that serves it controls the domain, subject to the TLS certificate. It proves neither the organization's legal identity nor the accuracy of the skill descriptions. A signed card adds the link between the document and a key, verifiable with the public key referenced by kid and jku or a trusted key store, and the specification states that expired or revoked keys must not be used for verification. What remains is knowing who owns that key: trust is anchored in a list the organization keeps, not in the card.

Threats specific to exchanges between agents

The academic analyses of 2025 draw up the catalog. The paper by Habler, Huang, Narajala and Kulkarni (arXiv:2504.16902, April 23, 2025) applies the MAESTRO threat-modeling framework to A2A and focuses on card management, task execution integrity and authentication. The one by Ferrag et al. (arXiv:2506.23260, June 2025) builds a threat model covering host-tool and agent-agent links and classifies more than thirty attack techniques; its proposed measures include dynamic trust management and cryptographic tracking of provenance. Five families of threats emerge for A2A.

Agent impersonation

An agent presents itself under another's name. The server is authenticated by TLS, but a valid certificate proves a domain, not an organization's identity. The more automatic the choice of peers, the higher the stakes: an agent that decides on its own to delegate a task to a peer also decides to hand it its data.

Card forgery

The card is a document written by its owner and read by the client. If the client picks a peer based on skill descriptions, the peer writes its own application. A card modified in transit, or served from a domain close to that of a known agent, falls outside TLS protection as soon as the client verifies no signature. The signatures in version 1.0 answer this risk, provided they are required.

Delegation abuse

An agent receives a delegated task and acts with the rights of whoever delegated it. The specification sets a limit in section 7.6.4:

Agents MUST NOT treat the TASK_STATE_AUTH_REQUIRED state transition, by itself, as authorization for any particular operation.
A2A specification, section 7.6.4

This rule prevents a request for authentication from counting as agreement. It says nothing about the chain: if agent A delegates to B, who delegates to C, C's effective right is the result of a succession of decisions that no one reads in full. The subject is that of agent identities and least privilege: each link must receive a right of its own, bounded in time and in object.

Injection relayed from agent to agent

A peer's messages are text that the agent's model reads. On October 31, 2025, Unit 42 (Palo Alto Networks) described a technique it calls agent session smuggling: a malicious remote agent exploits an ongoing session to slip instructions to the client agent, over several exchanges; the user generally sees only the final reply. Unit 42 states:

This research does not reveal any vulnerability in the A2A protocol itself.
Unit 42, "When AI Agents Go Rogue: Agent Session Smuggling Attack in A2A Systems", October 31, 2025

The risk comes from the implicit trust between agents, which affects any stateful protocol that supports multi-turn conversations. The recommended measures are human approval of sensitive actions, verification of remote agents, for example through signed cards, and context consistency checks. This is indirect prompt injection applied to an additional channel, and its hardest form, because the session lasts: see also multi-step attacks. Orion defends the perimeter against other people's agents: it recognizes them, traps them and freezes them.

Trust between organizations

A2A is built to link agents from different vendors. In an internal system, a registry and an identity directory arbitrate who is who. Between two companies, no one holds that arbitration: the protocol defines no registry, and the Linux Foundation, which hosts it, announces the project's neutrality and governance, not a directory of agents. Each organization therefore decides alone which domains are trusted, what it agrees to send them and what it agrees to receive from them. Registry listings, contracts and card signing are elements of that decision; none replaces it.

A2A and MCP: two different boundaries

A2A's documentation presents the two protocols as complementary:

A2A connects the agents to each other; MCP connects each agent to its own tools.
A2A documentation, "A2A and MCP"

For security, the difference is the nature of the other end of the link. An MCP server is a tool that you choose, install or approve; its risks are tampered tool descriptions, malicious servers and booby-trapped updates. An A2A peer is an autonomous agent, with its own model, tools and objectives, that replies with text and can change its mind during a session. A tool executes a command; a peer interprets a request. The defense against a tool is a control on installation and rights. The defense against a peer is also a control on what you accept from it at every message.

OWASP's list, the Top 10 for Agentic Applications for 2026 (December 9, 2025), sorts these risks into a common taxonomy; it is read in our analysis of the agentic Top 10.

The controls an organization must set

The specification provides authentication of the channel. Everything else is an organizational decision. Nine controls cover the threats above.

  1. Keep an inventory of authorized peers. Domains, responsible organization, accepted skills, data that may be transmitted. An agent talks only to the peers on this list.
  2. Require signed cards and refuse unsigned ones. The specification says "SHOULD"; your policy says "must". Verification keys come from your store, not from the card.
  3. Protect the cards you publish. No sensitive information in the public card; details go through the extended card, authenticated.
  4. Use strong authentication between services. OAuth 2.0 with scopes per skill, mutual TLS for links between companies, short-lived credentials.
  5. Give each agent its own identity and a bounded right. No reuse of a user's account or of a general service account: see least privilege.
  6. Treat every message from a peer as untrusted input. It may inform; it gives no orders. The action it suggests is judged as if a document had suggested it.
  7. Put a decision point on actions. A deterministic control before the tool call, whichever peer asked for it, and approval by a person for what matters. See human oversight.
  8. Limit the duration and depth of sessions. A cap on turns, a maximum context size, a delegation chain of bounded length.
  9. Log what is exchanged. The specification asks to trace taskId, sessionId, correlation identifiers and trace context, and to audit task creation, critical state changes and agent actions. A chained log, which also holds what the agent had read, turns this trace into evidence: see tamper-evident logs.

SentinelOS sits between your agents and everything they touch: it judges every action before it leaves, including when the order comes from a document the agent read. What matters waits for a person, and their decision is written in their name.

What teams that open their agents to dialogue do

  1. They deploy A2A internally first. The same controls, without the problem of trust between organizations.
  2. They start in observation mode. They record every exchange with a peer before blocking anything, then write the list of peers and actions actually used.
  3. They test the dialogue as an attack surface. A simulated hostile peer enters the test environment, see AI red teaming.
  4. They follow the specification. The protocol went from 0.3.0 to 1.0 in under eight months; the security requirements are reread at each version.
  5. They enter the peer in the vendor register. A remote agent is a subcontractor that receives data: it has its line in the agent security framework, its clauses and its review date.

Sources

  1. A2A Project, "Agent2Agent (A2A) Protocol Specification", version 1.0.0, sections 7, 8.4, 13. a2a-protocol.org
  2. A2A Project, "Enterprise Features" and "Agent Discovery". a2a-protocol.org ; a2a-protocol.org
  3. A2A Project, "A2A and MCP". a2a-protocol.org
  4. a2aproject/A2A repository, README and releases page (v1.0.0 of March 12, 2026, v1.0.1 of May 28, 2026). github.com/a2aproject/A2A
  5. Google Developers Blog, "Announcing the Agent2Agent Protocol (A2A)", April 9, 2025. developers.googleblog.com
  6. Linux Foundation, "Linux Foundation Launches the Agent2Agent Protocol Project to Enable Secure, Intelligent Communication Between AI Agents", June 23, 2025. linuxfoundation.org
  7. Linux Foundation, "A2A Protocol Surpasses 150 Organizations, Lands in Major Cloud Platforms, and Sees Enterprise Production Use in First Year", April 9, 2026. linuxfoundation.org
  8. Unit 42, Palo Alto Networks, "When AI Agents Go Rogue: Agent Session Smuggling Attack in A2A Systems", October 31, 2025. unit42.paloaltonetworks.com
  9. Habler, Huang, Narajala, Kulkarni, "Building A Secure Agentic AI Application Leveraging A2A Protocol", arXiv:2504.16902, April 23, 2025. arxiv.org
  10. Ferrag et al., "From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows", arXiv:2506.23260. arxiv.org
  11. OWASP GenAI Security Project, "OWASP Top 10 for Agentic Applications for 2026", December 9, 2025. genai.owasp.org