Traditional controls fail because LLMs collapse trusted and untrusted text into the same context window, so signatures, protocol checks, and ordinary DLP rules often miss prompt injection, retrieval poisoning, and model-driven abuse. Security has to move from static inspection to context-aware governance of prompts, outputs, tools, and retrieval sources.
Why Traditional AppSec Controls Break on LLM Behavior
Traditional application security assumes inputs are either clean or malicious in a way that can be checked before execution. LLMs do not behave that way. They interpret instructions, retrieved content, user text, and tool output inside one shared context, so the security boundary is no longer just the request payload or the API edge.
That means controls built for static validation, pattern matching, or fixed protocol rules can miss the real failure mode. The dangerous instruction may arrive through a document, a search result, a chat message, or even a tool response, and the model may treat it as actionable context rather than hostile data.
This is why LLM security needs to be treated as a runtime governance problem, not only a web or API hygiene problem. A useful framing is the shift from blocking bad strings to governing what the model is allowed to see, remember, retrieve, and act on, which is exactly the kind of control posture discussed in the OWASP Agentic AI Top 10 and the NIST AI Risk Management Framework.
Which Defences Stop Working First
The first controls to fail are usually the ones that assume the model can cleanly separate trusted application logic from untrusted content. Signatures and WAF rules are weak against prompt injection because the attack is often semantic, not syntactic. The model can be persuaded to follow malicious instructions even when no classic exploit pattern is present.
Ordinary DLP also struggles when the model generates the sensitive text itself or exfiltrates information by summarising, transforming, or selectively revealing it. Retrieval poisoning creates the same problem upstream: the source may look legitimate to the pipeline, but the content can still manipulate the model’s behaviour once retrieved. The practical lesson is that retrieval sources, prompt templates, memory, and tool outputs all become security-relevant surfaces.
That is why appsec checklists that focus only on input validation, authentication, and transport security are incomplete for LLM systems. For testing and control design, the relevant question is whether the model can be misled after it has already accepted apparently valid context. The OWASP ASVS still helps for the surrounding application, but it does not by itself address the model’s blended trust boundary.
What a Correct Control Model Looks Like
The right control model treats prompts, outputs, retrieval, and tools as governed channels with different trust levels. The model should not get unrestricted access to every document, every connector, or every action just because the surrounding app is authenticated. Access needs to be scoped, observable, and bounded by the actual decision being delegated to the model.
In practice, that means separating retrieval permissions from generation permissions, constraining tool invocation, and recording enough context to reconstruct why the model acted as it did. If a system lets the model fetch documents, call APIs, or trigger workflows, then those actions need explicit authorization and reviewable policy, not just a hidden prompt instruction. NHIMG’s Permission-Aware RAG Guide is a useful reference for making retrieval respect user access, while the Enterprise AI Copilot Security Guide shows how over-sharing and connector sprawl become practical exposure points.
Where the system has agent-like behaviour, the control problem expands further. Tool chaining, memory, and delegated action can turn a simple prompt issue into privilege abuse or unintended execution, which is why agent-specific guidance such as the Agentic AI Security Guide matters when the model can actually act on behalf of a user or service.
Risk and Threat Considerations
LLM systems create a larger blast radius than conventional app inputs because the model can convert untrusted text into decisions, actions, or disclosures after the original request has passed. That makes prompt injection, retrieval poisoning, and tool abuse especially dangerous in environments where the model can reach sensitive data or operational systems.
Failure mechanism: The attacker or malicious content reaches a trusted context channel, then changes model behaviour indirectly by shaping what the model believes is instruction, evidence, or required action. Static filters miss this because the harmful content is not always obviously malicious at the point of entry.
Impact: The result can be secret leakage, unsafe actions, policy bypass, or data exposure through generated output, retrieval, or tool calls. In systems with delegated execution, the model can become the path from weak text filtering to real operational compromise.
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 addresses the attack and risk surface, while OWASP ASVS, NIST AI RMF and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP ASVS | V8 — Authorization | LLM apps still need strong authorization around data and actions. |
| Recommendation — Apply V8 to enforce explicit access checks around model-adjacent functions. | ||
| NIST AI RMF | Govern | LLM risk here is about governing context, output, and action. |
| Recommendation — Define governance for prompts, retrieval, tools, and output review. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | LLM-driven tools can be abused through delegated authority and excess privilege. |
| ASI02 — Tool Misuse | The failure mode includes unsafe or unintended tool invocation by the model. | |
| Recommendation — Constrain agent authority and remove unnecessary privileges. Restrict tool access to approved actions and validate each invocation. | ||
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | LLM integrations should only access the minimum data and actions needed. |
| Recommendation — Limit model-connected services to least-privilege access. | ||
Practitioner Guidance
What to prioritise: Put policy around retrieval scope, tool permissions, and output handling before tuning prompt filters. If the model can see or do too much, the control problem is already lost.
What to verify: Confirm that every connector, vector store, and tool endpoint has an explicit trust boundary and an audit trail. If you cannot explain why the model was allowed to see a source or invoke an action, the control is incomplete.
Common mistake: Treating LLM security as a content-moderation problem. The real issue is contextual authority, not just bad text.
Practitioner takeaway: Traditional appsec remains necessary, but it is only the outer shell; the decisive control layer for LLMs is governance over context, retrieval, and delegated action.
Related resources from NHI Mgmt Group
- Why do LLMs complicate traditional application security assumptions in production systems?
- Why do AI applications expand the application security problem beyond traditional controls?
- What happens when cloud workloads are protected only with traditional security controls?
- What is the difference between embedding security into application runtime and relying on traditional build-time or container security controls?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org