Application Security Vulnerability Taxonomy · Global Engineering Standard
OWASP Top 10 for LLM Applications (2025 v2.0)
The canonical developer and AppSec taxonomy ranking the 10 most critical security vulnerabilities in production LLM, RAG, and agentic applications—used as the default checklist for pre-launch penetration testing and automated red-teaming.
Primary Statutory & Standard Metadata
- Issuing BodyOWASP Foundation (GenAI Security Project)
- Official CitationOWASP Top 10 for Large Language Model Applications v2.0 (2025)
- Current StatusActive Industry AppSec Baseline
- Primary SourceOWASP GenAI Security Project — Official Top 10 (2025)
Enforcement & Penalty Structure
Non-regulatory technical benchmark; widely mandated in enterprise vendor security assessments, penetration-test scopes, and PCI/SOC 2 AppSec programs.
Effective Timeline & Milestones
| Date | Statutory / Standard Milestone |
|---|---|
| August 2023 | Initial v1.0 / v1.1 release of OWASP Top 10 for LLM Applications. |
| November 2024 | Publication of the 2025 v2.0 edition adding System Prompt Leakage (LLM07), Vector & Embedding Weaknesses (LLM08), Misinformation (LLM09), and Unbounded Consumption (LLM10). |
Core Articles, Controls & Technical Requirements
Direct engineering translation of the primary obligations under OWASP LLM Top 10.
| Reference | Control Domain | Engineering & Compliance Requirement |
|---|---|---|
| LLM01:2025 | Prompt Injection | Direct or indirect attacker-controlled inputs override system instructions or hijack agent actions. Mitigate with privilege separation, input/output firewalls, and human approval for sensitive tools. |
| LLM02:2025 | Sensitive Information Disclosure | Leakage of PII, credentials, trade secrets, or cross-tenant RAG documents in completions. Mitigate with strict retrieval ACLs, PII redaction, and output scanning. |
| LLM03:2025 | Supply Chain | Compromised base weights (malicious pickle files), poisoned LoRAs, vulnerable dependencies, or untrusted MCP plugins. Mitigate with Safetensors, binary weight scanning, and SBOM/AI-BOM pinning. |
| LLM04:2025 | Data and Model Poisoning | Adversarial manipulation of pretraining, fine-tuning, RLHF, or RAG knowledge bases creating backdoors or systematic bias. |
| LLM05:2025 | Improper Output Handling | Passing unsanitized LLM output directly into SQL queries, shell commands, HTML/DOM (XSS), or downstream code execution. |
| LLM06:2025 | Excessive Agency | Granting an LLM agent overly broad tool permissions, write/delete access, or autonomous execution without least-privilege scoping and deterministic guardrails. |
| LLM07:2025 | System Prompt Leakage | Exposing confidential instructions, internal routing logic, or embedded secrets placed in system prompts. Never store credentials or authorization logic inside prompts. |
| LLM08:2025 | Vector and Embedding Weaknesses | Cross-tenant access control failures, embedding inversion, or poisoned chunks inside RAG vector databases. |
| LLM09:2025 | Misinformation | Hallucinated citations, fabricated package names (slopsquatting), or factually unsupported claims causing downstream operational or legal harm. |
| LLM10:2025 | Unbounded Consumption | Denial-of-Wallet, context-window flooding, recursive agent loops, or model extraction through unconstrained inference endpoints. |
Audit-Ready Engineering Artifacts Checklist
- OWASP LLM01–LLM10 Threat Model & Data-Flow Diagram (marking trust boundaries)
- Automated CI/CD Red-Team Scan Report covering Injection, Leakage & Agency
- RAG Vector Store Tenant-Isolation & RBAC Verification Test Suite
- Tool-Permission Least-Privilege Matrix & Human-in-the-Loop Approval Gate Rules
- AI Gateway Rate-Limiting, Token Budget Cap & Recursion-Limit Config
Estimate total annual tooling and audit cost for your system tier with the EU AI Act & NIST Cost Estimator, or verify OWASP pre-launch security controls with the 12-Item Red-Team Checklist.
Mapped Enterprise AI Eval, Guardrail & GRC Vendors
Audited platforms documenting controls or integrations supporting OWASP LLM Top 10:
- Promptfoo Red-Teaming Offline Evals
- Lakera Red-Teaming Runtime Guardrails
- Guardrails AI Runtime Guardrails Offline Evals
- NVIDIA NeMo Guardrails Runtime Guardrails Red-Teaming
- HiddenLayer Red-Teaming Runtime Guardrails
- Helicone Offline Evals Runtime Guardrails
- Portkey Runtime Guardrails Open-Source
Browse all 24 platforms in the Enterprise AI Eval & Governance Directory.
Related Buyer Comparisons, Guides & Cross-Walked Frameworks
OWASP LLM Top 10 Compliance FAQ
What changed in the OWASP Top 10 for LLM Applications 2025 edition compared to 2023?
The 2025 v2.0 edition introduced explicit entries for System Prompt Leakage (LLM07:2025) and Vector and Embedding Weaknesses (LLM08:2025) to reflect enterprise RAG adoption, expanded Model Denial of Service into Unbounded Consumption (LLM10:2025) to capture Denial-of-Wallet and inference cost abuse, and reframed Overreliance as Misinformation (LLM09:2025).
Can prompt engineering alone stop OWASP LLM01 Prompt Injection?
No. Because LLMs process system instructions and untrusted user or retrieved document tokens in the same attention context, prompt-level instructions ("never ignore these rules") cannot provide cryptographic isolation. Effective defense requires defense-in-depth: strict privilege separation, least-privilege tool scoping (LLM06), deterministic output validation (LLM05), and runtime guardrails.
How do teams prevent OWASP LLM08 Vector and Embedding Weaknesses in multi-tenant RAG?
Enforce document-level access control lists (ACLs) via mandatory metadata filters or per-tenant index/namespace isolation inside the vector database BEFORE chunks enter the LLM context window—never relying on the LLM prompt to filter out unauthorized documents.
What is the practical mitigation for OWASP LLM10 Unbounded Consumption?
Deploy an AI gateway (such as Portkey or Helicone) enforcing strict per-user/per-tenant token rate limits, max_tokens caps, hard agent step/recursion ceilings, and circuit-breaker spend alerts.