What Is the OWASP Top 10 for LLM Applications? A Developer's Breakdown
A plain-English breakdown of the 2025 OWASP Top 10 for LLM Applications: what each risk means, a real-world example of each, what changed since 2023, and how to practice every category hands-on.
OWASP LLM Top 10LLM SecurityAI VulnerabilitiesPrompt Injection
Updated October 2026 for the 2025 edition of the list.
The Open Worldwide Application Security Project (OWASP) maintains the most widely used vulnerability lists in security. In 2023 it published the first Top 10 for LLM Applications, and in November 2024 it released a substantially revised 2025 edition based on how LLM apps are actually built and attacked today: with retrieval (RAG), agents and tools.
If you ship LLM-powered features, this list is your security checklist. Here is every risk in plain English, with a real example and what to do about it.
What Changed Since 2023
2025
Category
Change
LLM01
Prompt Injection
Still number one
LLM02
Sensitive Information Disclosure
Up from #6
LLM03
Supply Chain
Up from #5
LLM04
Data and Model Poisoning
Broadened from "Training Data Poisoning"
LLM05
Improper Output Handling
Renamed from "Insecure Output Handling"
LLM06
Excessive Agency
Expanded for agents; absorbs "Insecure Plugin Design"
LLM07
System Prompt Leakage
New
LLM08
Vector and Embedding Weaknesses
New, for RAG
LLM09
Misinformation
Replaces "Overreliance"
LLM10
Unbounded Consumption
Replaces "Model Denial of Service"; covers cost abuse and model theft
LLM01: Prompt Injection
What it is: Input that makes the model follow an attacker's instructions instead of yours. Direct injection comes from the user; indirect injection hides in content the model reads, like a web page, email or document.
Real example: In June 2025, "EchoLeak" showed that one crafted email could make Microsoft 365 Copilot exfiltrate data from a victim's mailbox and files without a single click. Microsoft rated it critical (CVE-2025-32711) and fixed it.
What to do: Least privilege for the model, clear separation of untrusted content, output checks and human approval for consequential actions. There is no single fix, so layer defenses.
LLM02: Sensitive Information Disclosure
What it is: The model or application reveals personal data, credentials, confidential business information or proprietary details, through its answers or through what users feed it.
Real example: In 2023, Samsung engineers pasted confidential source code and meeting notes into ChatGPT, and the company restricted generative AI tools on its devices shortly after. Data sent to a model can end up places you did not intend.
What to do: Minimise and filter what goes into prompts, apply access control before retrieval, scrub outputs for sensitive patterns, and give users clear guidance on what not to paste.
LLM03: Supply Chain
What it is: Risks from third-party models, datasets, adapters and libraries in your AI stack, including tampered weights and malicious model files.
Real example: In 2024, JFrog researchers found around 100 malicious models on Hugging Face, several of which ran code on the downloader's machine the moment the model was loaded, abusing Python's pickle format.
What to do: Use trusted publishers, verify checksums, prefer safe formats like safetensors and GGUF, pin versions, and keep an inventory (an AI bill of materials) of every model and dataset you use.
LLM04: Data and Model Poisoning
What it is: Manipulating pre-training, fine-tuning or embedding data to plant backdoors, biases or misinformation that activate later.
Real example: Anthropic's 2024 "Sleeper Agents" research trained models with hidden backdoors (for example, writing insecure code only when the prompt says the year is 2024) and found that standard safety training failed to remove them.
What to do: Track the provenance of training and fine-tuning data, validate datasets, red team models for trigger-based behaviour, and keep fine-tuning pipelines access-controlled.
LLM05: Improper Output Handling
What it is: Passing model output to browsers, shells, databases or other systems without validation, turning the LLM into a delivery mechanism for XSS, SQL injection or command injection.
Real example: Several AI data-leak attacks, including the Slack AI and EchoLeak cases, ended with the model writing a Markdown link or image whose URL contained the stolen data. Rendering it sent the data to the attacker.
What to do: Treat model output like user input: encode it for its context, sanitise HTML and Markdown, block automatic loading of external resources, and use parameterised queries for anything that reaches a database.
LLM06: Excessive Agency
What it is: Giving an LLM-based system too much functionality, too many permissions or too much autonomy, so that a manipulated model can take damaging actions. Insecure plugins and tools now live here.
Real example: In May 2025, Invariant Labs showed a malicious issue in a public GitHub repository steering a developer's AI agent, connected through the GitHub MCP server, into leaking private repository data in a public pull request.
What to do: Minimise tools and permissions, run actions with the user's permissions rather than a powerful service account, and require human approval for high-impact actions.
LLM07: System Prompt Leakage (new)
What it is: Attackers extracting your system prompt, and the bigger risk behind it: developers putting secrets, credentials or access rules in the prompt.
Real example: In February 2023, Bing Chat revealed its confidential instructions and codename, "Sydney", to a user who simply asked it to ignore its previous instructions.
What to do: Assume every system prompt will be read. Never store secrets in it, and enforce permissions and business rules in code, outside the model.
LLM08: Vector and Embedding Weaknesses (new)
What it is: Weaknesses in how RAG systems store and retrieve knowledge: poisoned documents in the vector store, missing access control between users or tenants, and embeddings that leak information about the source text.
Real example: Research such as PoisonedRAG (2024) showed that adding a handful of crafted documents to a large knowledge base can reliably steer a RAG system's answers to attacker-chosen questions.
What to do: Enforce permissions at retrieval time, partition data per tenant, validate and monitor what gets ingested, and record which sources each answer used.
LLM09: Misinformation
What it is: The model produces false or misleading content that sounds credible, and people or systems act on it. It replaces 2023's "Overreliance".
Real examples: In Mata v. Avianca (2023), lawyers filed a brief citing court cases ChatGPT had invented and were fined $5,000. In Moffatt v. Air Canada (2024), a tribunal held the airline liable for a refund policy its chatbot made up.
What to do: Ground answers in retrieved sources with citations, show uncertainty, keep humans in the loop for high-stakes decisions, and remember that your organisation owns what its AI says.
LLM10: Unbounded Consumption
What it is: Uncontrolled use of inference resources: denial of service, runaway costs ("denial of wallet") and model extraction through massive querying. It replaces "Model Denial of Service" and absorbs "Model Theft".
Real example: In 2024, security firm Sysdig documented "LLMjacking": attackers stealing cloud credentials to run up large bills on hosted AI models, with estimated costs to victims of tens of thousands of dollars a day.
What to do: Rate limits and quotas per user and per key, input size limits, cost alerts, timeouts, and monitoring for extraction-style query patterns.
What This Means for Developers
Prompt injection (LLM01) still amplifies everything else. Most of the other risks become worse once an attacker controls the model.
Agents changed the list. Excessive Agency and the new RAG category reflect that models now act and retrieve, not just chat.
Assume the prompt leaks (LLM07). Security belongs in code and permissions, not in instructions.
Output is untrusted (LLM05). Many real data leaks ended with a rendered link or image.
Test every category. Automated red teaming against all ten should run on every model and prompt change.
Practice Every Category
Theory gets you started. Practice makes the risks real.
QbitDojo's hands-on labs are tagged with the 2025 OWASP categories, so you can attack a live AI system for each risk on this list. If you are just starting out, the free Prerequisites track walks through how AI systems are built, with interactive simulations of tokenizers, local model installs and a RAG pipeline you can poison yourself.