The Art of Hide and Seek: Making Pickle-Based Model Supply Chain Poisoning Stealthy Again
Tong Liu, Guozhu Meng, Peng Zhou, Zizhuang Deng, Shuaiyin Yao, Kai Chen

TL;DR
This paper systematically uncovers the extensive and stealthy surface of pickle-based model poisoning in AI/ML frameworks, exposing critical gaps in current detection methods and demonstrating practical bypass techniques.
Contribution
It provides the first comprehensive analysis of pickle-based model poisoning surfaces, introduces new bypass techniques, and reveals significant limitations in existing scanners.
Findings
22 model loading paths identified, 19 missed by scanners
Developed Exception-Oriented Programming bypass, 7 of 9 bypass all scanners
133 exploitable gadgets found, 89% bypass rate against top scanners
Abstract
Pickle deserialization vulnerabilities have persisted throughout Python's history, remaining widely recognized yet unresolved. Due to its ability to transparently save and restore complex objects into byte streams, many AI/ML frameworks continue to adopt pickle as the model serialization protocol despite its inherent risks. As the open-source model ecosystem grows, model-sharing platforms such as Hugging Face have attracted massive participation, significantly amplifying the real-world risks of pickle exploitation and opening new avenues for model supply chain poisoning. Although several state-of-the-art scanners have been developed to detect poisoned models, their incomplete understanding of the poisoning surface leaves the detection logic fragile and allows attackers to bypass them. In this work, we present the first systematic disclosure of the pickle-based model poisoning surface…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
