Owasp Llm Top10 logo

Owasp Llm Top10

Community
mastepanoski
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.

Overview

Publishermastepanoski
Repositoryclaude-skills
Skill nameowasp-llm-top10
Stars
63
Forks
4
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mastepanoski on GitHub. Read the source before you install it.

Installation

Install the Owasp Llm Top10 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mastepanoski/claude-skills/tree/main/skills/owasp-llm-top10
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mastepanoski/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/owasp-llm-top10 .claude/skills/owasp-llm-top10
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Owasp Llm Top10 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Owasp Llm Top10 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Owasp Llm Top10 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

IDVulnerability
LLM01Prompt Injection
LLM02Sensitive Information Disclosure
LLM03Supply Chain Vulnerabilities
LLM04Data and Model Poisoning
LLM05Improper Output Handling
LLM06Excessive Agency
LLM07System Prompt Leakage
LLM08Vector and Embedding Weaknesses
LLM09Misinformation
LLM10Unbounded Consumption

Audit Procedure

Step 1: Application Understanding (15 minutes)

  1. 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
  2. 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

PriorityVulnerabilitiesRationale
P0LLM01 (Prompt Injection), LLM02 (Data Disclosure)Direct exploitation, high impact
P1LLM05 (Output Handling), LLM06 (Excessive Agency)System compromise potential
P2LLM03 (Supply Chain), LLM04 (Poisoning)Harder to exploit but severe impact
P3LLM07 (Prompt Leakage), LLM08 (Vector Weaknesses)Enables further attacks
P4LLM09 (Misinformation), LLM10 (Unbounded Consumption)Operational risk

Best Practices

  1. Defense in depth: Never rely on a single security control
  2. Zero trust for LLM output: Treat all model output as untrusted
  3. Least privilege: Minimize AI agent permissions and capabilities
  4. Monitor continuously: Log and alert on anomalous AI behavior
  5. Test adversarially: Regular red-team exercises against AI features
  6. Secure the pipeline: Protect training data, models, and embeddings
  7. Human oversight: Maintain human-in-the-loop for critical operations
  8. Update regularly: Stay current with evolving attack techniques
  9. Educate users: Train users on safe AI interaction practices
  10. 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Owasp Llm Top10 AI 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.

Why use Owasp Llm Top10 on TypingMind?

Because you install it once and use it with any model. Owasp Llm Top10 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Owasp Llm Top10 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mastepanoski/claude-skills/tree/main/skills/owasp-llm-top10. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Owasp Llm Top10?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Owasp Llm Top10?

As many as you like. As long as a model supports skills, you can use Owasp Llm Top10 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Owasp Llm Top10 AI skill free?

Yes. It is published on GitHub by mastepanoski under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