Join our Newsletter — 33% off our NHI Course
Home› Guides› Securing the Model Registry: Admin Roles, Service Accounts,…
Guide AI Platforms

Securing the Model Registry: Admin Roles, Service Accounts, Signing and Logs

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

The model registry decides which model versions reach production, so whoever can write to it or change a stage label can change what your AI systems do. A registry holds model artefacts and weights, their lineage and metadata, and the promotion state (for example staging, production or archived) that deployment pipelines read. Training jobs, CI pipelines and serving platforms reach it through service accounts and tokens, and its artefacts sit in object storage that is often more open than the registry itself. This guide covers preventive controls for any model registry: administrative roles, promotion rights, service accounts and tokens, artefact signing and verification, storage protection, logging and lifecycle. It is vendor-neutral and written for ML platform engineers, MLOps teams and security architects. Product-specific settings are in the MLflow and Kubeflow Security Guide.

Key takeaways

  • Promotion is the privileged action. Moving a version to production, or repointing an alias, is a deployment. Restrict it to a small group or a pipeline identity and require approval.
  • Protect the storage, not just the registry interface. If someone can overwrite the artefact in the bucket behind the registry, registry permissions do not matter.
  • Sign at registration, verify at deployment. A signed manifest of file hashes, checked by the serving pipeline before load, makes tampering detectable.
  • Service accounts outnumber people. Training, CI and serving identities each need their own narrow, short-lived credential.
  • Log promotions and artefact reads centrally. Unexpected stage changes and bulk downloads of weights are the two events that matter most.

What the registry controls and why it is a target

OWASP's Top 10 for LLM Applications 2025 lists weak model provenance and tampered pre-trained models under LLM03 Supply Chain, noting that model cards give no guarantee of a model's origin. Inside your own estate, the registry is where provenance is either kept or lost.

AssetThreatRelevant technique
Model weights and artefactsTheft of proprietary modelsMITRE ATLAS AML.T0035 AI Artifact Collection, AML.T0025 Exfiltration via Cyber Means
Registered versionsReplacement with a backdoored or altered modelAML.T0018 Manipulate AI Model
Stage labels and aliasesPromoting an unapproved or malicious version to productionAML.T0010 Supply Chain Compromise
Imported third-party modelsPoisoned upstream models entering the registryAML.T0058 Publish Poisoned Models
Metadata, lineage and run parametersReconnaissance on training data and architectureAML.T0007 Discover AI Artifacts
Registry tokens and storage keysCredential theft leading to all of the aboveATT&CK T1528 Steal Application Access Token

Unsafe serialisation adds a second risk: some model file formats can execute code when loaded, so a tampered artefact can compromise the serving host as well as the model's behaviour. See the AI Model File Formats Compared for Security guide.

Administrative roles and promotion rights

The joint April 2024 guidance Deploying AI Systems Securely from the NSA AI Security Center, CISA, FBI, NCSC and partner agencies recommends role-based or attribute-based access control, separate user and administrator accounts, phishing-resistant MFA and two-person control for privileged access to model weights. Applied to a registry:

RoleShould be able toShould not be able to
Registry administratorManage authentication, permissions, storage configurationPromote models to production, delete production versions alone
Data scientistRegister new versions in their project, read lineage and metricsChange stages beyond staging, overwrite existing versions
Model approverApprove promotion after evaluation and reviewRegister the versions they approve
Training pipeline identityCreate versions and upload artefacts in one projectPromote, delete or read other projects
Deployment pipeline identityRead approved versions, perform the promotion once approval is recordedRegister new versions or change permissions
Serving identityRead artefacts of production versions it servesWrite anything, read non-production versions
  • Immutable versions: configure the registry so a registered version cannot be overwritten. A fix is a new version.
  • Promotion as change: treat production promotion as a change under CM-3 and CM-5, recorded with the approver, the evaluation results and the artefact digest. The AI Model Change Approval Template gives a starting form.
  • Project isolation: separate projects or namespaces per team or sensitivity, so a token for one team cannot reach another team's models.
  • SSO and MFA: human access through your identity provider with group-based roles; no local registry passwords other than a vaulted break-glass account.

Service accounts and tokens

