Generated banner for Owasp LLM
Generated logo for Owasp LLM

Owasp LLM

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Security
  • CC-BY-SA-4.0
  • No issues found

From the author

OWASP Top 10 for LLM Applications (2025) knowledge base for identifying, assessing, and remediating large language model security risks.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The owasp-llm skill provides a machine-readable implementation of the OWASP Top 10 for LLM Applications (2025). It serves as a comprehensive reference for developers and security professionals to understand, detect, and mitigate vulnerabilities inherent in large language model systems. Each of the ten identified risks is documented with detailed descriptions, risk assessments, vulnerability checklists, and actionable prevention and remediation strategies.

What it does

  • Provides a structured index of the 2025 OWASP LLM Top 10 vulnerabilities.
  • Offers detailed breakdowns for each vulnerability, including risk impact and attack scenarios.
  • Includes specific vulnerability checklists to help identify system exposure.
  • Supplies defensive measures and remediation guidance for each security risk.
  • Categorizes risks into logical groups like Input Integrity, Data Protection, and Access Control.

When to use it

  • During the design phase of an LLM-integrated application to implement security by design.
  • When performing a security audit or risk assessment of an existing LLM system.
  • To train development teams on common LLM-specific security threats.
  • When developing remediation plans for identified security vulnerabilities in AI workflows.

Advantages

  • Standardized, industry-recognized framework for LLM security.
  • Machine-readable format suitable for integration into automated security agents.
  • Covers both direct and indirect attack vectors, including multimodal risks.
  • Provides clear, actionable steps for both detection and long-term remediation.

Usage examples

“What are the primary risks associated with Prompt Injection according to the OWASP LLM Top 10?”
The agent retrieves the LLM01:2025 documentation, detailing direct and indirect injection risks, potential consequences like data exfiltration, and a checklist for identifying exposure.
“How can I prevent Excessive Agency in my LLM agent?”
The agent references LLM06:2025, providing guidance on enforcing least privilege, implementing human-in-the-loop requirements for high-risk actions, and defining strict capability boundaries.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/microsoft/owasp-llm/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip owasp-llm.zip -d .agents/skills

Documentation by Microsoft

OWASP® LLM Top 10 — Skill Entry

This SKILL.md is the entrypoint for the OWASP LLM Top 10 skill.

The skill encodes the OWASP Top 10 for LLM Applications (2025) as structured, machine-readable references that an agent can query to identify, assess, and remediate security risks in large language model systems.

Normative references (LLM Top 10)

  1. 00 Vulnerability Index

  2. 01 Prompt Injection

  3. 02 Sensitive Information Disclosure

  4. 03 Supply Chain

  5. 04 Data and Model Poisoning

  6. 05 Improper Output Handling

  7. 06 Excessive Agency

  8. 07 System Prompt Leakage

  9. 08 Vector and Embedding Weaknesses

  10. 09 Misinformation

  11. 10 Unbounded Consumption

Skill layout

  • SKILL.md — this file (skill entrypoint).

  • references/ — the LLM Top 10 normative documents.

    • 00-vulnerability-index.md — index of all vulnerability identifiers, categories, and cross-references.

    • 01 through 10 — one document per vulnerability aligned with OWASP LLM Applications numbering.

Third-Party Attribution

Copyright © OWASP Foundation. OWASP® Top 10 for LLM Applications (2025) content is derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Source: https://genai.owasp.org/resource/owasp-top-10-for-llm-applications-2025/ Modifications: Vulnerability descriptions restructured into agent-consumable reference documents with added detection and remediation guidance. OWASP® is a registered trademark of the OWASP Foundation. Use does not imply endorsement.

Files

references/09-misinformation.md


title: 'LLM09: Misinformation' description: OWASP LLM Top 10 reference for misinformation risks where LLMs generate false or misleading content presented as factual

09 Misinformation

Identifier: LLM09:2025 Category: Output Reliability

Description

Misinformation from LLMs poses a core vulnerability for applications relying on these models. Misinformation occurs when LLMs produce false or misleading information that appears credible. This vulnerability can lead to security breaches, reputational damage, and legal liability.

One of the major causes of misinformation is hallucination — when the LLM generates content that seems accurate but is fabricated. Hallucinations occur when LLMs fill gaps in their training data using statistical patterns without truly understanding the content. While hallucinations are a major source of misinformation, they are not the only cause; biases introduced by the training data and incomplete information can also contribute.

A related issue is overreliance, where users place excessive trust in LLM-generated content, failing to verify its accuracy. This overreliance exacerbates the impact of misinformation, as users may integrate incorrect data into critical decisions or processes without adequate scrutiny.

