Join our Newsletter — 33% off our NHI Course
Home› Guides› Securing Multi-Agent Systems and Agent-to-Agent (A2A) Trust
Guide MCP, Protocols & Agent Platforms

Securing Multi-Agent Systems and Agent-to-Agent (A2A) Trust

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 24 October 2026 16 min read
On this page

When agents start working with other agents, trust stops being a question about one piece of software and becomes a question about a network. A planner hands work to specialist agents; an internal agent calls a partner's agent; an orchestrator fans one request out to a dozen workers. Each hand-off needs answers to the same questions: is this really the agent it claims to be, is it acting for someone who is allowed to ask, and has the request been tampered with on the way? This guide covers how to secure multi-agent systems and agent-to-agent communication, including the Agent2Agent (A2A) protocol version 1.0, delegation across several hops, containment, cross-organisation trust and monitoring. It is written for architects, IAM engineers and platform teams building or approving multi-agent workflows.

Key takeaways

  • Every agent is a client and a potential attacker. In a multi-agent system, do not trust a request because it came from "inside"; OWASP's ASI03 calls this "Cross-Agent Trust Exploitation".
  • Authenticate with cryptography, not names. Use mutual TLS, sender-constrained tokens and workload identity, never display names, descriptions or network location.
  • Delegation must narrow at each hop. A worker should receive only the authority its sub-task needs, never the planner's full privileges, and each hop should be recorded.
  • A2A authenticates; you authorise. The A2A specification requires servers to authenticate every request and supports signed Agent Cards, but states that authorisation logic is "implementation-specific".
  • Design for containment. Separate planning from execution, validate between steps, add circuit breakers and keep a per-agent kill switch, because ASI08 cascades turn one fault into many.

Common multi-agent patterns

Each pattern creates trust boundaries between agents, but they concentrate risk in different places. CSA's MAESTRO framework gives a threat for each: in a hierarchical system the risk is "Compromise of a Higher-Level Agent to Control Subordinates", while in a distributed ecosystem it is a "Sybil Attack through Agent Impersonation".

PatternHow it worksWhere risk concentratesFirst control
Orchestrator and workersA central agent breaks a goal into tasks and assigns them to specialist agentsThe orchestrator, which holds the widest authorityPer-worker scoped tokens; independent policy check before execution
PipelineAgents pass work along a sequence, such as research, draft, review and publishEach hand-off, where bad output flows downstreamSchema and policy validation between stages
Peer collaborationAgents negotiate or exchange information directly, including across organisationsEvery connection, and discoveryMutual authentication and an allowlist of peers and keys
Agent as a toolOne agent is exposed to another through a tool interface, such as an MCP server wrapping an agentThe tool host, which sees the caller's credentialsTreat the wrapped agent as a third-party tool with its own identity

The orchestrator pattern concentrates risk in one place, which makes it easier to monitor but more damaging to lose. Peer patterns spread risk across every connection, which makes discovery and key management the hard problems. Many real systems mix patterns, so model each hand-off separately. See the AI Agent Threat Modelling Guide.

What goes wrong between agents

The OWASP Top 10 for Agentic Applications 2026 dedicates three risks specifically to multi-agent systems, and a fourth applies directly to delegation.

RiskWhat OWASP describesExample from OWASPKey mitigations (OWASP)
ASI07 Insecure Inter-Agent CommunicationExchanges that "lack proper authentication, integrity, or semantic validation", across transport, routing, discovery and semantic layersA2A registration spoofing: a fake peer registered in discovery with a cloned schema intercepts privileged trafficMutual authentication with per-agent credentials; signed messages; nonces and timestamps against replay; signed agent cards
ASI08 Cascading FailuresA single fault that "propagates across autonomous agents, compounding into system-wide harm"One faulty decision triggering many downstream agents or tasks in a short timeSeparate planning and execution via an external policy engine; circuit breakers between planner and executor; rate limits
ASI10 Rogue AgentsAgents that "deviate from their intended function or authorized scope"An agent whose individual actions look legitimate but whose combined behaviour is harmfulSigned audit logs; trust zones; kill switches and credential revocation; per-agent identity attestation
ASI03 Identity and Privilege AbuseExploiting "dynamic trust and delegation" to escalate accessA finance agent delegates to a query agent but passes all its permissionsTask-scoped, time-bound tokens; per-action authorisation; no privilege inheritance without re-validated intent

