A model registry is the shared store where a team keeps its trained AI models and their versions.
This guide is for anyone who works near AI projects and wants a plain answer. You do not need to write code. If your company trains or downloads AI models, it probably has a registry, or needs one.
In short
- A model registry keeps each trained model, numbers its versions and records how each one was made.
- A label such as "champion" points at the version that is live, so moving the label changes what users get.
- That makes the registry part of the AI supply chain: whoever can write to it can change how your AI behaves.
- Lock it down with few writers, named owners, checked files and a record of every change.
What you will learn
- Explain what a model registry stores and why teams use one.
- Describe how a label decides which model version is live.
- Spot why some model files can run code when they are opened.
- Ask four simple questions about who can change your registry.
- Model library (model registry)
- the central store for trained models and their history.
- Live pointer (alias)
- a name such as "champion" that points at one model version.
- Robot account (service account)
- an account used by software, not a person, such as a build pipeline.
What is a model registry?
Think of a library for AI models. Each book has editions, a record of who wrote it, and a shelf label saying which edition to lend out today.
MLflow, a widely used open-source tool, describes its registry as a central model store, with tools and a screen to manage a model's whole life [1]. Each new save under the same name gets the next version number [1].
A registry also keeps notes, tags and lineage (a link back to the training run that made each version) [1]. That lets a team trace where a model came from.
Where the comparison stops working: a library book cannot change what it says. A model file is part of a running system, and some model files can even run code when they are loaded.
Why does it matter?
The registry decides which model your apps use. If the wrong person or robot account can change it, your AI can change without anyone noticing.
If you build or run AI models
What could happen: a tampered model version is promoted, and your app starts giving bad answers.
Check this: who, and which pipelines, can move the live label?
If you manage access or identities
What could happen: a build robot account with write rights is forgotten, and its key leaks.
Check this: every robot account that writes to the registry has an owner and only the rights it needs.
If you are new to security work
What could happen: someone downloads a model from the internet and loads it straight into the registry.
Check this: ask where outside models come from and how they are checked.
What does it look like?
Here is a made-up registry entry. The model sorts support tickets.
Example only. All values are made up.
Registered model: EXAMPLE-ticket-sorter Version 3 alias: champion (1) Version 4 alias: challenger (2) Made by run: run-0000-FAKE (3) File type: pickle (.pkl) (4) Last change by: svc-build-EXAMPLE (5)
- The "champion" label marks the version that apps load today.
- A newer version waiting to be tested.
- In a real file, this line would contain the ID of the training run, which is the lineage link.
- The file format. Pickle files can run code when opened.
- The account that made the last change. Here it is a robot account, not a person.
Why this is risky: the robot account in line 5 may also move the champion label. Then one leaked key could swap the live model.
The safer way: keep "save a new version" and "make it live" as separate rights. A person approves the second.
How does it work?
- Train a model. A training run produces a model file.
- Register it. The file is saved under a model name and gets the next version number [1].
- Test it. Teams add tags, for example to show it passed checks [1].
- Point the live label at it. An alias is a changeable name for one version. Moving the "champion" alias switches what live apps use, without changing the apps [1].
- Apps load the model. Software asks for "the champion" and gets whatever version the label points at.

