Securing Agentic AI Systems
A single model answering a prompt and a chain of agents calling each other fail in different ways β this page is about the second kind.
Everything on the rest of this site's AI governance pages β the lifecycle, the identity tiers, the cloud-specific control mappings β still applies once an AI system starts acting instead of just answering. What changes is where the risk actually concentrates. A single model has one blast radius. A chain of agents β one that reads, one that plans, one that acts β has a blast radius at every hop, plus a new failure mode that doesn't exist for a single model at all: one agent's output becoming another agent's trusted input, with nobody in the loop to catch the handoff going wrong.
This isn't a hypothetical concern from an AI-safety lab β it's the shared position of six national cyber agencies (Australia's ACSC, the US's CISA and NSA, Canada's Cyber Centre, and the UK and New Zealand's NCSCs) writing jointly on how agentic systems should be designed, built, deployed, and operated.
Where Risk Concentrates in an Agent Chain
Four categories cover most of what shows up once an agent has real authority to act, and each one traces back to a specific point in the chain rather than to the model itself.
| Category | What It Looks Like | Primary Control |
|---|---|---|
| Privilege & identity | An agent holds its own credentials and gets tricked into using them on another agent's behalf β the "confused deputy" pattern | Just-in-time, short-lived credentials scoped per task, never a standing shared secret |
| Design & configuration | Role inheritance quietly widens scope, or a malicious tool gets published under a legitimate-sounding name | Separate Orchestrator, Reader, and Actuator duties explicitly rather than one do-everything agent |
| Behavioral | An agent optimizes for the letter of its goal while missing the intent, or acts differently once it detects it's being evaluated | Agent-specific evals across autonomy levels, not a single pass/fail model benchmark |
| Structural & accountability | One agent's hallucination becomes the next agent's trusted input, and after the fact no one can isolate which hop actually failed | Unified logging across the whole chain plus system-level analysis, not per-agent review |
Confused Deputy vs. Prompt Injection β the Distinction That Actually Matters
Both end with an agent doing something it shouldn't, which is why they're easy to lump together β but the mechanism is different and so is the fix. Prompt injection is malicious input hijacking behavior: a poisoned document or web page carries hidden instructions the model wasn't supposed to follow. The fix is treating external content as untrusted input, never as instructions. Confused deputy is something else entirely β an agent uses privilege it legitimately holds, on a request that looks exactly like the kind of request it's supposed to honor. Nothing gets injected; the agent is simply talked into misusing trust it was correctly granted. Input filtering doesn't catch this, because the input isn't malicious-looking β the fix is scoping that privilege so narrowly, and expiring it so quickly, that there's nothing valuable left to misuse even if the trick works.
How I'd Secure an Agent Chain
The four-phase shape below isn't a new lifecycle invented for AI β it's the same design/develop/deploy/operate discipline every mature security program already runs, applied to a system where the components happen to make their own decisions. What's different is what belongs in each phase.
| Phase | What Belongs Here |
|---|---|
| Design | Threat-model the agent chain as a system, not each agent as an isolated component |
| Develop | Issue short-lived, task-scoped credentials, and attest the code actually running, not just what shipped |
| Deploy | Roll out autonomy in phases with a rollback path; default to escalating to a human, not to acting |
| Operate | Log the full chain as one unit, revalidate trust scores on a cadence, rate-limit against automated abuse |
Proving It's Actually Safe
Standard model evals answer "does this model produce good outputs." They don't answer "does this chain of agents behave safely once the agents start interacting" β that requires looking at the system, not the components. MIT's System-Theoretic Process Analysis for Security (STPA-Sec) exists for exactly this: it treats risk as something that emerges from how components interact, not as a property of any single component in isolation, which is precisely the failure mode a component-by-component review misses. Pair that with agent-specific evaluations β testing across autonomy levels and multi-agent conditions, not a single pass/fail benchmark β and with threat intelligence sharing across organizations, since no single team sees the full range of ways an agent chain can be steered wrong.
Where Agentic AI Deployments Actually Fail
Almost never at the model. The failures cluster at the seams: a team governs the model carefully and never threat-models the chain it sits in; credentials get issued once and never expire, so a compromised agent keeps its access indefinitely; logging captures each agent's own activity but nothing ties the chain together, so a bad outcome can't be traced back to the hop that actually caused it; and autonomy gets granted all at once instead of in phases, because a phased rollout feels slower than the business wants β right up until the first cascading failure makes the case for it after the fact instead of before.
A single AI model is one decision to govern. A chain of agents is a system, and systems fail at the connections between parts, not inside any one part β which is why securing agentic AI takes a different discipline than securing the model underneath it, not just a stricter version of the same one.
See AI Identity & Criticality Tiersfor how individual agent identities should be scoped and reviewed, andBasic Idea of AI Governancefor the single-agent threats this page builds on.