# Treat a model from Hugging Face like third-party code · Sail Saurabh

URL: https://sailsrv.com/models-are-third-party-code

[Sail Saurabh](https://sailsrv.com/)

[← All notes](https://sailsrv.com/notes)

Perspective

## Treat a model from Hugging Face like third-party code

Sail 19 Nov 2026

Security teams would never deploy a binary because its README said it was safe. Yet models are pulled from Hugging Face every day on the strength of a model card, and a model card is a claim, not evidence.
In my own case studies the checks were cheap. Reading a model file’s header takes seconds and told me what it really was, and that it carried no licence. A distance screen against the claimed base model flags look-alikes that were never fine-tuned from it, and has caught an upload with NaN weights. Behavior can be measured too: one line in an email hijacked one model 4 times in 48 and another 22 times.
The fix is the one we already know from software supply chains: verify provenance before trust. Publish a recipe someone else can rebuild, keep a lineage record, sign it, and test the model on your own data before it touches anything that matters.

If this made you think, subscribe to my newsletter.
[Subscribe on Substack ↗ ](https://theemergencemachine.substack.com/subscribe)
In this note [Parameter Space Inspector](https://sailsrv.com/psi)
