Skip to content

ASI07 · OWASP Top 10 for Agentic Applications

Insecure Inter-Agent Communication

Multi-agent systems coordinate via APIs, message buses, and shared memory, greatly expanding the attack surface. Decentralised architecture and uneven trust make perimeter security ineffective; weak inter-agent authentication, integrity, confidentiality, or authorization let attackers intercept, manipulate, spoof, or block messages.

The control checklist

  • Communication models determine blast radius: tightly coupled systems let a single bad message trigger many actions quickly; loosely coupled systems propagate more slowly but may be harder to detect
  • Coordinator patterns create single points of influence: a confused or manipulated coordinator misleads the entire system without any individual agent behaving irresponsibly
  • Agents treat peer messages as high-quality internal signals by default, unlike user input. This implicit elevated trust must be made explicit and managed deliberately
  • Broadcast models blur accountability: when many agents consume the same message, tracing who relied on what becomes impossible
  • Message compression across hops erodes meaning: the original context justifying an instruction can be completely lost by the time it reaches execution
  • Messages are influence packets: every conclusion passed between agents carries authority without requiring the downstream agent to see the original evidence
  • Overconfidence phrasing ("confirmed," "safe to proceed") causes agents to lower their own skepticism and stop independently verifying
  • Format drift between independently updated agents silently changes what messages mean. Communication contracts must be versioned like code
  • Freshness signals are essential: agents acting on stale messages believe they are current, with no way to know the difference without explicit timestamps or expiry
  • Defense requires richer messages: evidence, assumptions, and confidence must travel with every conclusion rather than being stripped in transit

The full guide (free to read)

Multi Agent Communication Models

Before we can secure communication between agents, we need to understand how agents actually talk to each other. Multi-agent communication models describe the patterns agents use to exchange information, coordinate work, and make collective decisions. These models shape not just performance but trust, failure modes, and blast radius.

Direct Messaging

One common model is direct messaging: agents send messages to each other much like humans do, passing updates, questions, and instructions. This feels intuitive and flexible. In practice, it's also where many problems begin. Messages often contain summaries, assumptions, and interpretations, not raw facts. If one agent makes a mistake, that mistake can be transmitted instantly to others, who then act on it with confidence.

The Coordinator Pattern

Another widely used model is the coordinator pattern. A central agent assigns tasks to specialized agents and aggregates their responses. This can improve clarity and efficiency, but it also creates a single point of influence. If the coordinator misinterprets input, applies the wrong priority, or is manipulated, the entire system follows suit. The coordinator doesn't need to be compromised for harm to spread. It just needs to be wrong.

Broadcast Models

There are also broadcast-style models, where agents publish information to a shared channel and other agents consume what they find relevant. This works well for discovery and collaboration, but it blurs responsibility. When many agents consume the same message, it becomes difficult to track who relied on it and why. Errors don't propagate in a straight line. They diffuse.

Negotiation Models

In more advanced systems, agents negotiate, exchanging proposals, counter-proposals, and confidence signals. This can look sophisticated and intelligent, but it also introduces new risks. If agents place too much trust in each other's confidence or reasoning quality, bad assumptions can be reinforced through agreement rather than challenged.

How Failures Live in Communication

Real-world examples make this clearer. Imagine a monitoring agent that detects an anomaly and tells a remediation agent: "This looks like a known issue. Restart the service." The remediation agent trusts that judgment and acts immediately. Later, it turns out the anomaly was an attack. No single agent acted irresponsibly. The failure lived in the communication model.

Another example shows up in data pipelines. One agent validates input data and marks it as clean. Downstream agents stop validating because they trust that label. If the validation agent misses something once, the error cascades through the system unchecked.

The Trust Assumption Problem

What makes multi-agent communication especially risky is that agents often treat messages as high-quality signals. Unlike user input, which may be treated cautiously, messages from other agents feel internal and trustworthy. This is a dangerous assumption unless trust is explicitly managed.

Information Loss Through Compression

