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
Download the skill as a ZIP:
https://autogineer.com/agent-skills/microsoft/owasp-llm/downloadUnzip 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)
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.01through10— 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
- ATTRIBUTION.mdAdded by AutoGineer973 B
- LICENSEAdded by AutoGineer17.9 KiB
- SKILL.md2.5 KiB
- references/00-vulnerability-index.md3.0 KiB
- references/01-prompt-injection.md8.4 KiB
- references/02-sensitive-information-disclosure.md6.8 KiB
- references/03-supply-chain.md6.9 KiB
- references/04-data-and-model-poisoning.md8.0 KiB
- references/05-improper-output-handling.md7.6 KiB
- references/06-excessive-agency.md6.4 KiB
- references/07-system-prompt-leakage.md5.8 KiB
- references/08-vector-and-embedding-weaknesses.md6.2 KiB
- references/09-misinformation.md6.9 KiB
- references/10-unbounded-consumption.md7.4 KiB
references/03-supply-chain.md
title: 'LLM03: Supply Chain' description: OWASP LLM Top 10 reference for supply chain vulnerabilities in LLM training data, models, and deployment platforms
03 Supply Chain
Identifier: LLM03:2025 Category: Supply Chain
Description
LLM supply chains are susceptible to various vulnerabilities that can affect the integrity of training data, ML models, deployment platforms, and operational workflows. These vulnerabilities can result in biased outcomes, security breaches, or complete system failures.
AI extends traditional software supply chain risks with pre-trained models and training data supplied by third parties that are susceptible to tampering and poisoning attacks. LLM plugin extensions can also introduce their own vulnerabilities.
Risk
Biased outcomes from poisoned or manipulated training data.
Security breaches from compromised components, models, or plugins.
Complete system failures from vulnerable dependencies in the model execution pathway.
Intellectual property theft from model, code, or data exfiltration by compromised suppliers.
Legal exposure from unclear licensing terms covering model weights, source code, and web-scraped or copyrighted training data.
Malware distribution through compromised model artifacts such as malicious pickling.
Backdoor introduction through poisoned LoRA adapters or model merging processes.
Sensitive data exposure from unclear terms and conditions and data privacy policies.
Vulnerability checklist
Outdated or deprecated components are used without regular vulnerability checks, including components running on top of the model's execution pathway.
Licensing risks from diverse frameworks covering model weights, source code, and training data are not properly evaluated.
Outdated or deprecated models that are no longer maintained are in use.
Pre-trained models are used without safety evaluations for hidden biases, backdoors, or other malicious features.
No strong model provenance verification exists for external models and their associated artifacts.
LoRA adapters from untrusted sources are bolted onto base models without verification.
Shared model merging or Mixture of Experts processing uses unverified or poisoned community models.
On-device ML models are sourced without verification of supplier integrity or hardware and software attack mitigations.
Terms and conditions and data privacy policies of model operators are unclear or require explicit opt-out from data usage for training.
Prevention controls
Carefully vet data sources and suppliers, including terms and conditions and privacy policies, only using trusted suppliers. Regularly review and audit supplier security and access.
Apply vulnerability scanning, management, and patching of components following OWASP A06:2021 guidance. For development environments with access to sensitive data, apply these controls in those environments as well.
Apply comprehensive AI red teaming on supplied models to verify they have been evaluated and checked for vulnerabilities.
Maintain an up-to-date inventory of components using a Software Bill of Materials (SBOM) to ensure an accurate and signed inventory, preventing tampering with deployed packages.
Use MLOps best practices and platforms offering secure model repositories with data, model, and experiment tracking to ensure supply chain integrity.
Use model and code signing when using external models and suppliers.
Implement anomaly detection and adversarial robustness tests on supplied models and data to detect tampering and poisoning.
Implement sufficient monitoring to cover component and environment vulnerabilities, unauthorized plugins, and out-of-date components, including the model and its artifacts.
Implement a patching policy to mitigate vulnerable or outdated components. Ensure that the application relies on a maintained version of APIs and the underlying model.
Example attack scenarios
Scenario A — Vulnerable library exploitation
An attacker exploits a vulnerable Python library to compromise an LLM application, leading to unauthorized data access.
Scenario B — Malicious LLM plugin
An attacker provides an LLM plugin for flight search that generates fake links leading to scamming users.
Scenario C — Poisoned pre-trained model
An attacker poisons a publicly available pre-trained model specializing in economic analysis and social research to create a backdoor that generates misinformation. They deploy it on a model marketplace for victims to use.
Scenario D — Compromised LoRA adapter
An attacker exploits a vulnerable LoRA adapter hosted on a public model repository, uploaded by a seemingly trusted contributor, to inject malicious behavior into any base model that loads the adapter's weights.
Scenario E — Model editing attack
An attacker uses a technique such as ROME (Rank-One Model Editing) to modify factual associations in a base model, embedding triggers or persistent misinformation that is then offered as a legitimate pre-trained model.
Scenario F — Compromised supplier exfiltration
A compromised employee of a supplier such as an outsourcing developer or hosting company exfiltrates data, model, or code, stealing intellectual property.
Scenario G — Terms and conditions data exposure
An LLM operator changes its terms and conditions and privacy policy so that it requires an explicit opt out from using application data for model training, which could lead to memorization of sensitive data.
Detection guidance
Scan all components for known vulnerabilities using automated vulnerability scanning tools.
Audit model provenance and verify signed artifacts and checksums for all external models.
Monitor for unauthorized plugins and out-of-date components including the model and its artifacts.
Review terms and conditions and privacy policies of all suppliers regularly for changes.
Use anomaly detection and adversarial robustness tests on supplied models to detect tampering and poisoning.
Inspect LoRA adapters and model merge contributions from community sources for malicious modifications.
Remediation
Replace all outdated or deprecated components and models with maintained, patched versions.
Verify model provenance and apply code and model signing for all external artifacts.
Update the Software Bill of Materials to include all current components with supply chain security analysis.
Implement a patching policy for all vulnerable or outdated components.
Apply AI red teaming to all supplied models to identify and remediate vulnerabilities.
Renegotiate or discontinue use of suppliers with unclear terms and conditions or inadequate privacy policies.
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 or Microsoft.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-llm.zip