Review LLM app code against the OWASP Top 10 for LLM Applications 2025. Runs a static scan for 10 risky patterns, answers 10 review questions from the code and writes a report. Use when asked for an LLM security or OWASP LLM review.
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
Review the user's own code base for the ten risks of the OWASP Top 10 for LLM Applications 2025 (LLM01 Prompt Injection to LLM10 Unbounded Consumption). The review has two parts: a static scan that finds ten risky code patterns, and ten questions that you answer by reading the code. This skill is defensive and applies only to code the user owns or is authorised to review.
Scope. Confirm the root directory to review. If the user did not give one, use the project root. Do not scan anything outside it.
Scan. Run the bundled script from this skill folder (Python 3.10+, standard library only, no network):
python3 scripts/scan.py <root> --format jsonIt reads *.py, *.ts and *.js files, skips .git, node_modules, .venv, dist and build, never follows symlinks and masks key-like strings in excerpts. Add # owasp-llm: ignore P01 at the end of a line to silence a reviewed false positive.
Triage. Open each finding at its file and line. Mark it as confirmed, false positive or needs a human. The patterns and their usual false positives are in references/patterns.md. A finding is a hint, never proof.
Answer the ten questions. For each risk, read the relevant code and answer yes (mitigated), no (not mitigated), na (not applicable) or unknown (no evidence found). Cite file and line. The questions and what to look for are in references/questions.md.
Report. Write the report with the layout in references/report-template.md. Give each risk one status:
failed: the answer is no.evidence-found: at least one confirmed finding.open: the question is unanswered or unknown.answered: answered yes or na with no confirmed findings.Offer fixes. Suggest the fix from the hint of each confirmed finding. Change the user's code only if the user asks, and keep each change small.
Reference implementation and tests: https://github.com/Trysac/u070-owasp-llm-checklist
repository in the plugin manifest, or publish from a GitHub Action to verify it.