CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/owasp-llm-checklist

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.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files
name:
owasp-llm-checklist
description:
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.
license:
MIT

OWASP LLM Top 10 (2025) checklist

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.

Workflow

  1. Scope. Confirm the root directory to review. If the user did not give one, use the project root. Do not scan anything outside it.

  2. Scan. Run the bundled script from this skill folder (Python 3.10+, standard library only, no network):

    python3 scripts/scan.py <root> --format json

    It 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.

  3. 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.

  4. 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.

  5. 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.
  6. 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.

Rules

  • Findings are hints, not proof. A risk without findings is not shown to be safe; it still needs an answer.
  • Never print a full secret. If P04 matches, show only the first four characters, tell the user to rotate the key and to load it from a secret manager.
  • Do not run, import or evaluate the reviewed code.
  • Do not send code or findings to any outside service.
  • The scan covers Python, TypeScript and JavaScript line patterns only. Say so in the report; other languages and data flows need a manual review.

Reference implementation and tests: https://github.com/Trysac/u070-owasp-llm-checklist

Workspace
trysac
Visibility
Public
Created
Last updated
Source
CLI
Repository
No repository linked. Set repository in the plugin manifest, or publish from a GitHub Action to verify it.
Badge
trysac/owasp-llm-checklist badge