A registry typically has more machine callers than people: training jobs, CI pipelines, evaluation jobs, serving platforms, notebooks and feature pipelines. Each is a non-human identity. The Hugging Face Spaces breach is a reminder that tokens stored on model platforms are a target in their own right; after the incident the platform revoked exposed tokens and removed org tokens.

  • Federate where possible: let pipelines authenticate with workload identity (OIDC tokens from the CI system or cloud workload identity) rather than stored registry tokens. See the Workload Identity Federation Guide.
  • One identity per job type: do not share a training token with serving. Separate read and write identities so a compromised serving host cannot register or promote.
  • Short lifetimes: where tokens are unavoidable, set expiry and rotate. Personal access tokens from data scientists should never be used by pipelines.
  • Notebooks: notebook environments often hold a user's registry token with full rights. Scope notebook credentials to registration in a sandbox project. See the Securing the data science notebook platform itself guide.
  • Storage credentials: the registry's own credential to its artefact store should be the only principal with write access to that bucket or path.

Artefact signing and verification

Signing turns "this version came from our training pipeline" from an assumption into something the deployment pipeline can check. The OpenSSF-linked model signing project (sigstore/model-transparency) hashes every file in a model directory, produces a manifest of path and digest pairs, and signs it as a Sigstore bundle with an in-toto statement. It supports Sigstore keyless signing tied to an OIDC identity, private keys, certificates with optional RFC 3161 timestamps, and PKCS #11 hardware. Verification recomputes the hashes and checks the signer identity. The Model Signing and OpenSSF Model Signing Guide covers the tooling in depth.

  1. Sign in the pipeline, not by hand: the training or packaging job signs immediately after the artefact is produced, using its workload identity. This mirrors the SLSA v1.2 Build track, where Level 2 requires a hosted build platform that signs provenance and Level 3 keeps signing secrets away from user-defined build steps.
  2. Record the digest in the registry: store the manifest digest as version metadata so approvers approve a specific, immutable artefact.
  3. Verify before promotion and before load: the deployment pipeline verifies signature and signer identity before promoting; the serving platform verifies again before loading. Fail closed.
  4. Sign imports too: when you import a third-party model, scan it, record its upstream source and hash, then sign it with an import identity so the registry only ever holds signed artefacts.
  5. Archive hashes separately: the joint guidance recommends keeping hashes and encrypted copies of each release in a tamper-proof location, with keys in a vault or HSM separate from the data.
Signing approachStrengthsTrade-offs
Keyless signing with workload OIDC identityNo long-lived signing key; signer identity is the pipeline; transparency log entryDepends on the OIDC issuer and transparency log being reachable; public log reveals signing events unless you run a private instance
Private key held in KMS or HSMWorks offline and in air-gapped estates; simple verificationKey management and rotation burden; key compromise signs anything
Certificates from an internal PKIFits existing PKI and revocation; timestamping supports long-term validationNeeds PKI operations and certificate profiles for ML pipelines

Storage and network protection

  • Bucket access: only the registry's storage identity writes; serving identities read production paths only; no public access; deny direct human writes.
  • Object versioning and immutability: enable versioning and, for production artefacts, retention locks so deletion or overwrite needs a separate, logged action.
  • Encryption: encrypt weights at rest (SC-28) with keys you control in your KMS, as the joint guidance recommends for weights and logs.
  • Network exposure: keep the registry API and artefact storage on private endpoints. Treat any registry endpoint reachable from the internet as a finding.
  • Download paths: serving should pull through the registry or a signed URL with short expiry, not a shared storage key baked into images.

Logging and detection

EventWhy it matters
Stage or alias change to productionUnapproved deployment of a model
Version registered outside the training pipeline identityManual or malicious artefact entering the registry
Version deleted or artefact overwritten in storageTampering or covering tracks
Permission or project membership changePrivilege escalation
Bulk artefact downloads or reads from a new identity or networkModel theft
Signature verification failure at promotion or loadTampered or unsigned artefact
New token created or token used from an unusual addressCredential misuse

Forward registry audit logs and storage access logs to the SIEM and join them on artefact path: a storage write with no matching registry event is a strong tampering signal.

Lifecycle: archiving and retiring versions

