Documented Exercise · OBS.EX0133
PickleBall Ecosystem Audit & Load-Time Deserialization Enforcement
Kellas et al. (ACM CCS 2025) audited popular Hugging Face repositories and found 44.9% still depend on the unsafe pickle format, while rigid loaders like PyTorch weights-only block 15% of benign pickle repos and static scanners exhibit both false positives and false negatives. Their PickleBall framework statically derives library-specific safe deserialization policies and enforces them dynamically at load time, successfully loading 79.8% of benign pickle models (22% more than baseline safe loaders) while blocking 100% of evaluated malicious models. Context-aware load-time policy enforcement bridges the security gap where legacy ecosystems have not yet migrated fully to SafeTensors. Model serving stacks should replace default pickle loaders with policy-enforced deserializers and SafeTensors.
Exercise dossier metadata
- Case ID
OBS.EX0133- Classification
- Exercise
- Date
- Evaluation scope
- Hugging Face Popular Models · Static Policy Synthesis & Drop-In Safe Unpickler
- Reference URI
https://arxiv.org/abs/2508.15987
Mapped AI security techniques
- Supply Chain Compromise AML.T0010
- Supply Chain Compromise: Model Repository AML.T0010.003
- Machine Compromise: AI Artifacts AML.T0112.001
- Publish Poisoned AI Artifacts AML.T0115
Mapped defensive controls
- Restrict Library Loading AML.M0011
- Verify AI Artifacts AML.M0014
- AI Model Distribution Methods AML.M0017
Source citation records
- PickleBall: Secure Deserialization of Pickle-based Machine Learning Models (Extended Report) · arXiv (author preprint; peer-review status not inferred) ·