Skip to content

Interview question · Software, Data & Model Supply Chain

Secure the model supply chain from download to deployment.

Models arrive like dependencies and run like code. The design puts one controlled door in front of them and checks everything that walks through.

hardEssentialNewPreparation tags: Google, Microsoft, AmazonUpdated Nov 2026

TL;DR: Treat models, datasets and their companion files as untrusted dependencies. Route every one through a single intake point (an internal registry or proxy): verify provenance (publisher, pinned revision, hashes, signatures), enforce safe formats and no unreviewed remote code, scan, then evaluate in isolation for behaviour and backdoor indicators. Store approved artifacts immutably by hash with an AI-BOM entry. Deploy only registry artifacts whose hash and provenance match policy, sign internally trained models, and monitor in production. Plan the incident path: lineage to find every system affected by a bad model.

How to approach it

Lay out the stages a model passes through (discovery, download, evaluation, fine-tuning, packaging, deployment, monitoring) and put controls at each, noting which are deterministic and which are probabilistic. Name the threats first so each control has a reason.

A strong answer

FIG · MODEL SUPPLY CHAIN · ONE INTAKE POINT TO DEPLOYMENT
Models and datasets are untrusted dependencies

Public hub

models, datasets

Intake registry

single entry point

Verify

publisher, hashes, sigs

Formats + scan

no remote code

Deploy pinned

by digest

Ongoing

Inventory and re-evaluation

AI-BOMbehaviour testsadvisories

Threats. Malicious model files (pickle code execution, remote code), tampered artifacts on mirrors or hubs, typosquatted or impersonated model repositories, backdoored or poisoned weights, poisoned fine-tuning data, compromised training or build environments, and stale models with known vulnerabilities in their serving stack.

Controls by stage.

StageControlType
DiscoveryAllowlist of approved publishers; require organisation-verified repositoriesDeterministic
DownloadOnly through an internal proxy or registry; pin by commit and hashDeterministic
FormatSafetensors (or other data-only formats); weights_only=True; no trust_remote_code without review and pinningDeterministic
VerificationCheck publisher signatures (model signing with Sigstore) and hashesDeterministic
ScanningPickle opcode scanning, unexpected files, licence checksHeuristic
EvaluationIsolated sandbox with no credentials or egress; behavioural tests, safety and security evals, trigger probingProbabilistic
StorageImmutable registry keyed by hash; AI-BOM with lineageDeterministic
Fine-tuningData provenance and review; training jobs in isolated, least-privilege environments; provenance for outputsMixed
Packaging and signingInternal models signed with build provenance from the training platformDeterministic
DeploymentAdmission policy: only registry hashes with valid signatures and provenanceDeterministic
RuntimeMonitoring for behaviour drift and abuse; ability to roll back by hashDetection

Organisational pieces. Ownership for each approved model; a review path for new models that is fast enough that teams use it; and a block on direct hub downloads from production and training clusters so the intake point cannot be bypassed.

Incident path. When a public model or dataset is found to be malicious or backdoored, query the AI-BOM lineage for every fine-tune and deployment derived from it, roll back by hash, and review outputs produced during exposure.

Honest limits. Backdoor detection is weak; a capable attacker can hide behaviour from evaluation. Provenance and publisher trust carry most of the weight for that threat.

FIG · BYPASSED VS PROTECTED · MODEL INTAKE
Pulling models straight from hubs versus one verified intake point

Direct pulls

Pipeline fetches by name

latest revision

Malicious pickle or renamed repo

runs on load

Code execution in training

Outcome, unsafe: Backdoored model

No inventory

Controlled intake

Internal registry

provenance, safe formats

Pinned by hash

scanned, AI-BOM

Only vetted artefacts

Outcome, safe: Changes visible

Traceable use

What interviewers probe next

  • "A research team needs a new model today." A fast lane: isolated sandbox use immediately, production use after intake review.
  • "How do you handle LoRA adapters from third parties?" Same intake: they change behaviour like weights, can be backdoored, and need provenance and evaluation.
  • "What about models served by a vendor API?" The supply chain shifts to vendor assurance: contracts, model version pinning, change notifications, and your own evaluations on updates.

What if?

What if · interview follow-ups

Hold your answer as the constraints change

A team pulls models and datasets from public hubs directly in its training and serving pipelines, using repository names and the latest revision.

  1. Start here

    What is the main risk in this setup?

How it's scored

Weak: "Scan models and use safetensors."

Hire: Central intake with provenance, safe formats, scanning, isolated evaluation and deployment checks.

Strong Hire: Full lifecycle with deterministic versus probabilistic controls, fine-tuning and adapters, AI-BOM lineage for incident response, and candid limits on backdoor detection.

Common mistakes

  • Allowing direct downloads from hubs into production or training clusters.
  • Referencing models by mutable names instead of hashes.
  • Evaluating new models on machines with credentials and network access.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 10, and we keep track of how far you get in every topic.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in doubles your free answers, from 5 to 10 per topic, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

No comments yet. Share a correction or a different way to answer it.