paper-with-me

홈 › Papers

PickleBall: Secure Deserialization of Pickle-based Machine Learning Models (Extended Report)

2025-08-21 · Andreas D. Kellas, Neophytos Christou, Wenxin Jiang, Penghui Li, Laurent Simon, Yaniv David, Vasileios P. Kemerlis, James C. Davis, Junfeng Yang arxiv

Machine learning model repositories such as the Hugging Face Model Hub facilitate model exchanges. However, bad actors can deliver malware through compromised models. Existing defenses such as safer model formats, restrictive (but inflexible) loading policies, and model scanners have shortcomings: 44.9% of popular models on Hugging Face still use the insecure pickle format, 15% of these cannot be loaded by restrictive loading policies, and model scanners have both false positives and false negatives. Pickle remains the de facto standard for model exchange, and the ML community lacks a tool that offers transparent safe loading. We present PickleBall to help machine learning engineers load pickle-based models safely. PickleBall statically analyzes the source code of a given machine learning library and computes a custom policy that specifies a safe load-time behavior for benign models. PickleBall then dynamically enforces the policy during load time as a drop-in replacement for the pickle module. PickleBall generates policies that correctly load 79.8% of benign pickle-based models in our dataset, while rejecting all (100%) malicious examples in our dataset. In comparison, evaluated model scanners fail to identify known malicious models, and the state-of-art loader loads 22% fewer benign models than PickleBall. PickleBall removes the threat of arbitrary function invocation from malicious pickle-based models, raising the bar for attackers to depend on code reuse techniques.

📄 PDF Abstract BibTeX arXiv:2508.15987

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SafePickle: Robust and Generic ML Detection of Malicious Pickle-based ML Models

2026-02-23 · Hillel Ohayon, Daniel Gilkarov, Ran Dubin arxiv

Model repositories such as Hugging Face increasingly distribute machine learning artifacts serialized with Python's pickle format, exposing users to remote code execution (RCE) risks during model loading. Recent defenses…

PyMilo: A Python Library for ML I/O

2024-12-31 · AmirHosein Rostami, Sepand Haghighi, Sadra Sabouri, Alireza Zolanvari

PyMilo is an open-source Python package that addresses the limitations of existing Machine Learning (ML) model storage formats by providing a transparent, reliable, and safe method for exporting and deploying trained mod…

Randomized Physics-Informed Machine Learning for Uncertainty Quantification in High-Dimensional Inverse Problems

2023-12-11 · Yifei Zong, David Barajas-Solano, Alexandre M. Tartakovsky

We propose a physics-informed machine learning method for uncertainty quantification in high-dimensional inverse problems. In this method, the states and parameters of partial differential equations (PDEs) are approximat…

Physics-informed machine learningUncertainty Quantification

Physics-Informed Machine Learning Method for Large-Scale Data Assimilation Problems

2021-07-30 · Yu-Hong Yeung, David A. Barajas-Solano, Alexandre M. Tartakovsky

We develop a physics-informed machine learning approach for large-scale data assimilation and parameter estimation and apply it for estimating transmissivity and hydraulic head in the two-dimensional steady-state subsurf…

BIG-bench Machine Learningparameter estimationPhysics-informed machine learning

GitHub's Copilot Code Review: Can AI Spot Security Flaws Before You Commit?

2025-09-17 · Amena Amro, Manar H. Alalfi arxiv

As software development practices increasingly adopt AI-powered tools, ensuring that such tools can support secure coding has become critical. This study evaluates the effectiveness of GitHub Copilot's recently introduce…