ASI03 also describes a time-of-check to time-of-use gap: permissions validated at the start of a workflow may "change or expire before execution". Long multi-agent workflows are where that gap opens widest. ATLAS now tracks attackers using agent-to-agent channels themselves (AML.T0118.001 Direct Agent Communication), and the Anthropic GTG-1002 Campaign 2025 showed attackers orchestrating Claude Code agents through MCP tools, with credential harvesting central to the operation.

Agent-to-agent authentication

Agents should prove who they are to each other the same way workloads do, with credentials that are cryptographic, short-lived and bound to the agent. OWASP's ASI07 guidance is to "use end-to-end encryption with per-agent credentials and mutual authentication".

MethodWhat it provesStrengthsWatch for
Mutual TLS with workload identity (SPIFFE SVIDs)Both ends hold a certificate for a SPIFFE ID in a trust domainAuthenticates at connection time; short-lived, automatically rotated certificatesTrust domain design; federation between domains
OAuth 2.0 access token, certificate-bound (RFC 8705)The caller holds the private key behind the token's certificateAudience and scope in the token; replay resistantNeeds TLS client authentication end to end
OAuth 2.0 access token with DPoP (RFC 9449)The caller can sign proofs with the key bound to the tokenWorks where TLS client certificates are not practicalRFC 9449 notes stolen pre-generated proofs can be misused if the client is compromised
Signed agent metadata (signed Agent Cards)The card was published by the holder of a trusted keyProtects discovery against tamperingProves who published the card, not that the agent is safe
Static API keys or shared secretsPossession of a stringSimpleCopyable, often long-lived (NHI7) and reused (NHI9); avoid between agents

SPIFFE defines an SVID as "the document with which a workload proves its identity", in X.509 or JWT form, signed by an authority in the SPIFFE ID's trust domain. Never rely on an agent's display name, description or network location as proof of identity: ASI03 lists "Synthetic Identity Injection" using unverified descriptors such as "Admin Helper". See the NHI Authentication Guide and the Cloud Workload Identity Guide.

Delegation across multiple hops

Consider a user who asks an orchestrator to "prepare the quarterly supplier report". The orchestrator asks a data agent to query the finance system, and a writing agent to draft the report. For each hop, the receiving system needs to know:

  1. Who is calling (the immediate agent).
  2. On whose behalf (the original user, and the chain of agents in between).
  3. With what authority for this task (read supplier spend for the last quarter, not all of finance).

Patterns that support this:

  • Token exchange per hop. OAuth 2.0 Token Exchange (RFC 8693) lets each agent trade the token it received for a new one, scoped to the next audience and narrowed to the sub-task. Its act claim identifies the current actor, and "a chain of delegation can be expressed by nesting one act claim within another". Note the limit: RFC 8693 says prior actors in nested claims "are informational only and are not to be considered in access control decisions", so the authorisation decision must rest on the top-level claims and the current actor.
  • Delegation, not impersonation. RFC 8693 distinguishes the two: an impersonating party "is indistinguishable" from the subject, while a delegate keeps its own identity. Prefer delegation, so logs show which agent acted. The Entra ID Actor Token Flaw 2025 shows the risk of service-to-service impersonation tokens that could not be logged, restricted or revoked.
  • Attenuation, never amplification. Each hop may remove authority but never add it. A worker's token should be a strict subset of what the orchestrator held.
  • Short lifetimes tied to the task. Tokens should expire when the sub-task should be finished, not hours later. ASI08's mitigations include "short-lived, task-scoped credentials for each agent run".
  • Per-step authorisation. Check authority at each action, not only when the workflow starts, to close the time-of-check to time-of-use gap.

Standards for multi-hop delegation are still developing. The IETF OAuth working group's Transaction Tokens draft is designed to "maintain and propagate user identity, workload identity and authorization context" through a call chain within a trusted domain, and the OAuth Identity and Authorization Chaining Across Domains draft addresses hops between trust domains; both were active Internet-Drafts at the time of writing. See the OAuth Token Exchange and Delegation Guide and the Agent Identity Standards Tracker.

Securing A2A

Agent2Agent (A2A) is an open protocol for agents built on different frameworks to discover each other, exchange tasks and collaborate without exposing their internal state, memory or tools. Google announced it on 9 April 2025 with more than 50 technology partners, and the Linux Foundation launched the A2A project on 23 June 2025. The project changelog records version 1.0.0 on 12 March 2026 and 1.0.1 on 26 May 2026. Version 1.0 added Agent Card signature verification, mutual TLS security schemes and PKCE, and removed the deprecated implicit and password OAuth flows. Check the current specification for exact requirements.

