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

questions.mdreferences/

The ten review questions

Answer each question from the code and configuration, with file and line as evidence. Status values: yes (mitigated), no (not mitigated), na (not applicable), unknown (no evidence found, which counts as open).

IdRiskQuestion
Q01LLM01:2025 Prompt InjectionIs untrusted input kept apart from instructions and tested for prompt injection?
Q02LLM02:2025 Sensitive Information DisclosureAre secrets and personal data kept out of prompts, training data and model output?
Q03LLM03:2025 Supply ChainAre models, datasets and plugins pinned, verified and from trusted sources?
Q04LLM04:2025 Data and Model PoisoningIs training, fine-tuning and retrieval data validated and its provenance tracked?
Q05LLM05:2025 Improper Output HandlingIs model output validated and encoded before it reaches interpreters or browsers?
Q06LLM06:2025 Excessive AgencyAre tools limited to least privilege, with human approval for risky actions?
Q07LLM07:2025 System Prompt LeakageDoes the system prompt hold no secrets, with access control enforced outside it?
Q08LLM08:2025 Vector and Embedding WeaknessesAre vector stores access controlled per tenant and checked for poisoned content?
Q09LLM09:2025 MisinformationAre answers grounded in sources, with users told about possible errors?
Q10LLM10:2025 Unbounded ConsumptionAre token, rate, cost and time limits enforced for every model call?

What to look for

  • Q01. Separate system and user messages; delimiters around untrusted text; filtering of retrieved content; tests or evals with injection strings.
  • Q02. Secrets in prompts, logs or fixtures; personal data redaction before sending to a model; output filters; retention settings.
  • Q03. Locked dependency versions and hashes; model revisions pinned; weights_only or safetensors; plugin or tool sources reviewed.
  • Q04. How training, fine-tuning and retrieval data are ingested; validation, deduplication, source allow-lists, review of changes.
  • Q05. Schema validation of model output; HTML or Markdown encoding before rendering; parameterised queries; no execution of output.
  • Q06. Tool list and scopes; confirmation steps for write, delete, send or spend actions; per-tool permissions; audit logs.
  • Q07. Prompt text free of keys, internal URLs and role rules that are the only protection; authorisation checked in code.
  • Q08. Tenant or user filters on every vector query; write access to the index; ingestion checks.
  • Q09. Citations or retrieval grounding; confidence or uncertainty messages; human review on high-impact answers.
  • Q10. max_tokens, request size caps, rate limits, timeouts, budgets and alerts on spend.

If a question does not apply (for example Q08 with no vector store), answer na and say why.

SKILL.md

tile.json