To model AI supply chain risk, list every outside component your AI system depends on, such as models, datasets, libraries, plugins and hosted services. Then rate each for how much you trust its source, what it can touch, and what failure would cost. Review the list whenever a component changes.
What is in an AI supply chain?
A normal software supply chain has source code, packages, build tools and registries. An AI system adds more layers. There are pretrained model weights, fine tuning data, embedding models, prompt templates, vector stores, agent tools and plugins, and the hosted inference service. Each has an owner who is not you.
OWASP lists supply chain vulnerabilities as one of the risks for LLM applications, covering third party models, datasets and plugins. MITRE ATLAS catalogs adversary techniques against AI systems, including poisoning data and compromising model artifacts, and gives you a shared vocabulary.
What can go wrong at each layer?
Weights downloaded from a public hub may be tampered with, or use a file format that can run code when loaded. Training or retrieval data can be poisoned so the model behaves badly on chosen inputs. A library you import may be compromised like any other package. A plugin may request more permissions than it needs. A hosted model can change behavior when the provider updates it.
A constructed example. A support chatbot uses a fine tuned open model, a vector database filled from a shared documentation site, and a plugin that creates tickets. Anyone who can edit the documentation site can plant text that the chatbot later retrieves and obeys. That path never touched the model, which is why the model alone is the wrong unit of analysis.
How do you build the model?
Use a simple register, one row per component, and keep it in version control.
- Name the component, version and where it came from.
- Record who controls it: you, a vendor, or the public.
- Note what it can access: data, tools, network.
- Rate trust in the source from low to high, with the reason.
- Rate impact if the component misbehaves.
- List the existing control, such as hash pinning, review or sandbox.
Rank by trust low and impact high. Those rows get attention first.
The NIST AI Risk Management Framework gives a structure for this work through its four functions: govern, map, measure and manage. The register is mostly the map step, and ratings and controls feed measure and manage.
Which controls give the most return?
Pin versions and verify hashes for weights, datasets and libraries, so a silent swap fails loudly. Prefer formats that do not execute code on load. Control who can write to retrieval sources, since that is an input channel. Give agents and plugins the narrowest permissions. Log model and prompt versions with each response so an incident can be traced. Keep a way to roll back to a known good model quickly.
A bill of materials helps. A software bill of materials covers libraries and packages today. For models and datasets, track the same facts yourself: source, version, license, checksum.
How to check or apply this
- Draw one diagram of a single AI feature showing all inputs and tools.
- Fill the register from that diagram.
- Mark rows where trust is low and impact is high.
- For each, add one control and an owner with a date.
- Add a trigger to update the register when a model, dataset or dependency changes.
- Scan the code dependencies in the same project with your usual tools, as the AI layer sits on ordinary packages too.
Quick check
Is a model card enough to trust a model?
No. A model card describes intended use and known limits as the author states them. It does not prove the file you downloaded is the one described.
Who owns AI supply chain risk, security or the ML team?
Both. ML teams know the components, security knows the threats. Name one accountable owner for the register.
Sources
Last reviewed: 18 October 2026.