Premium Only Content
The hidden dangers of loading open-source AI models (ARBITRARY CODE EXPLOIT!)
#huggingface #pickle #exploit
Did you know that something as simple as loading a model can execute arbitrary code on your machine?
Try the model: https://huggingface.co/ykilcher/totally-harmless-model
Get the code: https://github.com/yk/patch-torch-save
Sponsor: Weights & Biases
Go here: https://wandb.me/yannic
OUTLINE:
0:00 - Introduction
1:10 - Sponsor: Weights & Biases
3:20 - How Hugging Face models are loaded
5:30 - From PyTorch to pickle
7:10 - Understanding how pickle saves data
13:00 - Executing arbitrary code
15:05 - The final code
17:25 - How can you protect yourself?
Links:
Homepage: https://ykilcher.com
Merch: https://ykilcher.com/merch
YouTube: https://www.youtube.com/c/yannickilcher
Twitter: https://twitter.com/ykilcher
Discord: https://ykilcher.com/discord
LinkedIn: https://www.linkedin.com/in/ykilcher
If you want to support me, the best thing to do is to share out the content :)
If you want to support me financially (completely optional and voluntary, but a lot of people have asked for this):
SubscribeStar: https://www.subscribestar.com/yannickilcher
Patreon: https://www.patreon.com/yannickilcher
Bitcoin (BTC): bc1q49lsw3q325tr58ygf8sudx2dqfguclvngvy2cq
Ethereum (ETH): 0x7ad3513E3B8f66799f507Aa7874b1B0eBC7F85e2
Litecoin (LTC): LQW2TRyKYetVC8WjFkhpPhtpbDM4Vw7r9m
Monero (XMR): 4ACL8AGrEo5hAir8A9CeVrW8pEauWvnp1WnSDZxW7tziCDLhZAGsgzhRQABDnFy8yuM9fWJDviJPHKRjV4FWt19CJZN9D4n
-
LIVE
LFA TV
19 hours agoRUMBLE RUNDOWN WEEK 5 with JEREMY HERRELL AND SHAWN FARASH 11.8.25 9AM
4,024 watching -
LIVE
X22 Report
1 hour agoMr & Mrs X - Women Are Fighting Back Against Men In Women's Spaces, It Has Begun - EP 15
244 watching -
20:46
Jasmin Laine
1 day agoJoe Rogan Drops NUKE—Carney’s Secret Deal + 100,000 Kamloops Homes at Risk
1.86K15 -
4:00
Mrgunsngear
1 day ago $13.87 earnedFirst They Came For Glock, Now They're Coming For The Ruger RXM
7.37K15 -
1:42:46
Lara Logan
1 day agoINJECTING TRUTH INTO THE VACCINE DEBATE with Del Bigtree | Ep 43 | Going Rogue with Lara Logan
6.56K28 -
12:55
Cash Jordan
18 hours agoNYC Busses 'MOBBED' by Millionaires... as "Communist" Mayor VOWS to END AMERICA
2867 -
LIVE
Major League Fishing
1 day agoLIVE! MLF Toyota Series Championship!
984 watching -
18:54
Bearing
1 day agoNew York COMMUNIST TAKEOVER 🚨 Zoran Mamdani’s Revolution 💥
2.98K63 -
1:05:26
Man in America
1 day ago“Poseidon” Doomsday Sub, Microplastics & The War on Testosterone w/ Kim Bright
39.9K55 -
12:15
Degenerate Jay
20 hours agoIs GTA 6 In Trouble?
136