A2A elementWhat the specification saysWhat you still decide
TransportProduction deployments "MUST use encrypted communication"; TLS 1.3 or later recommendedCertificate validation and pinning policy
Agent Card discoveryCards at /.well-known/agent-card.json, in registries or by direct configurationWhich sources of cards you accept
Signed Agent CardsCards "MAY be digitally signed" with JWS (RFC 7515) over a JCS-canonicalised form (RFC 8785); clients "SHOULD verify at least one signature"Which publishing keys you trust; make verification mandatory
Security schemesDeclared in the card, based on OpenAPI 3.2: API key, HTTP auth, OAuth 2.0, OpenID Connect or mutual TLS; credentials obtained out of bandWhich schemes you allow; reject API keys for sensitive agents
Server authenticationServers "MUST authenticate every incoming request"Nothing: enforce it
AuthorisationAuthorisation logic is "implementation-specific"; servers "MUST implement authorization checks on every" operation and scope results to the callerThe whole authorisation policy
In-task authorisationTASK_STATE_AUTH_REQUIRED lets an agent ask the client for authorisation or approval; the state "by itself" is not authorisationScope, validity and revocation of what is granted
Extended Agent CardRequires authentication; should not include internal URLs or credentialsWhat each caller is allowed to see

The in-task authorisation section matters for multi-hop flows. A client agent may pass an authorisation request up its own chain, and the specification warns that in-band credential exchange "can allow credentials to be passed across chains of multiple A2A agents, exposing those credentials to each agent". It recommends that such credentials be bound to the agent that originated the request.

A2A controls:

  • Accept requests only from agents you can authenticate cryptographically, and reject unauthenticated calls.
  • Verify Agent Card signatures, and pin or allowlist the agents and publishing keys you trust, especially across organisations.
  • Treat the contents of Agent Cards, including names, descriptions and skills, as untrusted input to your model.
  • Authorise each task against the calling agent and the user it represents, using least privilege.
  • Enforce protocol versions and reject downgrades, as ASI07 recommends.
  • Rate limit and budget per calling agent, and log authentication failures and authorisation denials.

Designing for containment

Assume one agent in the system will eventually be manipulated or malfunction. Limit how far that spreads:

  • Separate planning from execution. The agent that decides what to do should not also hold the credentials to do it without an independent check. OWASP recommends separating them "via an external policy engine".
  • Validate between steps. Check outputs from one agent against policy or schema before another acts on them, particularly for financial, destructive or external actions. ASI07 recommends "versioned, typed message schemas with explicit per-message audiences".
  • Isolate identities and memory. Each agent has its own identity and memory; no shared "system" credential or shared scratchpad that one agent can poison for all. See the AI Agent Memory Security Guide.
  • Circuit breakers and budgets. Stop workflows that exceed expected step counts, spend, data volumes or error rates.
  • Kill switch per agent. Be able to revoke one agent's credentials and remove it from discovery without stopping the whole system, then require fresh attestation before it returns.
  • End-to-end traceability. Propagate a correlation ID and the delegation chain through every hop, so any action can be traced back to the original request and user.

Detection and monitoring

Containment depends on noticing. OWASP's ASI08 lists observable symptoms that make good detections: "rapid fan-out", spread beyond the original context or tenant, "oscillating retries or feedback loops between agents" and repeated identical intents. Useful signals:

  • Delegation anomalies: a low-privilege agent receiving higher-privilege scopes, or tokens used outside their audience or task window (ASI03 recommends monitoring for both).
  • Discovery changes: new or changed Agent Cards, new signing keys and new registry entries claiming a trusted name.
  • Protocol anomalies: downgrade attempts, unsigned cards accepted, failed signature checks and authentication failures per caller.
  • Behaviour against declared purpose: tool calls or data volumes outside the agent's expected profile.

Record inter-agent messages and policy decisions in tamper-evident logs bound to agent identities, as ASI08 recommends. See the AI Agent Observability and Incident Response Guide.

Cross-organisation agent trust

When your agents interact with agents run by suppliers, customers or partners, treat them like any third-party integration, with extra caution because their behaviour is not fixed:

  • Establish trust formally: which agents, which keys, which skills, which data may be shared, and who to call when something goes wrong.
  • Share the minimum data: do not let an external agent pull from your agent's full context.
  • Apply third-party NHI controls: contractual and technical controls equivalent to other third-party NHIs (OWASP NHI3, Vulnerable Third-Party NHI).
  • Watch for change: monitor the partner's Agent Card and signing keys and re-verify when they change.
  • Plan for the platform: if partners' agents run on a hosting platform, its deployment credentials are part of your risk. In the Smithery.ai MCP Hosting Breach 2025, one token controlled thousands of hosted servers.

See the Third-Party Access Guide.

