TL;DR: LLM security risks are escalating as enterprises move generic models into production, with one 2025 survey showing over 70% have already integrated generative AI into internal workflows or customer-facing services, according to AccuKnox. The control problem is no longer model quality alone; runtime policy, access scope, and monitoring now determine whether AI systems stay within safe and compliant boundaries.
At a glance
What this is: AccuKnox argues that generic LLMs in enterprise production settings create misuse risk through hallucinations, prompt injection, data poisoning, and weak runtime controls.
Why it matters: For IAM, NHI, and AI security teams, the key issue is that access scope, policy enforcement, and monitoring now matter as much as model quality when AI systems can touch sensitive data and workflows.
Context
Large language models are being placed into customer-facing and internal workflows before most organisations have defined the control boundary around them. The security problem is not just model accuracy, but whether the system can be constrained, monitored, and audited when it interacts with real data, real users, and real business processes.
This becomes an identity and governance issue when AI services are granted access to documents, source code, or downstream tools. Once an AI workload can act on behalf of a business process, teams have to decide what it may access, what it may never do, and how those decisions are enforced at runtime rather than only at design time.
Key questions
Q: What breaks when LLM policy is not enforced at runtime?
A: Written policy cannot stop a model from exposing sensitive data, following injected instructions, or triggering unauthorised actions if there is no runtime control layer. The failure is operational, not documentary. Organisations need controls that inspect prompts, outputs, and tool calls as they happen, because compliance language alone does not constrain live AI behaviour.
Q: Why does prompt injection create risk in connected AI workflows?
A: Because connected workflows bring external data into the model’s decision surface. If retrieved documents, API responses, or knowledge base entries contain malicious instructions, the model may treat them as valid guidance. That makes the risk operational, not just conversational, especially when the system can access data or trigger actions.
Q: What do security teams get wrong about LLM-as-C2?
A: The common mistake is treating it as a novelty instead of an execution design pattern. LLM-as-C2 moves some decision-making outside the local payload, which means the important control questions shift to outbound connectivity, timing, and trust in external services. Detection must therefore cover the payload and the communication path together.
Q: How should organisations govern access to data used by AI systems?
A: Treat AI data access as an identity governance problem, not just a data storage problem. Define who or what can use each dataset, what purpose is allowed, and what runtime restrictions apply. Then review humans, service accounts, and AI agents separately so entitlement scope matches actual behaviour rather than a generic AI policy.
Technical breakdown
Why prompt injection breaks the data and command boundary
Prompt injection works because an LLM processes all input as text and does not inherently distinguish instructions from content. An attacker can embed malicious prompts in user input, retrieved documents, or connected data sources to steer the model toward unauthorized actions or unsafe disclosures. In enterprise environments, that becomes a control problem, not just a content problem, because the model may sit inside workflows that trust its output. The security failure is the absence of a hard boundary between what the model should read and what it should obey.
Practical implication: Treat every prompt source as untrusted and constrain what the model can influence at execution time.
How runtime policy limits the blast radius of AI workloads
Runtime policy is the layer that decides what an AI workload may access, generate, or trigger after deployment. That matters because pre-deployment testing cannot cover every prompt, retrieval path, or downstream integration. In practice, policy enforcement should narrow data domains, block disallowed actions, and apply approval or escalation thresholds before sensitive operations occur. For AI services connected to enterprise systems, this is the point where zero-trust thinking becomes operational, because trust is verified per request rather than assumed once the model is approved.
Practical implication: Move enforcement into the runtime path so policy can stop unsafe AI behavior before it reaches business systems.
Why hallucinations and poisoning are governance failures, not just model defects
Hallucination is the model producing a plausible but incorrect answer. Data poisoning is the contamination of fine-tuning or retrieval data so the model learns or retrieves distorted behavior. Both become governance failures when organisations deploy LLMs into regulated or high-impact processes without defining acceptable use, review steps, and auditability. The issue is not whether the model can make mistakes. It is whether the organisation has designed controls that prevent a mistake from becoming a customer-facing, financial, or compliance event.
Practical implication: Tie model use to review, logging, and approval controls when outputs can affect regulated decisions.
Threat narrative
Attacker objective: The objective is to make the enterprise AI workload disclose, mishandle, or act on information outside its intended policy boundary.
- Entry occurs when an attacker manipulates prompts, retrieved content, or embedded instructions that the LLM treats as ordinary input.
- Credential or data exposure follows when the model has access to internal documents, source code, or connected services and can be steered into revealing or misusing that access.
- Impact appears as unsafe output, policy violation, compliance breach, or downstream misuse of enterprise systems that trusted the model response.
Breaches seen in the wild
- McKinsey AI platform breach: McKinsey AI platform hack exposed 46M chats and sensitive data.
- Moltbook AI agent keys breach: Moltbook breach exposed 1.5M AI agent keys.
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
Runtime policy is the real security control for enterprise LLMs. The article makes clear that model capability alone does not determine safety. What matters is whether the AI workload is constrained at the point of use, where data, prompts, and downstream actions intersect. For identity and access teams, that means policy must govern the model’s operating envelope, not just the surrounding platform. The practitioner conclusion is to treat runtime authorization as the control plane for AI behaviour.
Prompt injection exposes a trust-boundary problem, not just a content-filtering problem. LLMs collapse instruction and data into the same parsing layer, which makes them unusually vulnerable to adversarial input. That is why input screening alone is insufficient when the model can call tools, retrieve documents, or influence enterprise workflows. In governance terms, the control failure is over-trusting model interpretation. The practitioner conclusion is to bind model actions to explicit authorisation conditions.
AI workload security now intersects directly with NHI governance. When an LLM service account, API token, or orchestration layer can access data and tools, it behaves like any other non-human identity and must be governed as one. That means lifecycle control, least privilege, and revocation discipline matter even when the actor is probabilistic rather than deterministic. The practitioner conclusion is to inventory AI services as identities, not just applications.
AI governance debt: organisations are accumulating risk when they deploy generic models first and define the control model later. The article’s examples show that hallucination, poisoning, and compliance drift are all predictable once models are allowed into production without bounded scope. That debt becomes visible when customer trust, regulatory exposure, or operational accuracy starts to fail. The practitioner conclusion is to close the governance gap before AI becomes embedded in critical processes.
Zero trust for AI is becoming a design requirement, not a policy slogan. The strongest takeaway is that trust must be evaluated continuously across prompts, data sources, and actions. That aligns with broader identity governance principles, especially where machine identities can reach sensitive systems. The practitioner conclusion is to design for verification at every AI decision point.
From our research library:
- AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026.
- 90% of IT leaders say properly managing NHIs is essential for a successful zero-trust implementation, according to the Ultimate Guide to NHIs.
- Read next: Zero Trust for AI Agents
What this signals
AI security teams should now treat LLM runtime policy as the primary control boundary. The article shows that the point of failure is not the model architecture alone, but the moment an output becomes an action, a data access, or a business decision. That means policy, logging, and containment have to sit inside the execution path rather than around the project.
Zero-trust discipline is increasingly relevant to AI workloads because the model, its tools, and its data sources all need separate verification. Ninety percent of IT leaders say properly managing NHIs is essential to a successful zero-trust implementation, according to the Ultimate Guide to NHIs. For practitioners, the lesson is that AI systems are not exceptions to identity governance, they are one of its newest pressure points.
For practitioners
- Define AI workload permissions explicitly Map each model, agent, or supporting service account to the specific data sources, tools, and actions it is allowed to use. Remove broad access that is convenient but not essential.
- Enforce runtime policy before outputs are consumed Block or transform unsafe outputs before they are passed to users or downstream systems, and require escalation for high-risk actions such as record changes or external communications.
- Treat prompts and retrieved content as untrusted input Apply filtering, validation, and provenance checks to user prompts, retrieved documents, and external connectors so hidden instructions cannot steer model behavior.
- Log model actions and access paths for auditability Capture prompts, tool calls, accessed resources, and policy decisions so security teams can investigate unexpected behavior and prove control operation.
- Separate high-impact AI use cases from advisory use cases Keep customer-facing, financial, and compliance workflows under stricter approval and monitoring than low-risk summarisation or drafting tasks.
Key takeaways
- Generic LLMs create operational risk when they are allowed into enterprise workflows without runtime controls, because hallucination and prompt injection can turn model output into unsafe action.
- The core governance issue is not whether an AI model is intelligent enough, but whether its data access, tool use, and outputs are constrained at the point of execution.
- Enterprises should govern AI services as non-human identities, with least privilege, continuous logging, and clear approval paths for high-impact actions.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
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 Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | AI workloads rely on machine authentication and tool access that can be abused through prompt-driven misuse. |
| NHI-05 — Overprivileged NHI | The article centres on excessive access granted to AI services and supporting accounts. | |
| NHI-02 — Secret Leakage | Prompt injection and data poisoning become worse when AI systems can expose internal secrets or data. | |
| Recommendation — Apply NHI-04 controls to verify AI workload authentication and block unauthorized tool use. Limit AI service accounts to the minimum permissions needed under NHI-05. Scan AI workflows for secret exposure and revoke leaked credentials under NHI-02. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article repeatedly frames AI risk as an authorization and access-scope problem. |
| Recommendation — Use PR.AA-05 to enforce narrow permissions for models, agents, and AI service accounts. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | Prompt injection and unsafe integrations can lead to credential exposure and data exfiltration. |
| Recommendation — Map AI misuse paths to TA0006 and TA0010 to prioritise detection for credential and data theft. | ||
Key terms
- 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.
- Runtime Policies: Runtime policies are enforcement rules that control what a workload is allowed to do while it is running. They can be used to block dangerous actions, contain suspicious behavior, or automate response based on security requirements. In container environments, they turn detection into immediate control.
- Hallucination: An AI-generated response that is fluent and plausible but incorrect, unsupported, or fabricated. For identity and governance teams, hallucination is a control issue because users may act on it as if it were trusted system output, especially when the chatbot sits inside an operational workflow.
- Data Poisoning: The deliberate or accidental contamination of a data source that influences system behaviour. In AI environments, poisoned content can alter retrieval results, generated answers, or downstream decisions, which makes write access, change monitoring, and source integrity part of the identity control problem.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity controls to the wider security architecture their AI and automation programmes depend on.
Published by the NHIMG editorial team on August 21, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org