OWASP LLM03
LLM03 Supply Chain Risks: Securing Models, Plugins and Datasets
OWASP LLM Top 10 · 2025 edition · Updated 25 November 2026 · Independent educational guide
New to LLMs, classifiers or RAG? Read the beginner FAQ and terminology.
Building an action-taking agent? Read the full agent runtime security guide for execution-time boundaries, safe tests and OWASP mapping.
Read the dated field-test post.
What is supply chain in LLM applications?
LLM supply chain risk comes from third-party components you did not build: pre-trained models, fine-tuning adapters, plugins, SDKs and datasets. A compromised or silently changed component can introduce backdoors, bias or vulnerabilities. Pin versions, verify sources and review changes before they reach production.
What counts as the LLM supply chain?
Everything your AI feature depends on from outside: hosted model APIs and their versions, open-weight models and adapters downloaded from hubs, embedding models, vector database libraries, agent frameworks, plugins and tool integrations, and any public datasets used for fine-tuning or retrieval. Each one can change behaviour or carry malicious code.
Why should I pin model versions?
Hosted model aliases can be updated by the provider, changing how the model responds to your prompts and guardrails without any code change on your side. Pinning a specific version keeps behaviour predictable and lets you re-test safety checks deliberately before moving to a newer model.
How do I audit my app for OWASP LLM03?
Produce an inventory of models, adapters, plugins and datasets with their sources and versions. Check that downloads come from trusted publishers, that files are verified, and that dependency updates go through review. Prefer safe model file formats and scan open-source packages for known vulnerabilities.
What does this OWASP LLM risk look like in practice?
Illustrative scenario: An unreviewed plugin update introduces a new tool permission or model behaviour.
How can I test it safely?
Compare the proposed dependency or model version with the pinned version in staging. Review source and permissions, then rerun your existing safety and normal-use tests before approving the upgrade.
What evidence should I keep?
Retain the source, version, integrity information, permission changes and regression results; a pinned version alone is not proof it is safe.
LLM03 audit checklist
- Keep an inventory of models, plugins and datasets
- Pin model and package versions
- Download only from trusted, verified sources
- Re-test guardrails before upgrading models
- Scan dependencies for known vulnerabilities
Control to consider: Dependency and model pinning. Some controls run outside the request path; model inline checks, then measure your own deployment.
General guidance only, written with AI assistance and human oversight. Verify against your own system and the official OWASP project before relying on it.
Sources and scope
- OWASP Top 10 for LLM Applications — authoritative risk definitions; this guide follows the 2025 edition.
Examples and checklists are our explanatory guidance, not an official OWASP audit, endorsement or a test of your application. Calculator values are modelled assumptions, not detector benchmarks.