Zero Trust For Machine Learning Models
summary
Protect AI and Hugging Face report 1.41 million HF repositories scanned and 352,000 unsafe or suspicious issues across 51,700 models, with Model Serialization Attacks (MSA) the most common exploit. MSA injects executable code into saved model files (pickle-based PyTorch, TensorFlow ops, KAS lambda layers) so loading the model can exfiltrate secrets (demo prints AWS keys) while model behavior stays normal. Use the open-source model scan (pip install model scan) and the public Insights DB; HF now shows safety banners.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:27ML supply chain risks
- 3:30What is model serialization attack
- 5:15How attackers craft MSA
- 7:45Why MSA is dangerous
- 8:47Affected ML frameworks
- 10:13Prevalence of MSA in models
- 11:38Crafting a demo MSA
- 12:41Step-by-step demo
- 14:07Scanning for MSA
- 15:28Key takeaways and call to action
- 16:50Q&A session