Risk

  • Security breaches from users making decisions based on false or fabricated information.

  • Reputational damage from LLM-generated misinformation attributed to the organization.

  • Legal liability from harmful or incorrect LLM outputs, as demonstrated by legal actions against organizations whose chatbots provided misinformation.

  • Healthcare harm from inaccurate medical information or misrepresentation of treatment complexity.

  • Legal complications from fabricated case citations or baseless assertions in legal proceedings.

  • Software vulnerabilities introduced through hallucinated or insecure code library suggestions.

  • Erosion of user trust from the model giving the illusion of understanding complex topics it does not actually comprehend.

Vulnerability checklist

  • The LLM generates factually incorrect statements that users may rely on for decisions.

  • No Retrieval-Augmented Generation mechanism is in place to ground model outputs in verified external data.

  • Users are not informed about the potential for LLM misinformation or hallucination.

  • No automatic validation mechanisms exist for key LLM outputs in high-stakes environments.

  • Code suggestions from the LLM are not verified against trusted package registries before integration.

  • Human oversight and fact-checking processes are absent for critical or sensitive information.

  • AI-generated content is not clearly labeled in user interfaces.

  • Users are not provided domain-specific training to evaluate LLM outputs within their field of expertise.

Prevention controls

  1. Use Retrieval-Augmented Generation (RAG) to enhance output reliability by retrieving relevant and verified information from trusted external databases during response generation.

  2. Enhance the model with fine-tuning or embeddings to improve output quality. Techniques such as parameter-efficient tuning (PET) and chain-of-thought prompting can help reduce the incidence of misinformation.

  3. Encourage users to cross-check LLM outputs with trusted external sources. Implement human oversight and fact-checking processes, especially for critical or sensitive information. Ensure that human reviewers are properly trained to avoid overreliance on AI-generated content.

  4. Implement tools and processes to automatically validate key outputs, especially in high-stakes environments.

  5. Clearly communicate risks and limitations to users, including the potential for misinformation. Identify the risks and possible harms associated with LLM-generated content.

  6. Establish secure coding practices to prevent integration of vulnerabilities due to incorrect code suggestions.

  7. Design APIs and user interfaces that encourage responsible use, integrating content filters, clearly labeling AI-generated content, and informing users on limitations of reliability and accuracy.

  8. Provide comprehensive training for users on LLM limitations, the importance of independent verification of generated content, and the need for critical thinking. In specific contexts, offer domain-specific training to ensure users can effectively evaluate LLM outputs within their field of expertise.

Example attack scenarios

Scenario A — Malicious package hallucination

Attackers experiment with popular coding assistants to find commonly hallucinated package names. Once they identify these frequently suggested but nonexistent libraries, they publish malicious packages with those names to widely used repositories. Developers, relying on the coding assistant's suggestions, unknowingly integrate these poisoned packages into their software, leading to unauthorized access, malicious code injection, or backdoors.

Scenario B — Unreliable medical chatbot

A company provides a chatbot for medical diagnosis without ensuring sufficient accuracy. The chatbot provides poor information, leading to harmful consequences for patients. As a result, the company is successfully sued for damages. In this case, the safety and security breakdown did not require a malicious attacker but arose from insufficient oversight and reliability of the LLM system.

Detection guidance

  • Monitor model outputs for factual accuracy through automated validation tools that cross-reference responses against trusted knowledge bases.

  • Cross-check LLM outputs with trusted external sources to identify fabricated or unsupported claims.

  • Test for hallucination by evaluating model responses against known facts in controlled test scenarios.

  • Review code suggestions for references to non-existent libraries or packages by validating against package registries.

  • Audit model responses in high-stakes environments for unsupported claims or baseless assertions.

  • Track user reports of inaccurate information to identify patterns in model misinformation.

Remediation

  • Implement Retrieval-Augmented Generation to ground model outputs in verified information from trusted external databases.

  • Enhance the model with fine-tuning or embeddings using techniques such as parameter- efficient tuning and chain-of-thought prompting to improve output quality.

  • Add human oversight and fact-checking processes for all critical or sensitive information.

  • Deploy automatic validation mechanisms for key outputs in high-stakes environments.

  • Clearly label AI-generated content and communicate risks and limitations to users.

  • Establish secure coding practices and verification processes for all LLM-suggested code and packages before integration.


Content derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Modifications: Restructured into agent-consumable reference format with added detection and remediation guidance.

Requirements and compatibility

Written for: GitHub Copilot, Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/security/owasp-llm · commit f425e94
Licence
Creative Commons Attribution-ShareAlike 4.0 International (redistribution allowed)
  • LICENSE (written by AutoGineer)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-llm.zip