Common failure patterns

  • One identity for every agent: a single service account used across a framework, so any agent can do anything the system can (NHI9).
  • Network location as trust: worker agents accepting any message from the orchestrator's network segment without authentication.
  • Full-scope token forwarding: orchestrators passing the user's full token to every worker, the "Un-scoped Privilege Inheritance" ASI03 describes.
  • Trust by name: discovery that accepts any agent claiming a trusted name or an unsigned card.
  • Impersonation where delegation was needed: downstream logs show the user, not the agent, so nobody can tell which agent acted.
  • No correlation: agent actions cannot be linked across hops, making reconstruction after an incident impossible.

Framework mapping

This is an indicative alignment prepared by NHI Mgmt Group, not an official mapping. IDs were checked against NIST CSWP 29 (CSF 2.0), the NIST SP 800-53 Rev. 5 catalogue, the CIS Controls (control level) and a published ISO/IEC 27001:2022 Annex A list.

Control areaNIST CSF 2.0NIST SP 800-53 Rev. 5ISO/IEC 27001:2022 Annex ACIS Controls v8.1OWASP
Per-agent identity and mutual authenticationPR.AA-01, PR.AA-03IA-9, IA-5A.5.16, A.5.17, A.8.55, 6ASI07; NHI9
Scoped delegation and per-step authorisationPR.AA-05AC-3, AC-6, AC-4A.5.15, A.8.2, A.8.36ASI03
Assertion and message integrityPR.AA-04, PR.DS-02SC-8, SC-23, SC-13A.8.24, A.5.143ASI07
Containment and trust zonesPR.IR-01, RS.MI-01SC-7, AC-5, IR-4A.8.22, A.5.2612, 13, 17ASI08, ASI10
Inter-agent logging and traceabilityPR.PS-04, DE.CM-09, DE.AE-03AU-2, AU-3, AU-10, SI-4A.8.15, A.8.168ASI08, ASI10
Cross-organisation agent trustGV.SC-05, GV.SC-07, DE.CM-06SA-9, SR-6, CA-3A.5.19, A.5.20, A.5.2215NHI3

See the Zero Trust for AI Agents Guide for the architectural principles behind these controls.

Metrics that show progress

MetricWhat it showsTarget direction
Agents with a unique cryptographic identityRemoval of shared and static credentials between agentsUp, towards all agents
Inter-agent calls using sender-constrained or mTLS-bound credentialsResistance to token theft and replayUp
Delegated tokens with a narrower scope than their parentAttenuation at each hopUp
Median lifetime of inter-agent tokensExposure window if a token leaksDown
Agent Cards accepted without a verified signatureExposure to discovery spoofingDown, towards zero
Actions traceable end to end to an originating user or requestReadiness for investigationUp
Time to isolate a single agent (revoke and remove from discovery)Containment speedDown

Implementation roadmap

PhaseActionsDone when
First 30 daysInventory multi-agent workflows and every inter-agent connection; find shared credentials and full-scope token forwarding; add correlation IDsEvery connection listed with its authentication method and owner
Days 31 to 90Issue per-agent workload identities; move inter-agent calls to mTLS or sender-constrained tokens; introduce token exchange with narrowed scopes for the highest-risk workflow; verify Agent Card signaturesNo shared secrets between agents in priority workflows; unsigned cards rejected
Days 91 to 180External policy engine between planning and execution; circuit breakers and budgets; per-agent kill switch tested; partner agent trust agreements; detections for delegation and discovery anomaliesKill switch exercised; metrics reported; partner keys pinned

See the Identity Governance for AI Agents Guide for ownership and review of agent identities.

Practitioner checklist

  • Give every agent its own cryptographic identity and require mutual authentication between agents.
  • Narrow authority at every delegation hop; never pass a planner's full privileges to workers.
  • Prefer delegation to impersonation so logs show which agent acted.
  • Use audience-bound, short-lived, sender-constrained tokens between agents.
  • Verify signed Agent Cards and allowlist trusted agents and keys; treat card contents as untrusted input.
  • Authorise each task and each action, not just the start of a workflow.
  • Separate planning from execution and validate outputs between agents.
  • Add circuit breakers, budgets and per-agent kill switches.
  • Propagate correlation IDs and delegation chains for end-to-end audit.
  • Monitor for fan-out, delegation anomalies and changes to Agent Cards and keys.

Standards and references

Related NHI Mgmt Group resources: Agentic AI Security Guide · AI Agent Authorisation Guide · MCP Security Guide · Zero Trust for AI Agents Guide · Top 10 Agentic AI Identity Issues

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 24 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.