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
-
8:02:12
Rebel News
4 days ago $191.58 earnedELECTION NIGHT LIVE: Rebel News Canada coverage with Ezra Levant, Sheila Gunn Reid & Special Guests
402K209 -
1:24:54
Badlands Media
12 hours agoBaseless Conspiracies Ep. 130: Iberia Blackout, Green Energy Failures, and Grave-Robbing Government Experiments
70.4K28 -
2:12:50
FreshandFit
4 hours agoModern Men VS Modern Women
34.3K28 -
4:17:07
vivafrei
6 hours agoELECTIONS CANADA RESULTS LIVE STREAM WITH VIVA COMMENTARY!!!
112K130 -
2:39:37
TimcastIRL
6 hours agoDemocrat LAUNCHES IMPEACHMENT Against Trump Citing Deportation, Abrego Garcia Case | Timcast IRL
151K129 -
2:17:27
IcyFPS
5 hours agoA new legend rises.. Icy vs Teardrop | @playoffthegrid | Team MERC Grind |
17.3K2 -
LIVE
TwinGatz
6 hours ago🔴LIVE - Endless Jank | Oblivion Remastered
182 watching -
1:33:55
Glenn Greenwald
12 hours agoGaza Starves, Pro-Israel Propagandists Escalate Extremist Rhetoric and Actions | System Update #444
136K293 -
LIVE
EnDuEnDo
6 hours ago🚨Variety Stream 🎮 Push to 500 Followers 🚀 Chill Vibes 😎
227 watching -
11:04:48
GrimmHollywood
14 hours ago🔴LIVE • GRIMM HOLLYWOOD • SHADOW OF THE ERDTREE FIRST PLAYTHROUGH • PART 1
73.5K3