Registries accumulate versions, and old versions keep their access paths. An archived model that is still readable by a broad role is an easy theft target, and a retired version that can be re-promoted is a rollback attack waiting to happen.

  • Archive with intent: when a version leaves production, record why, remove serving read access and block re-promotion without a fresh approval.
  • Retention rules: keep what model risk, audit or legal hold requires, with hashes archived separately, and nothing more.
  • Secure deletion: the joint guidance recommends securely and irretrievably deleting models, validation artefacts and cryptographic keys once they are no longer needed. Delete storage objects, versions and any cached copies on serving hosts together.
  • Retire identities with models: when a model or project is retired, disable its pipeline identities and tokens in the same change. See the AI Model Retirement Guide.

How to implement

  1. Inventory: list registries (including those embedded in experiment trackers and cloud ML platforms), projects, human roles, service accounts, tokens and the storage locations behind each.
  2. Lock storage: remove direct write access to artefact storage for everyone except the registry identity; enable versioning.
  3. Split identities: create separate training, deployment and serving identities, move pipelines to federation, retire shared and personal tokens.
  4. Restrict promotion: limit production stage changes to the deployment identity after recorded approval.
  5. Sign in audit mode: start signing new versions and verifying in the pipeline with warnings only. After one or two release cycles with no false failures, switch verification to blocking at promotion, then at load. Rollback is switching back to warn mode, not disabling signing.
  6. Backfill: hash and sign current production versions after confirming they match your training records; quarantine any you cannot trace.
  7. Detect and review: enable the logging table's detections and run the Model registry health check quarterly.

Decision guidance

  • Managed or self-hosted registry: a cloud ML platform's registry inherits that cloud's identity, logging and private networking; a self-hosted registry gives control but you own authentication, TLS, patching and backups. Check how authentication is configured on a self-hosted registry before anyone else can reach it.
  • Small teams: one registry, SSO, separate read and write identities, storage locked to the registry, signing with a KMS key. Manual approval in the pull request that triggers promotion is enough.
  • Large or regulated estates: project isolation per business unit, keyless or PKI signing with verification at load, two-person approval for production, and model risk records linked to each promoted version. See the AI Model Risk Management Guide.

Metrics

  • Signed production coverage: production versions with a verified signature (target 100%).
  • Promotion control: production promotions with a recorded approval and digest (target 100%).
  • Write principals on storage: identities able to write artefact storage (target 1, the registry).
  • Token hygiene: long-lived tokens used by pipelines (target 0) and tokens past rotation date.
  • Verification failures: count and time to investigate; a sudden rise needs attention, zero for months may mean verification is not running.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0
Roles and promotion rightsAC-5, AC-6, CM-3, CM-5PR.AA-05, PR.PS-01
Service accounts and tokensAC-2, IA-5PR.AA-01
Signing and verificationSI-7, SI-7(15), SR-4, SR-11PR.DS-01
Storage protectionSC-28, SC-12PR.DS-01
Logging and monitoringAU-6, AU-12, AC-6(9)PR.PS-04, DE.CM-09
Third-party model intakeSR-3GV.SC-07

NIST SP 800-218A (July 2024) extends the Secure Software Development Framework with practices specific to AI model development and is the natural reference for the pipeline side of these controls.

Common failure patterns

  • Open bucket behind a locked registry: registry permissions are tight but the artefact store allows writes from a wide data platform role.
  • Mutable versions: a version can be overwritten in place, so the approved model and the deployed model can differ.
  • Everyone can promote: data scientists hold permissions to set the production stage directly.
  • Personal tokens in pipelines: a departed engineer's token still drives nightly training.
  • Signing without verification: artefacts are signed, but nothing checks the signature before load.
  • Unauthenticated internal registry: a self-hosted tracker reachable from the whole network, or the internet, with no login.

Practitioner checklist

  • Inventory every registry, project, service account, token and artefact store.
  • Make registered versions immutable and restrict artefact storage writes to the registry identity.
  • Limit production promotion to a deployment identity after recorded approval.
  • Separate training, deployment and serving identities and move pipelines to federated credentials.
  • Sign artefacts in the pipeline and record the digest as version metadata.
  • Verify signatures before promotion and before load, failing closed.
  • Scan, record and sign every imported third-party model.
  • Encrypt weights with keys you control and keep the registry on private endpoints.
  • Forward registry and storage logs to the SIEM and alert on promotions, overwrites and bulk downloads.

Standards and references

Related NHI Mgmt Group resources: MLflow and Kubeflow Security Guide · Model registry health check · If your model registry is compromised · Model Signing vs Model Scanning

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.