Another subtle issue is loss of nuance. Agents often compress information when communicating: they summarize, abstract, and simplify. Every compression step throws away detail. Over multiple hops, meaning can drift significantly. By the time an instruction reaches an execution agent, it may be far removed from the original context that justified it.

Key Takeaways

  • Communication models determine blast radius: tightly coupled systems let a single bad message trigger many actions quickly; loosely coupled systems propagate more slowly but may be harder to detect
  • Coordinator patterns create single points of influence: a confused or manipulated coordinator misleads the entire system without any individual agent behaving irresponsibly
  • Agents treat peer messages as high-quality internal signals by default, unlike user input. This implicit elevated trust must be made explicit and managed deliberately
  • Broadcast models blur accountability: when many agents consume the same message, tracing who relied on what becomes impossible
  • Message compression across hops erodes meaning: the original context justifying an instruction can be completely lost by the time it reaches execution

Agent in the Middle Attacks

When agents begin talking to each other automatically, a new kind of attack becomes possible, one that looks familiar but behaves very differently in practice. Agent-in-the-middle attacks are the agentic equivalent of classic man-in-the-middle attacks. But instead of intercepting packets, the attacker intercepts meaning.

What's Being Intercepted

In a traditional network attack, an adversary sits between two parties and alters traffic. In an agentic system, the attacker may be another agent, a compromised service, or even a misconfigured intermediary that relays messages. What's being intercepted isn't just data: it's intent, assumptions, and authority.

Routing Layer Manipulation

A real-world scenario makes this clearer. Imagine an agent that gathers information and another that executes actions. Between them is a routing layer that decides which messages go where. If that intermediary is compromised or poorly designed, it can subtly modify messages: removing uncertainty, changing priorities, or injecting new constraints. The execution agent believes it's acting on trusted guidance, but that guidance has been reshaped.

Tool-Mediated Communication

Another example appears in tool-mediated communication. Agents often communicate indirectly by writing to shared systems like ticket queues, task boards, or state stores. If an attacker can influence that shared medium, they can alter what one agent believes another intended. No direct message is intercepted, yet the effect is the same.

Subtlety Is the Threat

What makes agent-in-the-middle attacks especially dangerous is subtlety. The attacker doesn't need to inject obviously malicious instructions. Small changes are enough. Turning "investigate further" into "safe to proceed" or "low confidence" into silence can redirect behavior dramatically. Because agents optimize for efficiency, they rarely question clean-looking messages.

These attacks are also hard to detect because nothing looks broken. Messages arrive, actions occur, logs show legitimate agents doing legitimate work. The problem lives in the gap between what was meant and what was received.

Chains of Transformation

In complex systems, the "middle" may not be a single component. It can be a chain of transformations. Messages are summarized, reformatted, enriched, or filtered as they move through the system. Each transformation is an opportunity for distortion, whether intentional or accidental. Over time, the original intent becomes unrecognizable.

Social Engineering in Multi-Agent Systems

Agent-in-the-middle attacks can also be social. A malicious agent may insert itself into conversations by presenting as helpful or authoritative. Other agents begin routing questions or decisions through it. Once trusted, it can bias outcomes simply by how it frames responses. No cryptography is broken. Trust is.

Defenses

Defending against these attacks starts with explicit authentication and integrity. Agents should be able to verify not just who sent a message, but that the message hasn't been altered. Cryptographic signatures help, but they're not sufficient on their own. They prove origin, not correctness.

Another critical defense is end-to-end context. Execution agents should have access to original evidence, not just downstream summaries. If an agent is told to act, it should know why. Removing the middleman's ability to collapse context reduces their power to manipulate outcomes.

Agents should also be taught to expect interference. When messages arrive without evidence, with missing context, or with unusually high confidence, skepticism is a healthy response.

Key Takeaways

  • Agent-in-the-middle attacks intercept meaning, not packets: subtle changes like removing uncertainty signals or switching "investigate" to "proceed" are enough to redirect behavior
  • Tool-mediated communication (shared queues, state stores, task boards) is vulnerable to the same manipulation without any direct message interception
  • Chains of transformation create many attack opportunities: every hop that summarizes or reformats a message is a chance for distortion
  • Cryptographic signatures prove origin but not correctness: they must be paired with end-to-end context so execution agents have access to original evidence, not just shaped summaries
  • Agents should treat messages arriving with missing context or unusually high confidence as reasons to slow down, not speed up

