An AI software supply chain includes the assets and services that determine what an application loads, learns from, retrieves and can call. A package inventory remains useful, but it may not identify the model revision, fine-tuning adapter, retrieval corpus or custom loader code in use. The first practical task is to connect those dependencies to the deployed service and an accountable owner.
New AI security tools make scope important
On October 28, 2026, GitHub announced code scanning for AI applications in public preview. Its announced coverage includes risky agent code paths, with prerequisites and licensing requirements. A code-scanning result addresses its supported checks; it is not a certification of every model, dataset or remote service used by the application.
OWASP’s LLM supply-chain risk guidance extends the discussion beyond conventional packages to third-party models, training data and deployment components. Use that wider boundary when building an inventory. Otherwise a clean software-dependency report can coexist with an unidentified model download or an undocumented source of fine-tuning data.
Map the AI software supply chain by relationship
Begin with one application and draw the dependencies it actually uses. Separate development and training assets from inference assets. A dataset used to fine-tune an adapter has a different role from documents retrieved at request time. A package needed only for an experiment should not silently be treated as part of the production runtime.
| Asset or service | Identity to record | Relationship to explain |
|---|---|---|
| Model and adapter | Publisher, repository and identifiable revision | Which base and configuration are loaded together? |
| Data and retrieval corpus | Source, version or snapshot and permitted use | Training, evaluation or request-time context? |
| Loader, runtime and tools | Code/package version, endpoint and owner | What executes, and what can it access? |
In a fictional internal knowledge assistant, a base model is combined with an adapter, an embedding model, an indexed document snapshot and a ticket-search connector. Recording only the chat model name misses several independent change paths. A changed embedding model can require checking the index relationship; a changed connector can alter which records the application retrieves even when the model weights stay the same.
The inventory does not need to contain the documents, model weights or credentials themselves. Store approved references and identifiers with enough information to locate the evidence. Keep private access material in its existing protected system. An inventory should help identify an affected deployment without becoming a second store of sensitive content.
Record exact artifacts and the limits of visibility
A model family name is not an exact artifact identity. Record the specific source and revision, relevant configuration, associated tokenizer or processor, and any applied adapter or conversion that the application depends on. Preserve the relationship between a derived artifact and its base instead of treating the derivative’s new filename as its complete history.
For a hosted model API, you may not receive weight files or a verifiable internal training history. Record the endpoint, account boundary, model identifier or version the provider exposes, and the provider’s documented change terms. Mark unavailable information as unavailable. Do not invent a checkpoint hash or claim a remote service is frozen when the evidence does not establish that.
Use separate fields for a supplier statement and an observation from your deployment. “The model card says this is based on model X” is a claim with a source. “This deployment loaded revision Y using configuration Z” is an operational observation. Both can be valuable, but combining them into one unchecked “verified” label removes useful uncertainty.
Use model and dataset cards as evidence inputs
Hugging Face’s model-card documentation describes information such as intended use, limitations, training information, evaluation results and relationships to base models. Read the card for the artifact being considered and preserve its revision with your review. A card explains what has been documented; its presence does not prove every statement independently.
The platform’s dataset-card documentation similarly describes context, potential bias and metadata including license, language and size. For your use, also record which snapshot or subset entered a particular training, evaluation or retrieval stage. A dataset’s display name is not enough to distinguish later changes or a locally filtered version.
Keep rights and access questions visible without guessing answers. Record declared licenses, restrictions and the responsible reviewer, especially when data or models are combined. If the public record does not identify a training source, preserve that gap rather than assuming a familiar model name supplies permission or complete lineage.
Treat loader code as executable software
A model repository can include more than numerical weights. Hugging Face’s Transformers loading guidance warns about custom modeling code and describes loading a specific revision as an additional precaution. The trust_remote_code option is therefore a code-trust decision, not a routine compatibility fix to enable without review.
Identify the code that runs while loading, converting or serving the artifact, and review it under the application’s software controls. A fixed revision limits unexpected change; it does not make already-selected code harmless. Qualify the loader in a bounded environment with the resources it actually needs, rather than providing production secrets merely to discover whether a new model loads.
Do not generalize from one file format or hosting platform to every execution path. A pipeline may still invoke preprocessing code, install packages or contact a service. Inventory those operations and their owners. A malware-scan badge or successful file download cannot establish that the entire pipeline behaves appropriately for your task.
Turn an update into a specific impact review
- Identify the changed asset and the deployments that consume it. Include derived artifacts, adapters, indexes and cached copies where they affect the deployed behavior.
- Determine which prior evidence remains applicable. A new model revision, data snapshot or loader can invalidate different parts of a previous qualification.
- Run the relevant acceptance and safety checks on representative permitted inputs, keeping the previous baseline identified. Record failures and limits as well as successful cases.
- Approve the bounded change through the normal release process and retain a supported recovery path. Update the asset relationships and owner records when it reaches the target environment.
For the fictional assistant, replacing the chat model and rebuilding the retrieval index in the same release can make a regression harder to explain. Where practical, qualify changes separately or explicitly test their interaction. The point is not to freeze all dependencies; it is to make each change attributable and reviewable.
Make the inventory answer an operational question
Choose a harmless exercise: a particular adapter revision is no longer approved for new deployments. Can the team identify where it is loaded, which services are affected, who owns the decision and which supported alternative has been qualified? Record unknowns and manual steps. This is a proposed inventory check, not a compromise simulation performed for this article.
Also check the reverse path from a live deployment record back to its approved inputs. A well-maintained catalog can still drift from what a service actually loads. If the two disagree, preserve the evidence and resolve the source of the difference before claiming coverage is complete.
An effective AI supply-chain inventory is a connected set of identities, relationships, evidence and owners. It makes missing knowledge visible and gives updates a defined review path. Start with one deployed application, prove that the map answers a real change question, and expand from that verified boundary.



