TL;DR: AI agents introduce prompt injection, model inversion, and memory poisoning risks that traditional security tools cannot reliably detect, according to Obsidian Security. As enterprise deployments expand, security teams need identity-aware testing, continuous monitoring, and MLOps-integrated governance before agent behaviour outpaces control coverage.
At a glance
What this is: AI agent security frameworks are needed because autonomous agents create attack paths, governance gaps, and monitoring requirements that conventional security tooling does not cover well.
Why it matters: IAM, security architecture, and GRC teams need a way to govern agent identity, access scope, and runtime behaviour before AI systems outpace existing controls.
Context
AI agents change the governance problem because they do more than generate text or automate a task. They act with delegated access, interact with multiple systems, and can change behaviour based on context, which means the real risk sits in identity, privilege, and control drift rather than in the model alone.
Traditional security control sets were built for software with stable logic and predictable access paths. AI agents sit between application logic, workflow automation, and human delegation, so the security model has to cover authorization, behavioural monitoring, and lifecycle governance at the same time.
Key questions
Q: How should security teams govern AI agents that can access enterprise systems?
A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped privileges, and continuous monitoring. The control set should include inventory, task-bound credentials, audit trails, and revocation paths. If an agent can call tools or touch production systems, it belongs in the same governance model as service accounts and other machine identities.
Q: Why do AI agents create more risk than traditional automation?
A: AI agents create more risk because they can interpret context, choose actions, and invoke tools autonomously. Traditional automation follows fixed rules, but an agent can be manipulated into using its own authority in unintended ways. That makes permission scope, tool boundaries, and monitoring more important than model accuracy alone.
Q: What are the signs that AI agent security controls are too weak?
A: Common warning signs include agents accessing systems or data outside their intended scope, sharing sensitive information inappropriately, and using credentials or tools without clear justification. Another indicator is inconsistent visibility into what the agent touched, especially when security, compliance, and legal teams do not share the same view of agent activity and data access.
Q: Should organisations prioritise agent security frameworks before scaling AI deployments?
A: Yes. Frameworks should come before scale when agents are being given production access, because the main failure mode is over-permissioned behaviour that becomes hard to unwind later. If governance is added after broad rollout, teams inherit a large review problem, unclear ownership, and inconsistent control coverage across tools and workflows.
Technical breakdown
Why prompt injection breaks normal application security assumptions
Prompt injection works by shaping the inputs an agent treats as instructions, not just data. In agentic systems, the boundary between user content, retrieved context, and operational instruction can blur, especially when an agent can call tools or act across multiple systems. That makes the attack much closer to policy subversion than classic input abuse. Conventional scanners and WAF-style controls do not understand semantic instruction flow, so they miss the real decision point: what the agent is allowed to treat as authoritative.
Practical implication: test whether agent prompts, retrieved content, and tool instructions are separated and enforced as distinct trust zones.
How model inversion and memory poisoning turn outputs into risk
Model inversion is the extraction of sensitive training or contextual data from model behaviour, while memory poisoning corrupts the agent’s retained state so later decisions are influenced by attacker-controlled content. In an enterprise setting, these issues matter because agents increasingly retain short-term context, use vector stores, and reuse prior interactions to improve task performance. That creates a persistence layer that attackers can target even when the base model remains unchanged. Security has to assume the memory path is part of the attack surface, not just the model endpoint.
Practical implication: govern memory stores, retrieval layers, and retention policies with the same scrutiny applied to production data stores.
Why identity and access control become the control plane for AI agents
Agentic security is ultimately an authorization problem because most serious failures involve an agent doing something it was not intended to do with valid access. When an agent can authenticate to SaaS tools, internal APIs, or data platforms, the blast radius depends on the scope of those entitlements. This is where IAM and NHI governance intersect with AI security: the agent is a non-human identity with delegated authority, and that authority must be measurable, scoped, and revocable.
Practical implication: treat every production agent as an NHI and map its privileges, tokens, and tool permissions before deployment.
Threat narrative
Attacker objective: The attacker’s objective is to hijack agent behaviour or delegated access so the agent exposes data, performs unauthorised actions, or corrupts downstream business processes.
- Entry begins when an attacker supplies malicious prompts, poisoned context, or manipulated retrieval content that the agent treats as trusted instruction.
- Credential access or privilege abuse follows when the agent uses its delegated tokens, API access, or tool permissions to perform actions on the attacker’s behalf.
- Impact occurs when the agent leaks data, alters decisions, or executes unintended workflows across connected systems at enterprise scale.
Breaches seen in the wild
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
- Langflow Flodrix botnet 2025: Attackers used Langflow's unauthenticated code endpoint to dump AI servers' environment variables and enlist them in the Flodrix botnet.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
AI agent governance is now an identity problem before it is a model problem. The article is right to frame frameworks as a governance requirement, because most practical failures arise when an agent receives broad delegated access without a clear authorization boundary. Once an agent can act across SaaS, APIs, and internal data, the security question shifts from model quality to control of non-human identity. Practitioners should treat the agent as an governed identity with lifecycle, scope, and revocation requirements.
Security teams need a named control concept for this risk: agentic privilege expansion. That is the tendency for an AI agent to accumulate broad access through workflow convenience, integration sprawl, and permissive tool grants. The expansion is often invisible because it happens gradually and looks like normal productivity enablement. The practitioner lesson is to govern privilege at issuance time, not after behaviour drift has already created exposure.
Conventional cyber tooling is insufficient because it checks the wrong layer. The article correctly distinguishes AI-specific testing from generic vulnerability scanning, and that distinction matters for governance. Scanners can find exposed services, but they do not determine whether an agent can be manipulated into unsafe reasoning or tool use. Practitioners need testing that covers instruction boundaries, retrieval integrity, and delegated access paths, then maps findings back to policy.
Frameworks matter here because they create a shared control language across AI, IAM, and GRC teams. The article’s references to NIST AI RMF, OWASP agentic guidance, and MITRE ATLAS are directionally sound because organisations need a common way to classify agent threats and assign accountability. The governance gap is not a lack of tools alone. It is the absence of a repeatable way to prove which agent can do what, under which conditions, and with what oversight.
From our research library:
- Gartner predicts that more than 50% of successful cyberattacks against AI agents through 2029 will exploit access control weaknesses.
- Read next: AI Agent Identity Security Buyer's Guide
What this signals
Agentic privilege expansion: once an AI agent can authenticate to multiple systems, the main control problem becomes the scope of the delegated authority rather than the quality of the model itself. Teams should expect review, approval, and offboarding processes to fail if they are built for human users instead of non-human identities.
The article is directionally aligned with the view that agent security has to be governed at issuance time, not only observed at runtime. That means access boundaries, retrieval trust, and tool permissions need to be defined before deployment, then continuously revalidated as workflows change. The organisations that do this well will treat agent behaviour as a governed identity lifecycle, not a one-time security test. Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems.
Identity and AI security are converging because the agent is now both a workload and a decision-maker. That combination makes NHI governance, behavioural monitoring, and incident response part of the same control conversation. Practitioners should prepare for agent inventory, access scoping, and audit evidence to become board-level questions rather than engineering details.
For practitioners
- Define each production agent as a governed NHI Inventory every agent, service account, token, and API credential it uses, then assign an owner, purpose, and revocation path before release.
- Separate instructions from untrusted content Design prompts, retrieval layers, and tool calls so the agent cannot treat user-supplied or retrieved text as policy authority.
- Scope delegated access to the minimum task boundary Limit each agent to the smallest feasible data sets, tools, and write actions, and remove persistent standing access wherever possible.
- Test for AI-specific abuse paths continuously Run adversarial tests for prompt injection, memory poisoning, and data extraction in CI/CD and MLOps pipelines before promotion to production.
- Monitor agent behaviour as a control, not a log source Track anomalous tool use, unexpected retrieval patterns, and abnormal data access as signals that the agent’s intended boundary has been crossed.
Key takeaways
- AI agents introduce new security and governance problems because they can act dynamically across systems while holding delegated access.
- The most serious failures are not just model issues but authorization issues, especially when an agent’s privileges exceed its task boundary.
- A workable control strategy combines NHI-style lifecycle governance, adversarial testing, and continuous monitoring of behaviour and access.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, OWASP Non-Human Identity Top 10 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article centres on agents gaining or misusing delegated access across enterprise systems. |
| ASI06 — Memory & Context Poisoning | Prompt injection and memory poisoning are direct threats discussed in the article. | |
| Recommendation — Map agent permissions to ASI03 and limit every production agent to the minimum delegated privilege it needs. Test memory stores and context layers for poisoning paths before allowing agent deployment. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | AI agents acting with broad delegated access are a non-human identity overprivilege problem. |
| Recommendation — Classify production agents as NHIs and remove standing privileges that exceed task scope. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | The article argues that AI agent security requires governance, accountability, and control ownership. |
| Recommendation — Establish accountable ownership for each agent and enforce governance gates before production use. | ||
| MITRE ATLAS | TA0006;TA0010 — Credential Access; Exfiltration | The article discusses attacks that use agent compromise to access data and leak it through outputs. |
| Recommendation — Map agent abuse scenarios to credential access and exfiltration tactics to improve detection and testing. | ||
Key terms
- Agentic AI Security Framework: An Agentic AI Security Framework is a set of controls for securing AI systems that can plan, decide, and act with limited human input. It defines identity, authorization, monitoring, and containment requirements for agents, their tools, and their data access, so autonomous actions remain traceable, bounded, and governable.
- Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
- Memory Poisoning (ASI06): An attack where malicious content is injected into an AI agent's memory or context, causing it to alter its behaviour in subsequent tasks, potentially exfiltrating secrets, escalating privileges, or acting against its intended purpose.
- Non-Human Identity (NHI): A digital identity assigned to a non-human entity such as a software application, service account, API key, bot, machine, or AI agent that enables it to authenticate and interact with systems without direct human involvement. NHIs now outnumber human identities in most enterprises by 25 to 50 times.
Deepen your knowledge
The NHI Foundation Level course covers NHI governance, machine identity security, and agentic AI identity as part of the industry's only accredited NHI security programme. It helps security practitioners align identity controls with modern AI and automation risk.
Published by the NHIMG editorial team on August 15, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org