Replay Attacks and Coordination Corruption

Even when messages are authentic and unaltered, there's another way coordination can fail. Time itself. Replay attacks and coordination corruption happen when old, valid messages are reused in the wrong moment, creating actions that are technically authorized but contextually dangerous.

Beyond Traditional Replay Attacks

In traditional systems, replay attacks involve capturing a legitimate request and sending it again later. In agentic systems, the problem is broader. Messages, decisions, approvals, and signals can all be replayed, sometimes unintentionally, sometimes maliciously. What makes this dangerous is that agents often treat past decisions as reusable guidance.

Stale Approvals

A very common real-world scenario involves approvals. An agent requests permission to perform an action, and another agent or human approves it. That approval is valid in that moment, under specific conditions. If the agent later reuses that approval, or if another agent sees it and assumes it still applies, the system may execute an action that is no longer safe.

Timing-Sensitive Coordination Messages

Another example appears in coordination messages. A planning agent tells execution agents: "Proceed with deployment." That message is correct at the time. But if it's replayed later, after conditions have changed, it can trigger deployment during an outage, a freeze window, or an active incident. The message itself isn't wrong. Its timing is.

Caching and Retry Failures

Corruption often happens through caching and retries. Agents are designed to be resilient: if a message fails to deliver, they retry; if a system restarts, they replay queued messages. Without strong freshness checks, those replays can revive decisions that should have expired.

Pattern Recognition Replacing Verification

In multi-agent workflows, agents may also infer state from message history. If they see a sequence of past messages that usually precedes an action, they may proceed automatically. Even if one of those messages was replayed or duplicated, pattern recognition replaces explicit verification.

Deliberate Exploitation

Attackers can exploit this deliberately. If they can capture or trigger the replay of a high-authority message, they don't need to forge anything. They simply wait for a moment when replay causes maximum harm. Because the message is authentic, traditional security controls often allow it.

Why Logs Look Clean

What makes replay-based failures especially hard to detect is that logs look clean. The message was valid. The sender was trusted. The action was permitted. The only thing missing is context. Systems that don't encode time, scope, and state explicitly can't tell the difference between "still valid" and "no longer appropriate."

Version Drift

Coordination corruption also happens accidentally through version drift. One agent may operate on a newer understanding of the system state, while another acts on an older one. Messages that made sense in one version of reality no longer apply in another. Without synchronization, coordination degrades.

Defenses

Defending against replay attacks requires making decisions ephemeral. Messages that carry authority should have explicit lifetimes: once they expire, they should be ignored even if they are authentic. Freshness should be enforced, not assumed.

Another important defense is binding messages to state. An instruction should apply only if certain conditions still hold. If those conditions have changed, the message should be rejected. Sequence numbers, nonces, and timestamps help, but agents also need semantic freshness. They should understand whether a message still makes sense in the current situation, not just whether it's recent.

Key Takeaways

  • Replay attacks in agentic systems don't require forged messages: a legitimate message delivered at the wrong time is sufficient to cause dangerous action
  • Approval messages are especially dangerous to replay: an authorization granted under specific past conditions should never be treated as indefinitely valid
  • Caching and retry mechanisms are built-in replay vectors: without explicit expiry, resilience mechanisms become attack surfaces
  • Logs look clean after a replay attack because the message, sender, and action were all legitimate: only temporal and state context reveals the problem
  • Defense requires binding authority to time and state: messages should expire, and execution should check whether the preconditions that justified the message still hold

Semantic Drift Between Agents

As agents continue to exchange messages over time, another subtle failure begins to appear. Even when no one is attacking the system and messages are delivered exactly as sent, meaning itself can slowly change. Semantic drift between agents is what happens when agents gradually stop agreeing on what words, signals, and concepts actually mean.

How Humans Handle It vs. How Agents Don't

