LLM App Security
Use when designing or reviewing an LLM-powered application for prompt injection, unsafe outputs, data leakage, tenant isolation, and abuse risks.
Install
npx skills add sandbaseai/workbuddy-skill --skill llm-app-securitygit clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/llm-app-security ~/.claude/skills/llm-app-securityPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# LLM Application Security Review an application that accepts untrusted input, invokes a language model, retrieves data, or calls tools. Treat the model as an untrusted probabilistic component: enforce security decisions in deterministic application and service layers. Work only within an authorized scope; never exfiltrate secrets, bypass access controls, weaponize prompts, or send harmful content to users or external systems. ## Map the trust boundaries Inventory user input, uploaded files, system and developer instructions, retrieved documents, conversation memory, model providers, tools, plugins, webhooks, logs, analytics, and downstream actions. For each flow, identify the principal, tenant, data classification, authorization decision, side effect, and owner. Keep system instructions separate from user-controlled content, and mark every assumption or unknown. ## Verify the control layers Inspect code, configuration, prompt templates, retrieval filters, tool schemas, identity middleware, moderation policy, rate limits, telemetry, and tests. Check at minimum: - **Input and context:** validate type, size, encoding, file content, and provenance; scan uploads for secrets or malware where appropriate; isolate retrieved and user text from instructions; - **Identity and tenancy:** derive authorization from trusted identity state, filter retrieval and memory by tenant and object permissions, prevent cross-tenant caching, and deny by default when context is ambiguous;
Details
- Skill name
llm-app-security- Repository
- sandbaseai/workbuddy-skill
- Path
skills/llm-app-security/SKILL.md- License
- MIT
- Repo updated
- 8 September 2026
FAQ
What does the LLM App Security skill do?
Use when designing or reviewing an LLM-powered application for prompt injection, unsafe outputs, data leakage, tenant isolation, and abuse risks.
How do I install the LLM App Security skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill llm-app-security. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is LLM App Security popular?
It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.
Related skills
Access Control Security Best Practices
9sandbaseai/workbuddy-skill
Design, review, implement, and verify least-privilege access controls across users, services, tenants, resources, and administrative workflows.
Accessibility Review
9sandbaseai/workbuddy-skill
Use when reviewing a web interface or interaction for semantic, keyboard, focus, screen-reader, ARIA, and contrast accessibility risks.
Acquire Codebase Knowledge
9sandbaseai/workbuddy-skill
Use when the user asks to map, document, or onboard into an existing codebase and needs evidence-backed architecture, structure, conventions, integrations, testing, and concerns documentation.
LLM Evaluation
9sandbaseai/workbuddy-skill
Use when evaluating LLM or RAG applications, comparing models/prompts, detecting regressions, designing benchmarks, or validating safety and quality improvements.
Hybrid Search Implementation
9sandbaseai/workbuddy-skill
Use when combining vector and keyword search for RAG or search systems, especially for exact terms, codes, names, and domain-specific vocabulary.
MCP Builder
9sandbaseai/workbuddy-skill
Use when designing, implementing, or evaluating an MCP server that exposes an external service through reliable, discoverable, and testable tools.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.