We value your privacy

We use necessary cookies to run the site and, with your consent, analytics and marketing cookies to improve it. You can change your choice anytime. Privacy Policy

  • Security
  • Pricing
  • Blog
Book a scoping call
Back to glossary

OWASP Top 10 for LLMs

The OWASP Top 10 for LLM Applications is a community-driven list of the most critical security risks in apps built on large language models. Learn the categories and mitigations.

The OWASP Top 10 for LLM Applications is a community-driven awareness document published by the OWASP project that catalogues the most critical security risks in applications built on large language models (LLMs). It plays the same role for LLM systems that the original OWASP Top 10 plays for web applications: a shared, vendor-neutral vocabulary that security teams, developers, and risk owners can use to reason about where AI systems break. Because the field moves quickly, OWASP has revised the list across versions — including an initial 2023 release and a 2025 update — so the categories below are described by name and substance rather than by a fixed rank or identifier.

Why the OWASP Top 10 for LLMs exists

Traditional application security frameworks assume a clear separation between code, data, and control flow. LLM applications break that assumption. A model treats its system prompt, retrieved documents, user input, and tool outputs as a single stream of natural language, and it can be steered by any of them. New components — vector databases, retrieval pipelines, agent tool calls, third-party model providers — introduce failure modes that the original OWASP Top 10 for web applications never anticipated.

The OWASP Top 10 for LLM Applications was created to close that gap. It is the product of contributions from hundreds of security practitioners, AI researchers, and industry participants, and it is intended as an awareness document — a prioritized starting point for threat modeling, not an exhaustive standard or a certification checklist. Its value is in naming the risks consistently so that teams building on LLMs can communicate about them, prioritize them, and map them to concrete controls.

The list evolves by version

It is important to treat the OWASP Top 10 for LLMs as a living document. Entries have been renamed, merged, split, and re-ranked between versions as real-world incidents and agentic architectures reshaped the threat landscape. For example, later revisions broadened "Model Denial of Service" toward the wider notion of unbounded resource consumption, and added categories reflecting newer concerns such as system prompt leakage and weaknesses in vector and embedding pipelines. When citing a specific rank or identifier (such as an "LLM0x" code), always anchor it to a stated version of the list rather than assuming it is stable across releases.

The core risk categories

The categories below appear, in one form or another, across versions of the OWASP Top 10 for LLM Applications. They are presented here by theme rather than by numbered rank.

Prompt Injection

Malicious instructions embedded in user input or in external content cause the model to ignore its intended instructions and follow the attacker instead. This includes direct injection (a user overriding the system prompt) and indirect injection (instructions hidden in a document, web page, email, or API response that the model later processes). In agentic systems with tool access, prompt injection is widely regarded as the defining risk, because a successful injection can translate into real-world actions.

Insecure Output Handling

Applications that pass model output to downstream systems without validation inherit the model's untrustworthiness. If an LLM's response is rendered as HTML, executed as code, used in a SQL query, or passed to a shell, the model effectively becomes an unvetted input source for classic injection vulnerabilities such as XSS, SSRF, or remote code execution.

Sensitive Information Disclosure

Models can reveal data they should not — training data, secrets, other users' content, or confidential records surfaced from connected systems. This spans data leaked through completions, data exposed via retrieval pipelines, and personal or regulated information returned in response to crafted prompts.

Training Data Poisoning

An attacker manipulates the data used to train or fine-tune a model, introducing backdoors, biases, or vulnerabilities. Because training data is often sourced at scale from public or semi-trusted origins, poisoning can be difficult to detect and persists in the model's behavior after deployment.

Supply Chain Vulnerabilities

LLM applications depend on pre-trained models, datasets, plugins, libraries, and hosted inference providers. Compromised or untrustworthy components anywhere in that chain — a tampered model artifact, a malicious package, a vulnerable extension — can undermine the security of the whole application.

Model Denial of Service / Unbounded Consumption

Adversarial or resource-intensive inputs can exhaust compute, memory, context-window, or token budgets, degrading availability or driving runaway cost. Later framings of this category emphasize unbounded consumption more broadly, including model extraction and cost-amplification attacks against metered inference.

Excessive Agency

When a model is granted more functionality, permissions, or autonomy than the task requires, the blast radius of any failure or compromise grows accordingly. An over-privileged agent that can send email, modify records, or call external APIs can cause serious harm if it is manipulated — for instance, via prompt injection.

Insecure Plugin / Extension Design

Plugins and tool integrations that accept free-form input, lack authorization checks, or fail to validate parameters give attackers a path to abuse the capabilities the model can invoke. Weak extension design is a common bridge between a manipulated model and a real-world side effect.

Overreliance

Treating model output as authoritative without human oversight or verification leads to acting on hallucinated, incorrect, or insecure content — propagating bad code, flawed decisions, or misinformation into production systems and business processes.

Model Theft

Unauthorized access to, exfiltration of, or extraction of a proprietary model — whether by stealing weights directly or by reconstructing behavior through systematic querying — represents loss of intellectual property and a potential precursor to further attacks.

Newer additions

