What is agentic AI security?
Agentic AI security is the security field protecting the identity, permissions, tool calls, data access and behaviour of AI agents that use tools and act on real systems.
Unlike general AI security, which focuses on model and data attacks, it addresses risks from the model's ability to act: permission abuse, poisoned tools, agents steered by prompt injection, trust between agents and irreversible actions.
- Topic
- AI security
- Also known as
- AI agent security, agent security
How agentic AI security works
- Each agent gets its own identity and only the narrowest permissions its task needs, never inheriting all of a user's rights.
- Tools are limited to an approved list, parameters validated before running and outside content treated as data rather than instructions.
- Risky actions such as payments, deletions or outbound messages require human approval, with step, time and cost limits in place.
- The agent's trajectory and every tool call go to an audit log; unusual behaviour is monitored and the agent can be stopped.
In more detail
Further threats: memory, supply chain and cascading failure
Beyond prompt injection and privilege abuse, agentic security covers persistent memory poisoning (corrupting RAG or long-term memory so future sessions behave maliciously), insecure inter-agent communication and spoofing, supply-chain tampering in external MCP servers or tools and cascading failures across multi-agent loops.
Isolation by design: dual-LLM and the CaMeL approach
Because prompt-level defences alone cannot reliably separate instructions from untrusted data, robust architectures enforce structural control- and data-flow isolation, such as dual-LLM or capability-based designs (e.g., CaMeL). A quarantined reader model processes untrusted documents into typed, constrained values while a privileged planner decides tool actions without ever reading raw untrusted text.
Limiting blast radius: circuit breakers, egress control and quotas
Containing blast radius requires runtime circuit breakers and strict network egress controls around tool sandboxes. Per-run ceilings on record reads, outbound requests, financial value and retry bursts automatically trip a kill switch before a hijacked or runaway agent can exfiltrate data or exhaust infrastructure.
Approval fatigue and binding approvals to actions
Human-in-the-loop (HITL) controls fail if users face constant prompts and fall into approval fatigue (OWASP ASI09). Effective deployments reserve explicit confirmation for high-impact or irreversible actions, display exact parameter diffs and affected records and bind approvals to short-lived cryptographic action hashes so the agent cannot alter arguments after sign-off.
Commonly confused terms
| Term | How it differs |
|---|---|
| AI security | General AI/LLM security focuses on model- and data-level threats such as training data poisoning, model extraction, jailbreaks and toxic outputs; agentic AI security addresses execution-layer risks arising from identity delegation, tool access, persistent memory, inter-agent trust and real-world side effects. |
| Traditional application security | Traditional application security (AppSec) protects deterministic code paths and explicit APIs against known flaw classes like SQLi or CSRF; agentic AI security must additionally defend non-deterministic natural-language control planes where untrusted data can alter control flow via indirect prompt injection. |
| AI safety | AI safety and alignment govern whether a model's values and outputs avoid harmful or undesirable behaviour; agentic AI security focuses on adversarial threats, authorisation boundaries, sandboxing and containment assuming an agent may be actively tricked or compromised. |
Why agentic AI security matters for on-premises AI
A compromised or misled agent does not just produce wrong text; it acts with the permissions it holds. In-house agent projects therefore decide from the start which systems the agent may reach, which actions need approval and how it is stopped in an incident. Air-gapped setups reduce exfiltration paths but do not replace limiting an agent's rights on internal systems. Red teaming tests agent behaviour regularly.
A bank's operations agent can read customer records but only create draft transactions; approval rights stay with staff, every tool call is logged and the agent stops automatically on an unusual number of record reads.
Common questions
How does agentic security differ from general AI security?
General AI security addresses attacks at model and data level. Agentic security focuses on permission, tool and action risks arising from a model acting through tools.
Should an agent get the user's permissions?
Usually not. An agent should carry only what its task needs rather than all of a user's rights, limiting the damage if it is misled.
Related terms
- AI security
- Agent privilege abuse
- Tool poisoning
- AI agent
- AI agent governance
- Indirect prompt injection
- Human-in-the-loop
- AI audit log
Sources
- OWASP, Agentic AI: Threats and Mitigations
- NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations
- Greshake et al., Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection, 2023
In the glossary: Glossary, A to D