This is why the registry is a supply chain point. OWASP lists supply chain weaknesses as a top risk for AI apps, and notes that tampered models can hide backdoors that safety checks miss [2]. MITRE ATLAS, a catalogue of attacks on AI, lists compromise of the AI supply chain, including the model itself, as a way in [3].
File format matters too. Hugging Face explains that loading a pickle file can run code hidden inside it, and advises against loading pickles from untrusted sources [4]. It points to safetensors, a format built for storing model weights, as a safer choice [4].
A worked example
This story is made up to show the idea.
Freya Mbeki leads a small data team. Her team keeps its models in a registry, and the live chatbot loads whichever version is labelled "champion".
During a review, Otto Brandt from security asks who can move that label. Nobody is sure. They find that the nightly build robot account can save versions and move the label. Its key sits in a pipeline setting that ten people can read.
They also find a model that a developer downloaded from a public site. It was registered as a pickle file, with no record of where it came from. Nobody had checked it.
Freya splits the rights. The build account can only save new versions. Moving the champion label now needs a named person. They store the key in a secrets manager and give the account an owner.
The downloaded model is removed until its source can be checked, and the team switches new saves to safetensors.
Otto adds one more step. Any outside model must now come from a known source, and someone must record where it came from before it is registered.
A month later the logs show every label move, with a name next to each one. When a test version misbehaves, the team can see who saved it and roll the label back in minutes.
Freya's lesson: the registry is not just a shelf for files. It is the gate to the live system, so it needs the same care as any other gate.
Myths and mistakes
| What people think | What is true |
|---|---|
| A model file is just data, so it is harmless. | Pickle model files can run code when loaded[4]. |
| The registry is only a data science tool. | It decides what reaches live apps, so it is part of the supply chain[2]. |
| A popular public model must be safe. | OWASP warns that tampered models can pass the checks of model hubs[2]. |
| A signed file is a safe file. | Signing shows where a file came from, not that it is safe[4]. |
| Only people change the registry. | Build pipelines and other robot accounts often do most of the writing. |
What can I do this week?
- Find out where your team's models are stored and who owns that system.
- List every person and robot account that can save versions or move live labels.
- Ask whether outside models are checked before they are registered.
- Ask which file formats your models use, and whether any are pickle files.
Checklist
- I can explain what a model registry stores.
- I know that a live label decides which version apps use.
- I know who can move the live label.
- Every robot account that writes to the registry has an owner.
- Saving a version and making it live are separate rights.
- Outside models are checked before they are registered.
- Changes to the registry are logged.
Common questions
Is a model registry the same as a model hub on the internet?
Not quite. A public hub is a place to share and download models. A company's registry is its own store of approved models, versions and live labels. Models from a hub should be checked before they enter your registry.
What is an alias in a model registry?
It is a named pointer, such as "champion", to one version of a model. Apps can load the model by its alias, so moving the alias changes which version they use[1].
Why does the registry need identity controls?
Pipelines and other robot accounts usually write to it. These are non-human identities. If one has too many rights, a leaked key could change your live model, so each needs an owner and least privilege.
What is the safest file format for models?
Hugging Face recommends safetensors over pickle for weights, because loading a pickle can run code[4]. Format alone is not enough. You still need to know where the model came from.
Where next?
Ready for the detail? Read the practitioner guide: Securing the Model Registry. It covers admin roles, service accounts, signing and logs.
Also useful:
- AI Supply Chain Security for Beginners
- AI Supply Chain and AI-BOM Guide
- Machine Learning for Beginners
Related NHI Mgmt Group resources: Service Accounts for Beginners, Least Privilege for Beginners and AI Model Security Guide.
Key terms
- Model registry
- A system used to store, version and track machine learning models and their details.
- Model alias
- A stable name that points to one model version and can be moved to another.
- AI supply chain
- The full chain of models, data, tools and suppliers that shape a deployed AI system.
- Pickle deserialization
- Loading a Python pickle file back into objects, which can run code hidden in the file.
- Safetensors
- A file format for model weights that avoids running embedded code when a model is loaded.
- Service account
- An account used by software or automated tools rather than a person.
- Least privilege
- Giving each person or system only the access it needs, and no more.
Sources and further reading
- MLflow, "MLflow Model Registry", MLflow documentation. https://mlflow.org/docs/latest/ml/model-registry/ (accessed 1 Dec 2026).
- OWASP, "LLM03:2025 Supply Chain", OWASP Top 10 for LLM Applications 2025. https://genai.owasp.org/llmrisk/llm032025-supply-chain/ (accessed 1 Dec 2026).
- MITRE, "AML.T0010 AI Supply Chain Compromise", MITRE ATLAS. https://atlas.mitre.org/techniques/AML.T0010 (accessed 1 Dec 2026).
- Hugging Face, "Pickle Scanning", Hugging Face Hub documentation. https://huggingface.co/docs/hub/security-pickle (accessed 1 Dec 2026).