In human teams, we deal with semantic drift all the time. Terms evolve, shortcuts creep in, assumptions go unstated. The difference is that humans notice confusion and ask clarifying questions. Agents rarely do, unless we force them to.

A Real-World Example

A real-world example makes this clear. Early in a system's life, agents agree that the phrase "safe to proceed" means all checks have passed and no safeguards were bypassed. Over time, one agent begins using the phrase more loosely, meaning "no obvious errors found." Another agent continues to interpret it strictly. Nothing breaks immediately, but actions based on that phrase start to diverge in safety.

Optimization as the Root Cause

Semantic drift often begins with optimization. Agents summarize to save tokens. They shorten explanations to move faster. They reuse phrases that previously led to success. Each step removes nuance. Over multiple hops, the original meaning erodes. What remains sounds familiar but no longer carries the same guarantees.

Uneven Updates Between Agents

Another common source of drift is uneven updates. One agent's prompt or reasoning model is updated, another's is not. They still share a communication channel, but they no longer share the same internal definitions. A term that triggers caution in one agent may trigger confidence in another.

Danger in Multi-Agent Planning

In multi-agent planning systems, semantic drift can be especially dangerous. A planning agent might say "validate inputs," meaning deep validation. An execution agent might interpret that as a shallow format check. Both believe they are aligned. Neither realizes the gap until something fails.

Invisible in Logs

Semantic drift is hard to detect because it doesn't show up in logs as an error. Messages look correct. Agents appear responsive. The system remains stable until one day the accumulated drift crosses a threshold and causes a visible incident. Real incidents often surface this problem indirectly: teams notice that agents are technically doing what was asked, but producing unsafe outcomes. Postmortems reveal that no rule was violated. The failure lived entirely in interpretation.

Defenses

Defending against semantic drift starts with explicit shared vocabularies. Critical terms should be defined, versioned, and treated as contracts, not casual language. If the meaning of a term changes, that change should be deliberate and visible to all agents that use it.

Another important defense is grounding messages in evidence. Instead of relying on phrases like "safe" or "validated," agents should include references to checks performed, assumptions made, and confidence levels. This reduces reliance on shared interpretation and increases transparency.

Regular calibration also matters. Agents should periodically test alignment by exchanging structured examples and verifying that they interpret them the same way. Semantic drift can also be mitigated by reducing message compression. When stakes are high, verbosity is a feature, not a bug.

Key Takeaways

  • Semantic drift is a maintenance failure, not an attack: it accumulates from optimization, uneven updates, and natural language compression across agent interactions
  • The phrase "safe to proceed" can mean very different things to different agents while logs show no errors and both sides believe they are aligned
  • Uneven model updates silently break shared definitions: the same term may trigger caution in one agent and confidence in another after a one-sided update
  • Drift is invisible in logs and only surfaces when accumulated misalignment crosses a threshold: by then the failure looks mysterious and unattributable
  • Defense requires shared, versioned vocabularies; evidence-grounded messages instead of confidence phrases; and periodic calibration exercises between agents

mTLS and Signatures for Agents

As communication risks become clearer, one truth stands out: agents should never have to guess who a message came from or whether it was altered along the way. Mutual TLS and cryptographic signatures are how we give agents that certainty, without relying on trust by convention or naming.

Why Human Social Cues Don't Translate

In human systems, we often rely on social cues: we recognize a voice, a name, or a familiar tone. Agents don't have that intuition. If a message arrives and looks well-formed, an agent will assume it's legitimate unless we give it a stronger signal. That's where cryptographic identity becomes essential.

What Mutual TLS Provides

Mutual TLS (often called mTLS) means that both sides of a connection authenticate each other. It's not enough for an agent to know it's talking to the right peer; the peer must also know who it's talking to. This creates a two-way proof of identity before any meaningful communication happens.

A real-world analogy helps: imagine two secure rooms connected by a locked door. mTLS is like requiring both people to show valid badges before the door opens, not just one. Without that, anyone who can knock convincingly might get in. In agentic systems, mTLS ensures that when one agent sends a message, the receiving agent can verify exactly which agent sent it. If an unknown or unauthorized agent tries to connect, the conversation never starts.

