
owasp-llm-top10
Security audit for LLM and GenAI applications using OWASP Top 10 for LLM Apps 2025. Assess prompt injection, data leakage, supply chain, and 7 more critical vulnerabilities.
- Installs
- 393
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/mastepanoski/claude-skills --skill owasp-llm-top10- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads owasp-llm-top10 automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
OWASP Top 10 for LLM Applications Security Audit
This skill enables AI agents to perform a comprehensive security assessment of Large Language Model (LLM) and Generative AI applications using the OWASP Top 10 for LLM Applications 2025, published by the OWASP GenAI Security Project.
The OWASP Top 10 for LLM Applications identifies the most critical security risks in systems that integrate large language models, covering vulnerabilities from prompt injection to unbounded resource consumption. This is the authoritative industry standard for LLM application security.
Use this skill to identify security vulnerabilities, assess risk exposure, prioritize remediation, and establish secure development practices for AI-powered applications.
Combine with "NIST AI RMF" for comprehensive risk management or "ISO 42001 AI Governance" for governance compliance.
When to Use This Skill
Invoke this skill when:
- Auditing security of LLM-powered applications before deployment
- Reviewing GenAI integrations for security vulnerabilities
- Assessing RAG (Retrieval-Augmented Generation) systems
- Evaluating chatbot or AI assistant security
- Conducting penetration testing of AI features
- Building secure AI application architectures
- Reviewing third-party AI API integrations
- Preparing for security compliance reviews
- Responding to AI-related security incidents
Inputs Required
When executing this audit, gather:
- application_description: Description of the AI application (purpose, LLM used, architecture, features, user base) [REQUIRED]
- architecture_details: System architecture (APIs, databases, vector stores, plugins, integrations) [OPTIONAL but recommended]
- llm_provider: LLM provider and model (OpenAI GPT-4, Anthropic Claude, self-hosted, etc.) [OPTIONAL]
- deployment_context: Deployment environment (cloud, on-premise, hybrid, edge) [OPTIONAL]
- data_sensitivity: Types of data processed (PII, financial, health, proprietary) [OPTIONAL]
- existing_controls: Current security measures (auth, rate limiting, content filtering) [OPTIONAL]
- specific_concerns: Known vulnerabilities or areas of focus [OPTIONAL]
- testing_authorization: Explicit authorization, environment, and boundaries for active testing [REQUIRED for live or active tests]
- safe_testing_mode: documentation-only, staging, production-readonly, or production-approved [OPTIONAL, defaults to documentation-only unless authorization is clear]
Authorized Testing Boundary
Only run active security tests on systems the user owns or is explicitly authorized to test. If authorization is absent or unclear, perform a documentation and architecture review only, using safe hypothetical examples instead of live payload execution.
For production systems:
- Prefer staging or read-only validation
- Avoid denial-of-service, destructive, persistence, or real exfiltration tests unless written scope explicitly permits them
- Redact credentials, secrets, PII, and sensitive prompt or model outputs in reports
- Stop and report if testing crosses the approved scope
The OWASP Top 10 for LLM Applications (2025)
Per-vulnerability description, attack scenarios, detection checks, and mitigations are in
references/llm-vulnerabilities.md. Read the entries relevant to the application's architecture.
| ID | Vulnerability |
|---|---|
| LLM01 | Prompt Injection |
| LLM02 | Sensitive Information Disclosure |
| LLM03 | Supply Chain Vulnerabilities |
| 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 |
Audit Procedure
Step 1: Application Understanding (15 minutes)
-
System inventory:
- Document LLM provider, model version, and configuration
- Map application architecture (APIs, databases, vector stores)
- Identify all data flows to and from the LLM
- List plugins, tools, and integrations
-
Threat modeling:
- Identify attack surfaces (user inputs, APIs, data sources)
- Determine data sensitivity classification
- Map trust boundaries between components
- Identify privileged operations the LLM can trigger
Step 2: Vulnerability Assessment (40-60 minutes)
For each of the 10 vulnerabilities, assess:
Prompt Injection (LLM01) - 10 min
- Test with known injection techniques (direct and indirect)
- Attempt to override system instructions
- Test with malicious content in external data sources
- Verify input validation and sanitization
Sensitive Information Disclosure (LLM02) - 5 min
- Attempt to extract training data
- Test for PII leakage in outputs
- Check for credential or API key exposure
- Verify output filtering effectiveness
Supply Chain (LLM03) - 5 min
- Review model provenance and source
- Check dependency versions and vulnerability status
- Verify plugin and integration security
- Review SBOM completeness
Data/Model Poisoning (LLM04) - 5 min
- Review data pipeline security
- Check fine-tuning data validation
- Verify model integrity monitoring
- Test with known trigger patterns
Improper Output Handling (LLM05) - 10 min
- Test for XSS through LLM outputs
- Attempt SQL injection via model responses
- Check command injection possibilities
- Verify output sanitization and encoding
Excessive Agency (LLM06) - 5 min
- Review agent permissions and capabilities
- Test privilege boundaries
- Verify human-in-the-loop for critical actions
- Check audit logging completeness
System Prompt Leakage (LLM07) - 5 min
- Attempt to extract system prompts
- Check for secrets in prompts
- Verify prompt protection mechanisms
Vector/Embedding Weaknesses (LLM08) - 5 min
- Review vector store access controls
- Test RAG retrieval for injection
- Verify data separation and filtering
Misinformation (LLM09) - 5 min
- Test for hallucination in critical domains
- Verify grounding and citation mechanisms
- Check confidence indicators
Unbounded Consumption (LLM10) - 5 min
- Test rate limiting effectiveness
- Verify token and cost limits
- Check timeout configurations
Step 3: Risk Scoring (15 minutes)
For each vulnerability found, score using:
Likelihood: How likely is exploitation?
- High: Known attack vectors, easy to exploit, publicly accessible
- Medium: Requires some skill or specific conditions
- Low: Difficult to exploit, limited attack surface
Impact: What is the potential damage?
- Critical: System compromise, major data breach, significant financial loss
- High: Unauthorized access, data exposure, service disruption
- Medium: Limited data exposure, partial service impact
- Low: Minor information disclosure, minimal impact
Step 4: Report Generation (20 minutes)
Compile comprehensive security assessment.
Output Format
The copy-ready audit report template (executive summary, findings per vulnerability, risk scoring,
remediation plan) is in references/report-template.md.
Quick Reference: Vulnerability Priority
| Priority | Vulnerabilities | Rationale |
|---|---|---|
| P0 | LLM01 (Prompt Injection), LLM02 (Data Disclosure) | Direct exploitation, high impact |
| P1 | LLM05 (Output Handling), LLM06 (Excessive Agency) | System compromise potential |
| P2 | LLM03 (Supply Chain), LLM04 (Poisoning) | Harder to exploit but severe impact |
| P3 | LLM07 (Prompt Leakage), LLM08 (Vector Weaknesses) | Enables further attacks |
| P4 | LLM09 (Misinformation), LLM10 (Unbounded Consumption) | Operational risk |
Best Practices
- Defense in depth: Never rely on a single security control
- Zero trust for LLM output: Treat all model output as untrusted
- Least privilege: Minimize AI agent permissions and capabilities
- Monitor continuously: Log and alert on anomalous AI behavior
- Test adversarially: Regular red-team exercises against AI features
- Secure the pipeline: Protect training data, models, and embeddings
- Human oversight: Maintain human-in-the-loop for critical operations
- Update regularly: Stay current with evolving attack techniques
- Educate users: Train users on safe AI interaction practices
- Plan for incidents: Have AI-specific incident response procedures
Version
1.0 - Initial release (OWASP Top 10 for LLM Applications 2025)
Remember: LLM security is an evolving field. New attack vectors emerge regularly. This audit provides a baseline assessment; continuous monitoring and periodic re-assessment are essential for maintaining security posture.
FAQ
What does the owasp-llm-top10 skill do?
Security audit for LLM and GenAI applications using OWASP Top 10 for LLM Apps 2025. Assess prompt injection, data leakage, supply chain, and 7 more critical vulnerabilities.
How do I install owasp-llm-top10?
Run npx skills add https://github.com/mastepanoski/claude-skills --skill owasp-llm-top10 in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/owasp-llm-top10/ (personal) or .claude/skills/owasp-llm-top10/ (project).
Which AI agents can use owasp-llm-top10?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is owasp-llm-top10 safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains owasp-llm-top10?
It is published by mastepanoski in mastepanoski/claude-skills. It has 393 recorded installs.
More from mastepanoski/claude-skills
wcag-accessibility-audit
mastepanoski/claude-skills
Comprehensive web accessibility audit using WCAG 2.1/2.2 guidelines. Evaluate compliance across 4 POUR principles (Perceivable, Operable, Understandable, Robust) with A, AA, AAA conformance levels.
ui-design-review
mastepanoski/claude-skills
Comprehensive visual design and aesthetics evaluation. Analyzes typography, color, spacing, hierarchy, consistency, branding, and current product-category conventions for polished, professional interfaces.
ux-audit-rethink
mastepanoski/claude-skills
Comprehensive UX audit using IxDF's 7 factors, 5 usability characteristics, and 5 interaction dimensions. Holistic evaluation with redesign proposals based on user-centered design principles.
nielsen-heuristics-audit
mastepanoski/claude-skills
Evaluate UX/UI using Jakob Nielsen's 10 usability heuristics. Comprehensive audit of visibility, control, consistency, error prevention, recognition, flexibility, aesthetics, error recovery, and documentation.
cognitive-walkthrough
mastepanoski/claude-skills
Deep-dive usability evaluation of specific user tasks. Simulates novice user cognition step-by-step to identify learnability issues, unclear actions, and points of confusion.
don-norman-principles-audit
mastepanoski/claude-skills
Evaluate UX/UI using Don Norman's 7 fundamental design principles from The Design of Everyday Things. Audit discoverability, affordances, signifiers, feedback, mapping, constraints and conceptual models.
Popular security skills
azure-compliance
microsoft/azure-skills
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
minimal-run-and-audit
lllllllama/rigorpilot-skills
Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.
seo-audit
coreyhaines31/marketingskills
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
firebase-security-rules-auditor
firebase/agent-skills
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
audit
pbakaus/impeccable
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
competitors
coreyhaines31/marketingskills
When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.