Documented Exercise · OBS.EX0132

Large-Scale Exploit Instrumentation of Unsafe Pickle Serialization on Hugging Face

Casey, Santos, and Mirakhorli (2024) conducted a large-scale empirical study of unsafe Python serialization formats across the Hugging Face Model Hub, evaluating both real exploitability via object injection and the coverage limits of platform-side security flagging. Their instrumentation revealed widespread reliance on unsafe serialization formats across public model repositories alongside gaps where maliciously structured artifacts could evade naive detection and execute code upon loading. Importing untrusted model checkpoints directly into developer or training hosts exposes entire environments to remote code execution. ML pipelines should mandate SafeTensors format, sandbox untrusted model loads, and maintain an AI Bill of Materials.

Exercise dossier metadata

Case ID
OBS.EX0132
Classification
Exercise
Date
Evaluation scope
Hugging Face Model Hub · Ecosystem-Scale Serialization & Scanner Audit
Reference URI
https://arxiv.org/abs/2410.04490

Inspect OBS.EX0132 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records