What Cryptographic Signatures Add

Cryptographic signatures go a step further: they protect the message itself, not just the connection. When an agent signs a message, it's effectively saying: "I sent this exact content and it hasn't been changed." If even a single character is altered in transit, the signature no longer matches.

This matters because meaning can be manipulated without changing structure. Signatures ensure that intermediaries, routers, or compromised services cannot silently modify messages without detection. The execution agent can trust that what it received is exactly what the sender intended to say.

Deployment and Accountability

Consider a planning agent instructing an execution agent to deploy a change. With signatures, the execution agent can verify not only who sent the instruction, but that the instruction wasn't reworded, truncated, or replayed with modifications. Authority and intent stay aligned.

Another important benefit is non-repudiation. When messages are signed, agents cannot later deny having sent them. This creates accountability: in post-incident analysis, teams can trace actions back to specific agents with cryptographic certainty, not inference.

What Cryptography Doesn't Solve

However, mTLS and signatures are not magic. They solve identity and integrity, not correctness. An agent can still send a bad instruction honestly. Cryptography proves who said something, not whether it was a good idea.

This is why cryptographic identity should be paired with scope and policy. Just because a message is authentic doesn't mean it should be acted on. Execution agents should still check whether the sender is authorized to make that request in the current context.

Key Management and Common Pitfalls

Key management is also critical. Certificates and signing keys should be short-lived, rotated regularly, and scoped tightly. Long-lived keys quietly become high-value targets. In agentic systems where automation is constant, key hygiene is not optional.

Another real-world pitfall is assuming encryption alone is enough. Encrypting traffic without mutual authentication only hides messages from outsiders. It does nothing to prevent impersonation by insiders or compromised components. mTLS closes that gap.

Key Takeaways

  • mTLS creates two-way identity verification before any communication happens: an agent cannot impersonate another if both sides must present valid credentials
  • Cryptographic signatures protect message content, not just the channel: they detect any modification by intermediaries or compromised routing components
  • Non-repudiation from signatures makes post-incident attribution certain rather than inferential: agents cannot deny messages they cryptographically signed
  • Cryptography proves identity and integrity, not correctness: authentic bad instructions still need scope and policy checks at the receiving agent
  • Encryption without mutual authentication protects only against external eavesdropping; mTLS is required to prevent impersonation by internal or compromised components

Protocol Pinning

Once agents can authenticate each other and verify message integrity, the next risk moves up a level. Even with secure channels, agents can still be misled if they don't agree on how communication is supposed to work. Protocol pinning is about locking agents into shared expectations so those expectations cannot be quietly changed underneath them.

Language and Rules, Not Just Identity

In human terms, this is like agreeing not just on who you're talking to, but on the language you're speaking and the rules of the conversation. If one side suddenly switches dialects or changes the meaning of signals, confusion follows. In agentic systems, that confusion can translate directly into unsafe action.

What Protocols Define

Protocols define structure. They specify message formats, allowed fields, sequencing, and expected responses. Agents rely on these rules to interpret meaning. If a protocol changes unexpectedly, an agent may still accept messages but interpret them incorrectly, or worse, interpret them in a more permissive way than intended.

The Implicit Approval Problem

A real-world example makes this concrete. Imagine an execution agent that expects a message with an explicit approval field before acting. A newer version of a planning agent sends a message without that field, assuming a different default. The execution agent doesn't reject the message because it still parses. Instead, it assumes approval is implied. No cryptography is broken. The failure lives in protocol mismatch.

Pinning Makes Expectations Explicit

Protocol pinning prevents this by making expectations explicit and fixed. An agent doesn't just say "I can talk to you." It says "I can talk to you using this exact protocol, version, and schema." If the other side doesn't match, communication fails safely instead of degrading silently.

Protecting Against Intermediary Updates

