When Models Meet Loaders: Deserialization Risk in Huggingface
summary
Large-scale empirical scan of 10,000 top Hugging Face models across 39 monthly snapshots (56,533 model snapshots) measures serialization formats and downstream dependency risk, finding evidence for 41 formats and a shift from pickle to safe tensors but with pickle still heavily downloaded. Pipeline builds SBOMs from Spaces using tools like sift and Crype, reports ~7,000 CVE hits (123 CWE-502 matches) while stressing heavy over-approximation and plans for call-graph and exploitation validation.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 1:01Hugging Face model formats overview
- 3:50Prevalence of model formats study
- 6:37Download trends and format shifts
- 8:25Security risks beyond deserialization
- 9:25Downstream consumption analysis
- 12:14CVE findings and limitations
- 14:41Conclusion and future work
- 16:25Project resources and Q&A intro
- 17:26Q&A: File format risks and solutions
