OWASP Top 10 for LLM Applications
The ten most critical security risks for applications built on large language models. Red teaming, guardrails and agent run analysis in this workspace produce evidence for several of them.
Prompt injection
Constrain model behaviour, validate inputs and outputs, separate untrusted content (documents, web pages, tool results) from instructions, and test for direct and indirect injection.
Sensitive information disclosure
Prevent the model from revealing personal data, secrets or confidential business data through outputs; sanitise training and retrieval data and filter outputs.
Supply chain
Vet third-party models, datasets, adapters and plugins; keep a bill of materials and check licences and provenance.
Data and model poisoning
Protect training, fine-tuning and embedding data from tampering; track data provenance and test for backdoors and drift.
Improper output handling
Treat model output as untrusted: validate and encode it before passing it to browsers, shells, databases or other systems.
Excessive agency
Limit the tools, permissions and autonomy given to the model; require human approval for high-impact actions.
System prompt leakage
Do not put secrets or security controls in system prompts; test whether the prompt can be extracted.
Vector and embedding weaknesses
Apply access control and tenant separation to vector stores; validate documents before indexing; watch for embedding inversion and poisoning.
Misinformation
Reduce confabulation with grounding and citations, tell users about limits, and keep a human check where errors cause harm.
Unbounded consumption
Rate-limit and budget requests, cap input size and tool loops, and monitor cost to prevent denial of service and denial of wallet.
Summaries are paraphrased for orientation and may be out of date. Always consult the official texts. Not legal advice.