llm-app-security
Skill by sickn33
Hardens LLM-powered apps such as chatbots, RAG pipelines, and SaaS AI features against prompt injection, data leakage, and abuse. Maps OWASP LLM Top 10 risks to concrete controls. Aimed at developers and security teams building LLM features.
Install llm-app-security
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/llm-app-security ~/.claude/skills/llm-app-securityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/llm-app-security ~/.gemini/antigravity-cli/skills/llm-app-securityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
LLM Application Security is a docs-only agent skill for hardening chatbots, RAG pipelines, and AI features embedded in SaaS products. It maps the OWASP Top 10 for LLM Applications (2025) risks to concrete controls. The controls cover input validation, system prompt protection, tool allowlisting, output safety, and rate limiting.
The skill includes Python and Node.js code examples for structural input checks, regex-based prompt injection detection, an OpenAI moderation call, and PII redaction with Microsoft Presidio. The source states that regex checks are advisory, not an authorization boundary, and that the controls are partial sketches. It is aimed at developers and security teams building LLM features. It is published by sickn33 and sourced from a community repository under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- OWASP LLM Top 10 mappingMaps each OWASP LLM risk from 2025 to a key mitigation and a section of the guide.
- Structural input checksValidates message length, line count, empty input, and control characters before the LLM sees them.
- Prompt injection detectionUses regex patterns to flag instruction overrides, prompt extraction, and delimiter injection.
- Content moderationShows a call to the OpenAI Moderation API that returns flagged categories for user input.
- System prompt hardeningExplains strict role separation and self-defense rules for system prompts.
- Tool allowlistingChecks tool names and parameter shapes against an allowlist before a tool call is dispatched.
- PII scrubbingShows Microsoft Presidio code that detects and redacts personal data in LLM output.
What you need
- Python or Node.js to run the code examples
- OpenAI API key for the moderation example
- Microsoft Presidio packages for PII scrubbing
- Security scanners and vault CLIs for active assessments
Try asking
- Review my chatbot's input validation against prompt injection risks
- Show me how to redact PII from my LLM's responses
- Check my tool calls against an allowlist before running them
Good to know
- Controls are partial sketches, not a complete implementation.
- Regex injection checks are advisory and can give false positives or miss evasions.
- Helper scripts and templates are not bundled.
- Active assessments require an authorized scope.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/llm-app-security/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
references/details.md21 KB
Alternatives to llm-app-security
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
llm-app-security: common questions
Does this skill block all prompt injection?
No. The source says regex detection is advisory, a negative result never establishes safety, and tool and data permissions must be enforced server-side.
Which OWASP list does it follow?
It follows the OWASP Top 10 for LLM Applications (2025), mapping each risk to a mitigation in the guide.
Are helper scripts included?
No. The source says the skill is docs-only and helper scripts and templates are not bundled.
How do I install llm-app-security?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is llm-app-security free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is llm-app-security safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to llm-app-security?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
