TL;DR: Prompt injection has become a top-tier LLM risk because models cannot reliably separate trusted instructions from untrusted text, and attacks now span direct, indirect, multimodal, and agentic tool abuse, according to WorkOS and the OWASP Top 10 for LLM Applications. The deeper issue is not just filtering malicious prompts, but governing systems that treat language itself as executable context.
Editorial analysis by NHI Mgmt Group, based on content published by WorkOS: “Prompt injection attacks: What are they and how to defend against them”.
By the numbers:
- Prompt injection has been ranked the number one vulnerability on the OWASP Top 10 for LLM Applications since 2025.
- Research cited in the article says as few as five strategically poisoned documents in a RAG knowledge base can manipulate AI responses 90% of the time.
- The article says joint research from OpenAI, Anthropic, and Google DeepMind found sophisticated attackers can bypass published defenses with over 90% success rates when given enough attempts.
Key questions
Q: What breaks when prompt injection controls are not tested against instruction hierarchy failures?
A: When instruction hierarchy is not tested, a model may follow user content over system or developer instructions, especially if malicious instructions are embedded in inputs or retrieved data.
Q: Why do prompt injections become more dangerous when LLMs can use tools?
A: Tool access turns a bad output into an operational action.
Q: How do teams know whether prompt injection controls are actually working?
A: Look for end-to-end visibility across prompts, retrieved content, memory, tool calls, and outputs, plus evidence that blocked actions stay blocked under realistic test cases.
Practitioner guidance
- Treat external content as untrusted input Classify user messages, retrieved documents, emails, and tool outputs as data, never as instructions.
- Constrain delegated model privileges Issue narrowly scoped, short-lived credentials to any LLM or agent that can call tools or act on behalf of a user.
- Add deterministic tool guardrails Enforce hard allowlists and parameter validation in application code so the model cannot choose unsafe calls on its own.
Bottom line: Prompt injection is an architectural trust failure in LLM systems, not just a content moderation problem, because the model cannot reliably separate instructions from untrusted text.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Prompt injection is a delegated access problem, not a prompt-quality problem. The article's central point is that LLMs process mixed-trust text as one context, which means instruction boundaries are not enforced in the way security teams expect. Once tools and data access are attached, the attack becomes a governance failure over delegated execution, not just a content-safety issue. Practitioners should treat LLMs as privilege-bearing systems and not as neutral text processors.
A few things that frame the scale:
- 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.
A question worth separating out:
Q: What should security teams do first when indirect prompt injection is a concern?
A: Start by mapping the full agent trace, not just the prompt. Identify every place untrusted text can enter the reasoning path, then restrict the tools and data sources reachable from that path. If you only scan user input, you will miss the channels that matter most in production agent workflows.
👉 Read our full editorial: Prompt injection exposes the trust model behind LLM applications