OWASP LLM Top 10 (beta)¶
Beta, pending review
OWASP_LLM_TOP10 is a beta pack. Its row titles, notes and links are this project's own drafts and have not been reviewed. Nothing here is an audit, a certification or a legal assessment, and a passing result does not mean an application is secure.
What it is¶
New in 0.18.0, as a beta pack.
The OWASP Top 10 for LLM Applications (2025 list) names ten security risks of applications built on large language models: LLM01 to LLM10, from prompt injection to unbounded consumption. The list is published by the OWASP GenAI Security Project at https://genai.owasp.org/llm-top-10/. Opencomplai carries it as the native target OWASP_LLM_TOP10, with ten rows. Each row uses OWASP's id and keeps the OWASP name in its source field, with a short title and a note written for this project. OWASP's descriptions are not reproduced; read them at the link above.
Does it apply to you¶
It is voluntary guidance for teams that build or run an application around an LLM. It is not a legal duty, and the pack has no applicability questions. Where a row does not fit your system, say so in the attestation statement, or record a reason under framework_inputs.OWASP_LLM_TOP10.excluded.
How rows are decided¶
Every row takes an attestation: a statement from a person that the control is in place. Seven rows also look for evidence the engine already gathers, so a statement without evidence reads Partial rather than Met:
- Evaluator results. LLM01 reads the adversarial evaluator (
EVAL_ADVERSARIAL_V1) and LLM02 the data-leakage evaluator (EVAL_DATA_LEAKAGE_V1) when you supply an eval sample set (--sample-set). A failed evaluator lowers an attested row to Partial. - Repository files. The shared probes for a red-team report, secret scanning, supply-chain pins and an SBOM, a data provenance sheet, an evaluation report, human oversight and an agent log, and rate limits in code are the same ones the other packs use. One found file is enough to corroborate an attested row. With no attestation, the files decide the row.
Three rows have no evidence the tool can read and take an attestation only: LLM05 (output handling), LLM07 (system prompt leakage) and LLM08 (vector and embedding stores). They read Unverified until you attest.
Scanner findings for agent frameworks and MCP servers do not decide a row here: a scan finding says a framework is present, not that a control is. They feed the EU AI Act rows the pack links to, and the agent inventory (see Agents). For agents, see also OWASP Agentic Top 10.
Requirements¶
| Requirement | Title | Evidence class | Sources | TTL days | Review |
|---|---|---|---|---|---|
| OWASP_LLM_TOP10:LLM01 | Prompt injection controls | hybrid | attestation: OWASP_LLM_TOP10:LLM01; evaluator: EVAL_ADVERSARIAL_V1 (corroborating); artifact: ai_red_team_report (corroborating) | 180 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM02 | Sensitive information disclosure controls | hybrid | attestation: OWASP_LLM_TOP10:LLM02; evaluator: EVAL_DATA_LEAKAGE_V1 (corroborating); artifact: secret_scanning_config (corroborating) | 180 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM03 | Model and component supply chain integrity | hybrid | attestation: OWASP_LLM_TOP10:LLM03; artifact: ai_supply_chain_pins (corroborating); artifact: sbom_file (corroborating) | 180 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM04 | Data and model poisoning defences | hybrid | attestation: OWASP_LLM_TOP10:LLM04; artifact: data_provenance_sheet (corroborating); artifact: evaluation_evidence (corroborating) | 365 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM05 | Model output handling controls | organisational | attestation: OWASP_LLM_TOP10:LLM05 | 365 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM06 | Limits on what the model can do | hybrid | attestation: OWASP_LLM_TOP10:LLM06; artifact: human_oversight_construct (corroborating); artifact: event_log_evidence (corroborating) | 180 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM07 | System prompt leakage controls | organisational | attestation: OWASP_LLM_TOP10:LLM07 | 365 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM08 | Vector and embedding store protections | organisational | attestation: OWASP_LLM_TOP10:LLM08 | 365 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM09 | Misinformation and over-reliance controls | hybrid | attestation: OWASP_LLM_TOP10:LLM09; artifact: evaluation_evidence (corroborating) | 180 | mapping not yet reviewed |
| OWASP_LLM_TOP10:LLM10 | Request, size and spend limits | hybrid | attestation: OWASP_LLM_TOP10:LLM10; artifact: rate_limiting_config (corroborating) | 180 | mapping not yet reviewed |
Timeline (none)¶
This pack has no timeline: a community risk list without legal application dates.
Gate in CI¶
opencomplai check --target OWASP_LLM_TOP10 --gate OWASP_LLM_TOP10 --gate-fail-on missing --repo-root .
The gate exits 1 when a row reads Missing. A repository with no evidence fails the seven evidence-backed rows until the evidence exists; an attestation lifts a row to Partial or Met as described above.
Attesting¶
{
"compliance_targets": ["OWASP_LLM_TOP10"],
"framework_inputs": {
"OWASP_LLM_TOP10": {
"attested": {
"OWASP_LLM_TOP10:LLM07": {
"statement": "System prompts hold no credentials; access rules are enforced in the API layer.",
"attested_by": "Jane Doe",
"attested_at": "2026-11-30"
}
}
}
}
}
Review status¶
Every row is flagged mapping not yet reviewed. The EU AI Act article links are this project's own, at low confidence. A link says two requirements cover related ground; it is not a claim that meeting one meets the other.
Disclaimer¶
This page describes what the tool checks. It is not an audit, certification or legal assessment. Counts are draft estimates.