TL;DR: Traditional security controls do not map cleanly to LLMs because their inputs, outputs, data sources, and runtime behavior are probabilistic rather than deterministic, according to Orca Security and IBM Institute for Business Value. The governance gap is no longer theoretical: access scope, data exposure, and runtime monitoring all need AI-specific treatment, not legacy application assumptions.
At a glance
What this is: This is Orca Security's analysis of why generative AI breaks legacy IAM assumptions, with the key finding that LLMs need AI-specific controls across access, data, and runtime behavior.
Why it matters: IAM, IGA, and security teams need to treat AI workloads as a distinct governance surface because deterministic identity controls alone do not bound model behavior or data exposure.
By the numbers:
- According to IBM Institute for Business Value’s 2024 research cited by Orca Security, 82% of executives say secure and trustworthy AI is essential to their business, but only 24% of current generative AI projects have a security component built in.
Context
Generative AI security is an identity and governance problem because LLMs do not behave like deterministic applications. They consume dynamic context, call external services, and produce variable outputs, which means legacy IAM assumptions about stable access paths and predictable actions no longer hold.
The practical gap is visible when employees use shadow AI, when training data enters pipelines without review, or when over-permissioned service accounts reach data stores that feed model behaviour. In that environment, access control, data security, and runtime monitoring have to be designed as one control plane rather than separate disciplines.
Key questions
Q: What fails when traditional IAM is used for generative AI security?
A: Traditional IAM fails because it assumes stable identities, predictable actions, and deterministic outcomes. Generative AI can absorb shifting context, vary its outputs, and trigger downstream tools in ways that make static entitlement checks necessary but incomplete. Security teams need controls that govern model runtime behaviour, data inputs, and action boundaries together.
Q: Why do ordinary service accounts become a shadow AI risk?
A: Because AI agents often operate through identities that already have read, call, or act permissions. If those identities were created for another purpose, the agent inherits a valid access path that may never be reviewed as AI-driven. That turns a standard machine account into an untracked control plane for agent behaviour, which is exactly where governance breaks down.
Q: What are the signs that GenAI guardrails are not working as intended?
A: Common warning signs include unsafe outputs reaching users, policy violations slipping through, slow or inconsistent enforcement, and operational friction that pushes teams to bypass controls. If AI systems still create reputational, compliance, or customer trust problems despite guardrails, the protection layer is not aligned to actual production behavior and needs re-tuning.
Q: How should teams balance IAM, DSPM, and runtime monitoring for AI workloads?
A: IAM should constrain who and what can reach AI services, DSPM should restrict what data is allowed into training and retrieval pipelines, and runtime monitoring should detect when model behaviour drifts or starts calling services in unexpected ways. The controls are complementary, not interchangeable.
Technical breakdown
Why probabilistic model behaviour breaks traditional access assumptions
Traditional IAM assumes that permissions can be evaluated against a known resource, a known action, and a known outcome. Generative AI breaks that model because the same prompt can produce different outputs, the same retrieval source can influence multiple responses, and the model can initiate downstream tool use based on context rather than a fixed workflow. That makes static authorization necessary but insufficient. The control problem is no longer just who can log in. It is what the model can reach, what context it can absorb, and what actions it can trigger after inference.
Practical implication: treat model runtime scope as a governed authorization surface, not just the identities that sign into the platform.
How shadow AI and AI data leakage expand the identity attack surface
Shadow AI creates unmanaged identity paths because users can move sensitive data into external services that sit outside enterprise governance. Once that data enters a public model, a training log, or a vendor-controlled context store, the organisation often loses practical control over retention and recall. The article also points to the problem of machine identities such as service accounts and API keys that overreach into AI data pipelines. In other words, the identity risk is both human and non-human: unsanctioned use leaks data, while over-permissioned NHI credentials widen the blast radius.
Practical implication: inventory AI services and the credentials behind them together, because shadow AI and NHI overreach often intersect.
Why prompt injection succeeds when AI tools can act on retrieved context
Prompt injection works because the model treats retrieved text as part of its operating context unless the surrounding controls separate trusted instructions from untrusted content. Indirect injection is especially dangerous in retrieval-augmented generation, where web pages, documents, or tickets become part of the model's decision input. If the model is also allowed to call downstream APIs, malicious instructions can move from text manipulation to unauthorised action. That is an application-layer trust failure, not a conventional perimeter breach.
Practical implication: separate retrieval, instruction, and action paths so untrusted content cannot directly steer downstream execution.
NHI Mgmt Group analysis
Generative AI is an authorisation problem before it is a model problem. Traditional IAM assumes the system being governed has fixed actions and predictable outputs. That assumption fails when an LLM can reinterpret prompts, pull in shifting context, and influence downstream services at runtime. Practitioners should stop treating model access as a simple login event and start treating it as a governed decision surface.
Shadow AI creates identity blind spots that current inventories routinely miss. Employees can move sensitive information into public chatbots or sanctioned-but-untracked AI assistants without the security team seeing a clear control boundary. That is not just a data handling issue. It means the enterprise may be governing the known model estate while the actual AI estate is already larger and less observable.
Over-permissioned service accounts are the bridge between AI experimentation and material exposure. The article's strongest NHI lesson is that AI pipelines inherit the same privilege mistakes seen elsewhere in cloud estates, then amplify them through training data, retrieval stores, and inference endpoints. Identity blast radius for AI workloads: once a single credential can reach multiple data sources, one compromise can affect both model behaviour and data exposure.
Prompt-layer controls need to be treated as policy enforcement, not content moderation. The point is not to make model outputs polite or compliant in a superficial sense. The point is to prevent malicious instructions from crossing the boundary between retrieved content and executable action. Security teams should frame guardrails as an enforcement plane for AI interaction, not as a cosmetic filter.
AI-specific governance will increasingly sit between IAM, DSPM, and runtime monitoring. The article is pointing toward a control stack where access scope, data classification, and behaviour telemetry are managed together. That direction validates a broader identity trend: the closer AI gets to acting on enterprise data, the more governance has to move from static entitlement review to continuous runtime supervision.
From our research library:
- Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems. Organisations failing to scope AI access properly are 4.5x more likely to experience a security incident, according to the 2026 Infrastructure Identity Survey.
- Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs.
- Read next: Zero Trust for AI Agents
What this signals
Identity blast radius for AI workloads: governance teams should assume that one over-permissioned service account can reach far more model-adjacent data than a conventional application account. That changes the risk unit from a single model to the full training, retrieval, and inference chain.
The practical programme shift is toward continuous discovery of AI services and the credentials that support them, because shadow AI and sanctioned AI often coexist in the same cloud estate. Security teams that separate model review from credential review will miss the interaction that creates the real exposure.
AI-specific controls are now the hinge between identity governance and model governance. Access scope, data classification, and runtime telemetry have to be evaluated as one system if organisations want meaningful control over generative AI use.
For practitioners
- Audit AI workloads and their service identities Inventory training jobs, inference endpoints, vector databases, API keys, and service accounts together so you can see which credentials can reach which model-adjacent data stores.
- Restrict model-to-service communication Apply least privilege and explicit policy authorization so training environments, retrieval services, and inference endpoints cannot move laterally without approval.
- Classify and sanitize training inputs before ingestion Scan data lakes, vector stores, and fine-tuning datasets for sensitive material before training begins, then mask or quarantine what should not shape model behaviour.
- Put prompt-layer guardrails in front of execution paths Filter prompts and outputs for injection patterns, secret leakage, and policy violations before the model can act on untrusted context or return unsafe content.
- Monitor runtime drift continuously Baseline token patterns, response distributions, and API call frequency so behavioural drift becomes a detection signal rather than a forensic surprise.
Key takeaways
- Generative AI breaks the assumption that identity and access can be governed through static permissions alone, because model behaviour is probabilistic and context-sensitive.
- The article links the risk to unmanaged AI use, over-permissioned machine identities, and data flows that feed training or retrieval without sufficient review.
- Teams need coordinated controls across IAM, DSPM, guardrails, and runtime monitoring if they want to reduce exposure without slowing AI adoption.
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 ATT&CK address the attack and risk surface, while NIST CSF 2.0 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 AI systems acting through overbroad identity and privilege boundaries. |
| Recommendation — Constrain agent identities and privileges so model-driven actions cannot exceed approved scope. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | AI workloads in the article rely on service accounts, API keys, and machine identities. |
| NHI-05 — Overprivileged NHI | The article explicitly warns that over-permissioned service accounts widen AI blast radius. | |
| NHI-06 — Insecure Cloud Deployment Configurations | AI workloads span cloud data stores, inference endpoints, and retrieval services in the article. | |
| Recommendation — Authenticate AI workloads with tightly scoped non-human identities and revoke unused credentials. Review AI pipeline permissions and remove excess entitlements from service accounts and API keys. Harden cloud AI deployments so training, retrieval, and inference paths cannot communicate freely. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article is fundamentally about controlling who and what can reach AI resources and data. |
| Recommendation — Map AI workload entitlements and enforce least-privilege authorizations across the model stack. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | The article describes credential misuse and movement across AI-connected services. |
| Recommendation — Map AI compromise paths to credential access and lateral movement to prioritise detections. | ||
Key terms
- Shadow AI: AI agents, copilots, or connected tools operating without full visibility or governance from security teams. Shadow AI becomes an identity problem when those systems authenticate with unmanaged tokens, service accounts, or OAuth apps that can reach production resources.
- AI Security Posture Management: A governance approach for discovering and tracking AI assets such as models, agents, datasets, vector stores, and related infrastructure. It becomes useful only when inventory is connected to runtime exposure and the identity that can actually reach the data.
- 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.
- Model Inversion: Model inversion is an attack technique that tries to recover sensitive information from a model by querying it in a targeted way. The risk matters because information hidden in training data, prompts, or internal behaviour can sometimes be inferred from outputs rather than directly accessed.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 20, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org