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
-
5:06:15
AirCondaTv Gaming
12 hours ago $15.78 earnedOnce Human - New Year. New Meta. Happy New Year!
78K13 -
1:00:37
Bright Insight
10 days agoOlmec Heads are Evidence of Lost Ancient Advanced Civilization
109K227 -
13:43
Cooking with Gruel
2 days agoCreamy Saffron Risotto
88.2K20 -
18:38
DeVory Darkins
1 day ago $19.98 earnedTrump Makes HUGE Announcement that may spark GOP Battle
59.9K76 -
2:13:05
The Nerd Realm
11 hours ago $3.50 earnedNew Years Eve! Fortnite Hunters w/ YOU! Creator Code: NERDREALM
49.9K3 -
FusedAegisTV
1 day agoNYE Eve! - 2025 Incoming 🎉 - 12hr Variety Stream!
100K5 -
1:18:52
Awaken With JP
14 hours agoSomehow The World DIDN’T End This Year! - LIES Ep 72
146K76 -
1:19:34
Michael Franzese
12 hours agoWhat 2024 Taught Us About the Future?
119K31 -
1:48:09
The Quartering
12 hours agoBird Flu PANIC, Sam Hyde DESTROYS Elon Musk & Patrick Bet David & Woke Witcher?
126K72 -
4:47
SLS - Street League Skateboarding
3 days agoLiz Akama’s 2nd Place Finish at SLS Tokyo 2024 | Best Tricks
53.6K5