Another real-world scenario involves intermediaries. Messages may pass through brokers, gateways, or orchestration layers that transform or enrich them. If those intermediaries update their behavior, agents downstream may start receiving messages that look similar but behave differently. Without protocol pinning, agents adapt implicitly. With pinning, they refuse to proceed.

Downgrade Attack Prevention

Protocol pinning also protects against downgrade attacks. An attacker may try to force agents to fall back to an older, less strict protocol version that lacks certain safeguards. If agents accept whatever works, they become vulnerable. If they insist on a specific version, downgrade attempts fail.

This concept shows up often in security history. Older encryption protocols, legacy APIs, and permissive defaults have all been exploited because systems try too hard to remain compatible. Agents are even more vulnerable to this instinct because compatibility often looks like success.

Change Without Chaos

Pinning doesn't mean freezing systems forever. It means making change deliberate. When a protocol evolves, agents update explicitly: they know they're switching versions, they can apply new validation rules, adjust assumptions, and log the transition. Nothing happens by accident.

Protocol pinning also improves auditability. When something goes wrong, teams can see exactly which protocol version governed the interaction. Debugging becomes a concrete investigation rather than guesswork about what the agent thought a message meant.

Failing Fast Is Safer

There is a trade-off. Strict pinning can cause failures when systems drift out of sync. But in agentic systems, failing fast is far safer than proceeding under false assumptions. A stopped agent is a visible problem. A confused agent is a hidden one.

Key Takeaways

  • Protocol mismatch causes silent permissiveness: an execution agent that doesn't receive an expected field may infer approval rather than rejecting the message
  • Protocol pinning turns communication into a contract: agents reject interactions that don't match the exact version and schema they were configured for
  • Downgrade attacks force agents to fall back to weaker protocol versions; pinning makes this impossible by refusing to negotiate
  • Intermediary updates are invisible without pinning: gateways or brokers that change their transformation behavior silently change what downstream agents receive
  • Failing fast on protocol mismatch is safer than implicit adaptation: a visible stopped agent is easier to fix than a quietly confused one producing unsafe actions

Secure Discovery Systems

As agent ecosystems grow, agents need a way to find each other. Secure discovery systems are about controlling how agents learn what other agents exist, what they can do, and whether they should be trusted at all. Discovery sounds harmless. But in multi-agent systems, it quietly defines the boundaries of the world an agent believes it operates in.

When Manual Discovery Breaks Down

In simple setups, discovery is manual. Agents are configured with fixed endpoints or known peers. As systems scale, that breaks down. New agents are spun up dynamically, old ones are retired, capabilities change. Discovery becomes automated. And that automation becomes a security surface.

Registries and Their Risks

A very common real-world pattern involves a registry or directory. Agents query it to find available services or peer agents that can help with a task. If that registry is inaccurate, compromised, or overly permissive, agents may discover things they were never meant to see. Discovery becomes an invitation to misuse.

False Presence

One failure mode is false presence. A malicious or misconfigured agent registers itself as capable of performing sensitive actions. Other agents discover it, assume it is legitimate, and begin routing requests to it. No credentials are stolen, no messages are forged. Trust flows simply because the agent appeared in the directory.

Capability Exaggeration

Another risk is capability exaggeration. An agent may accurately identify itself but misrepresent what it can safely do. If discovery metadata is treated as authoritative, agents may delegate tasks based on claims rather than verified permissions. Delegation becomes detached from enforcement.

Discovery as Information Leakage

Discovery systems can also leak information. Simply knowing that a certain agent exists or that a capability is available can reveal sensitive details about internal architecture, business processes, or defensive posture. In some cases, discovery itself becomes reconnaissance.

A real-world example shows this clearly: an internal agent discovers a debug or admin agent that was meant only for testing. Because it exists and appears reachable, it gets used in production. The mistake wasn't in execution. It was in exposure.

Scoped Visibility

Secure discovery systems treat existence as sensitive information. Not every agent should be discoverable by every other agent. Visibility should be scoped by role, environment, and trust level. If an agent doesn't need to know another exists, it shouldn't be able to discover it.

Discovery Provides References, Not Trust

