Skip to main content

Data science teams in your company pull open models and datasets from public hubs every week, and model files are already scanned. What supply chain risks remain, and how would you set up a process that handles them without blocking the teams?

AI security · Pro 2

Short answer

A scan finds unsafe files, not everything. A backdoor can sit in the weights, a dataset can be poisoned or hold personal data, a licence can forbid our use, and a repository can change after review. So: pin by hash, check provenance and licence, run behaviour tests in a sandbox, keep an inventory, and give low-risk requests a fast path.

Deeper answer

The risks differ from normal software. A model can carry a backdoor that no file scanner sees, because it is in the weights: it behaves normally until a trigger input appears. A dataset can be poisoned, or can contain personal or copyrighted material that becomes our problem when we train on it. A licence may forbid commercial use. And a public repository can change after review, so the same name does not mean the same file.

The process must be faster than going around it. Pinning by hash means that what was reviewed is what runs. For backdoors there is no complete test, so I rely on provenance, behaviour tests on our own evaluation set, and limits on what the model can reach in production. Datasets get a check of source, licence and personal data, and a person reads a sample. An inventory lets us answer 'where do we use this model' in minutes. Interviewers listen for the limits of scanning, datasets, pinning, and a process developers will use.

What a strong answer covers

Answer it out loud in the mock interview about 2.5 min

Follow-ups to expect

Common mistakes

Learn it

Securing the AI supply chain

Practice AI security questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.