Later versions of the list added categories reflecting how production LLM systems are actually built. System Prompt Leakage addresses the risk that the contents of a system prompt — which may contain secrets, business logic, or access assumptions — can be extracted or relied upon as a security boundary it was never meant to be. Vector and Embedding Weaknesses cover risks specific to retrieval-augmented generation (RAG) pipelines, including embedding inversion, data leakage across tenants, and poisoning of the vector store.

Mapping risk categories to mitigations

No single control addresses the full list. The table maps several representative categories to the kinds of mitigations that meaningfully reduce them. It is illustrative, not exhaustive, and the precise naming and ranking of each risk depends on the version of the OWASP list being referenced.

Risk categoryRepresentative mitigations
Prompt InjectionLeast-privilege tool access, runtime action validation, human approval for high-risk actions, prompt/completion inspection
Insecure Output HandlingTreat model output as untrusted; encode, validate, and sandbox before downstream use
Sensitive Information DisclosurePrompt and completion inspection, redaction, data minimization, tenant isolation in retrieval
Excessive AgencyScoped permissions, allowlisted tools, per-action authorization, agent-runtime governance
Supply Chain VulnerabilitiesVetted model and package provenance, signing, dependency and artifact inventory
Unbounded Consumption / DoSRate limiting, token and cost budgets, input-size caps, anomaly detection on usage
OverrelianceHuman-in-the-loop review, output verification, clear provenance and confidence signals

The recurring pattern across these mitigations is that the most durable controls operate at the runtime and action layer — governing what an LLM or agent is allowed to access and do — rather than relying solely on input filtering or better prompts, which determined attackers can bypass.

How to use the list in practice

The OWASP Top 10 for LLM Applications is most useful as an input to threat modeling rather than as a pass/fail checklist. A practical approach is to enumerate every place where untrusted content enters the model, every tool or system the model can act on, and every downstream consumer of model output — then walk each category against those surfaces to identify where controls are missing.

Because the list overlaps with broader AI risk frameworks, it pairs well with the NIST AI Risk Management Framework and MITRE ATLAS for adversarial techniques. OWASP names the risks; those frameworks help structure governance and catalogue concrete attack patterns. Used together, they give security teams both a prioritized risk taxonomy and the surrounding process to manage it.


Related: Prompt Injection · AI Firewall · Data Loss Prevention (DLP)

Frequently asked questions

Frequently asked questions

Neither, strictly. It is a community-driven awareness document — a prioritized list of the most critical risks in LLM applications, intended to guide threat modeling and inform secure design. It is not a certification, a compliance standard, or an exhaustive catalogue of every possible vulnerability. Teams use it as a shared vocabulary and a starting point, then map it to their own controls and to broader frameworks like the NIST AI RMF.

The LLM threat landscape evolves rapidly, and OWASP updates the list to reflect new incidents and architectures. Between the 2023 release and the 2025 update, entries were renamed, merged, re-ranked, and added — for example, broadening denial of service toward unbounded consumption and introducing system prompt leakage and vector/embedding weaknesses. For that reason, any specific rank or "LLM0x" identifier should be cited against a stated version rather than assumed to be permanent.

The categories tied to autonomy and action carry the highest stakes for agents: Prompt Injection, Excessive Agency, and Insecure Plugin/Extension Design. In agentic systems, a manipulated model does not just produce bad text — it can call tools, move data, and take real-world actions. Sensitive Information Disclosure and Insecure Output Handling also intensify, because agents both retrieve from connected systems and feed output into downstream processes.

Qadar AI mitigates several of these categories at runtime rather than relying on input filtering alone. Prompt and completion inspection address prompt injection and sensitive information disclosure by detecting and blocking or redacting malicious or sensitive content before it reaches a model or a user. Agent-runtime controls address excessive agency and insecure tool design by validating every tool call against least-privilege policy, gating high-risk actions on human approval, and recording each interaction in a tamper-evident audit trail. The emphasis is on governing what an LLM or agent can access and do, so consequences are contained even when input-layer defenses are bypassed.

Natali Craig
Olivia Rhye
Drew Cano

Still have questions?

Can’t find the answer you’re looking for? Talk to our team and we’ll help you get started.

Get in touch

See how Qadar AI implements these concepts at runtime

Book a demo

A product specialist will reply within one business day

Subscribe to our newsletter

Product and governance updates — see our privacy policy.

AI security and control for every model your team uses.

Built in Dubai. Designed for teams operating across regions, models, and regulatory environments.

  • Product

    • Shield Web
    • Shield Control
    • Shield Desktop
    • Shield Mobile
    • Pricing
  • Solutions

    • For CISOs
    • For Operations
    • For AI Teams
  • Use Cases

    • AI Governance
    • AI Agent Security
    • LLM Access Control
    • Secure AI Deployment
    • Enterprise Operations
    • Financial Services
  • Resources

    • Blog
    • Guides
    • Glossary
    • AI Risk Calculator
    • Compare
    • FAQ
  • Company

    • About
    • Careers
    • Security & Trust
    • Contact
  • Legal

    • Legal
    • Privacy
    • Terms
    • GDPR / DPA

© 2026 Qadar AI. All rights reserved. EU data residency available for Enterprise customers.