Another important control is verification at discovery time. Discovery should provide references, not trust. When an agent finds another agent, it should still authenticate it, verify its identity, and validate its permissions before interaction. Discovery answers "what might exist," not "what should be trusted."

Minimizing Discovery Metadata

Discovery metadata should also be minimal. The more descriptive it is, the more influence it carries. High-level capability hints are safer than detailed promises. Detailed descriptions belong in controlled, authenticated exchanges, not open directories.

Keeping Discovery Accurate

Change management matters here too. When agents are added, removed, or updated, discovery systems should reflect that accurately and quickly. Stale discovery entries lead to agents talking to things that no longer exist or shouldn't be used. Confusion follows.

Key Takeaways

  • Discovery shapes behavior before any message is sent: if an agent believes a capability exists, it will try to use it, so controlling what is discoverable controls what gets used
  • False presence attacks require no credential theft: appearing in a registry is often sufficient to receive trusted routing from other agents
  • Debug, test, and admin agents exposed through general discovery will eventually be used in production: scoping visibility by environment prevents this
  • Discovery metadata should be minimal: detailed capability descriptions in open directories are reconnaissance data as much as routing data
  • Discovery answers "what might exist" not "what should be trusted": authentication and permission checks must still follow any discovery result

Preventing Side Channel Leakage

Even when agents authenticate properly, follow strict protocols, and communicate over secure channels, information can still leak in ways no one intended. Side-channel leakage happens when agents reveal sensitive information indirectly, through patterns, timing, or behavior, rather than explicit messages.

Behavioral Side Channels in Agentic Systems

In traditional security, side-channels include things like timing attacks or power usage. In agentic systems, side-channels are often behavioral. What an agent does, how fast it responds, how much detail it provides, or which agents it chooses to contact can all reveal information it was never meant to share.

Incident Severity as a Behavioral Signal

A real-world example makes this concrete. Imagine an agent that coordinates incident response. When a low-severity issue occurs, it responds calmly, asks clarifying questions, and proceeds slowly. When a high-severity incident occurs, it escalates immediately, contacts multiple agents, and switches to emergency workflows.

An observer doesn't need access to messages to infer what's happening. The behavior itself leaks severity.

Error Handling Differences

Another common side-channel appears in error handling. An agent interacting with another system may respond differently depending on whether a resource exists, whether credentials are valid, or whether data is sensitive. Even if the response doesn't include explicit details, differences in wording, structure, or latency can reveal internal state.

Coordination Patterns as Signals

Side-channels also emerge through coordination patterns. If an agent only contacts a certain high-privilege agent when sensitive operations are involved, the act of making that contact becomes a signal. Other agents or external observers watching traffic patterns can infer intent without ever seeing content.

Verbosity as Information

In multi-agent systems, verbosity itself can be a leak. An agent that provides detailed explanations in some cases and minimal responses in others may be revealing confidence, uncertainty, or internal policy decisions. Over time, these patterns become predictable and exploitable.

Shared Infrastructure Amplifies the Risk

Shared infrastructure makes this worse. Agents running on the same platform may observe resource usage, execution timing, or retry behavior. Even without direct communication, one agent's behavior can influence another's inference about system state.

Why Traditional Controls Don't Help

What makes side-channel leakage especially dangerous is that it bypasses almost all traditional controls. Messages can be encrypted, identities can be verified, protocols can be pinned. None of that helps if information leaks through behavior that looks perfectly legitimate.

Defenses

Preventing side-channel leakage starts with normalization. Agents should aim to behave consistently across similar classes of actions. Differences that don't need to exist should be removed. If two outcomes can be communicated the same way safely, they should be.

Another important defense is intentional noise. In some cases, adding small, controlled randomness to timing or response patterns can prevent observers from drawing reliable conclusions. This must be done carefully, but when applied correctly, it breaks inference without harming functionality.

Abstraction also helps. Agents should avoid exposing internal decision thresholds directly through behavior. Instead of switching abruptly between modes, systems can use graduated responses that don't reveal exact boundaries. Design reviews should regularly ask: "What could someone infer just by watching this?"

