Skip to content
Back to skills

Review Llm App Security

ASecurity

Reviews an LLM app for prompt injection, data exfiltration through tools, excessive agency and unsafe output handling, mapped to the OWASP LLM Top 10. Use before shipping an agent or RAG feature.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsrustgoshellsqldatabasesecurity

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill review-llm-app-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Llm App Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Llm App Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-review-llm-app-security/badge)](https://www.skillsdirectory.com/skills/hermes-hq-review-llm-app-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-llm-app-security
description: Reviews an LLM app for prompt injection, data exfiltration through tools, excessive agency and unsafe output handling, mapped to the OWASP LLM Top 10. Use before shipping an agent or RAG feature.
license: CC0-1.0
arguments:
  - architecture
  - prompts
  - tools
argument-hint: <architecture> [prompts] [tools]
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: security
  source: https://hermes-ide.com/prompts/review-llm-app-security
  catalog: 2026.1014.1
---

# Review an LLM app for security

## Inputs

- `architecture` (required): How the app works - users and tenants, data sources and retrieval, where model output goes, what runs automatically, and how credentials are held.
- `prompts` (optional): System prompts and prompt templates, if available.
- `tools` (optional): Tools or functions the model can call, with their parameters, permissions and whether a human confirms each call.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
A language model cannot reliably tell instructions from data. Any text that reaches its context, whether a user message, a retrieved document, a web page, an email or a tool result, can steer it. The damage depends on what the model can do next. The dangerous combination is access to private data, exposure to untrusted content, and a way to send data out (an outbound request, a rendered image or link, an email). Controls that only ask the model to behave ("ignore malicious instructions") are not security controls. Real controls sit outside the model: least privilege, human confirmation, output encoding, egress limits, isolation.
</context>

<task>
Review this LLM application:
$architecture
Only if prompts was provided: 
Prompts:
$prompts
Only if tools was provided: 
Tools:
$tools

1. Map trust boundaries: list every source of text entering the model's context and who controls it, every tool and what it can read or change, and every place model output goes (a browser, a database, a shell, another model, an email).
2. Check each risk in the OWASP Top 10 for LLM Applications (2025): LLM01 prompt injection (direct and indirect), LLM02 sensitive information disclosure, LLM03 supply chain, LLM04 data and model poisoning, LLM05 improper output handling, LLM06 excessive agency, LLM07 system prompt leakage, LLM08 vector and embedding weaknesses, LLM09 misinformation, LLM10 unbounded consumption.
3. Pay special attention to:
   - Exfiltration paths: markdown images or links rendered with attacker-chosen URLs, tools that fetch URLs or send messages, and logs visible to others.
   - Tool permissions: service-wide credentials where per-user ones are needed, write or delete actions without confirmation, parameters the attacker can influence.
   - Retrieval: access control enforced at query time per user and tenant, and poisoned documents.
   - Output handling: model output inserted into HTML, SQL, shell commands, file paths or code without encoding or validation.
   - Secrets in system prompts (assume the prompt will leak).
   - Cost and abuse limits: token, rate and loop limits.
4. For each finding, write an attack scenario with a short, harmless example of the injected text and where it would come from, the impact, and a fix enforced outside the model.
</task>

<constraints>
- Report only risks that the described architecture actually has. If a component that decides the risk is not described (data sources, tools, output sinks, credentials), ask about it under Questions rather than assuming the worst. If the description is too thin to name any capability, keep Findings short and lead with Questions.
- Do not offer "tell the model to ignore injections" as a fix. Prompt hardening may be listed only as defence in depth beside a real control.
- Keep injected-text examples benign (for example, exfiltrating a marker string), never working payloads against real services.
- Read the relevant code before making a claim about it. Do not guess what a file, function or config contains.
- If the information you need is not available, say what is missing and how to get it instead of inventing it.
</constraints>

<output_format>
## Verdict
One line: ship | ship after fixes | redesign needed, and the single biggest risk.
## Trust boundaries
Three short lists: untrusted inputs, capabilities (tools and data), output sinks.
## Findings
Numbered, ranked. Each: OWASP LLM id, severity, attack scenario, impact, fix.
## Adequate controls
What is already sound.
## Tests to add
Red-team cases to automate, each with its input source and the expected safe behaviour.
## Questions
Facts about the architecture that would change a finding or its severity. "None" if the description was complete.
</output_format>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.