Key Takeaways

  • Side-channel leakage bypasses all cryptographic controls because it occurs through legitimate-looking behavior, not through message content
  • Incident response agents that change behavior dramatically based on severity broadcast exactly that severity to any observer watching traffic patterns
  • Error handling differences (varied wording, latency, detail level) leak internal state to any agent or observer measuring responses
  • Coordination pattern visibility (which agents contact whom under which conditions) reveals sensitive operational logic without any message content
  • Defense requires behavioral normalization across equivalent action classes, intentional timing noise, and graduated response modes that avoid revealing internal thresholds

Secure Multi Agent Design

As we bring this module to a close, everything we've explored points toward a single goal: secure multi-agent design. This is not one control or one protocol. It's the discipline of building systems where coordination remains useful even when trust is imperfect and failure is inevitable.

Accepting the Real Starting Point

In real-world systems, the biggest mistakes don't come from one agent behaving badly. They come from many agents behaving reasonably based on assumptions that no longer hold. Secure multi-agent design accepts this upfront. It assumes that agents will misinterpret messages, operate on partial information, and act under pressure. The architecture is built to absorb those mistakes, not amplify them.

The Two Teams Analogy

A helpful way to think about this is to compare two teams. One team works in a room with no rules. Anyone can shout instructions, override decisions, or jump ahead based on confidence. The other team has clear roles, explicit handoffs, shared definitions, and escalation paths when things feel uncertain. Both teams may have talented individuals, but only one is resilient under stress. Secure multi-agent systems are built like the second team.

Bounded Influence

One core principle is bounded influence. No single agent's message should be able to trigger large-scale action without checks. Plans should require confirmation, execution should require validation, and authority should degrade as messages travel further from their source. This prevents confident mistakes from turning into cascading failures.

Layered Trust

Another principle is layered trust. Agents should never rely on a single signal to decide what to do. Identity, message integrity, protocol version, freshness, context, and policy should all align before high-impact actions are taken. If even one layer raises doubt, the system should slow down gracefully.

Real-world examples show why this matters. In incident response systems, agents often escalate quickly to be helpful. Secure designs ensure that escalation adds oversight, not blind acceleration. More agents involved should mean more scrutiny, not less.

Observability

Observability is also part of secure design. Multi-agent systems should be explainable from the outside. When an action occurs, teams should be able to trace which agents contributed, what messages were exchanged, what assumptions were made, and which safeguards were applied. If you can't explain how a system decided to act, you can't trust it at scale.

Graceful Failure

Another important element is graceful failure. Secure systems expect coordination to break occasionally. When it does, agents should fail safely: pausing, requesting clarification, or falling back to conservative behavior instead of guessing. A paused agent is a visible problem. A confidently wrong agent is a silent one.

Human Boundaries in the System

Human boundaries matter too. Secure multi-agent design doesn't remove people from the loop. It places them at leverage points. Humans approve transitions, review anomalies, and define policies. Agents handle execution and analysis. This division of labor keeps systems fast without making them fragile.

The Philosophical Shift

The deepest shift in secure multi-agent design is philosophical. Instead of asking "can we trust these agents?", the question becomes "what happens when trust is misplaced?" When systems are designed with that question in mind, autonomy stops being scary.

In agentic systems, coordination is power. Secure multi-agent design ensures that power is distributed, constrained, and observable. It allows agents to work together effectively without letting small misunderstandings turn into large-scale failures.

Key Takeaways

  • Secure multi-agent design assumes agents will misinterpret messages and act on stale assumptions: the architecture absorbs these mistakes rather than amplifying them
  • Bounded influence prevents individual confident mistakes from cascading: plans need confirmation, execution needs validation, and authority should degrade with distance from source
  • Layered trust means no single signal authorizes high-impact action: identity, integrity, protocol version, freshness, context, and policy must all align
  • Observability is a security property: if a team cannot trace which agents contributed to a decision and why, they cannot trust or safely operate the system at scale
  • The design question is not "can we trust these agents?" but "what happens when trust is misplaced?": systems built around the second question are resilient by default