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
SpartakusLIVE
3 hours agoBF6 LAUNCH DAY || WZ and BF6 followed by PUBG - The PERFECT Combo?
289 watching -
1:33:59
Glenn Greenwald
5 hours agoQ&A with Glenn: Is the Gaza Peace Deal Real? Why was the Nobel Peace Prize Given to Venezuela's Opposition Leader? And More... | SYSTEM UPDATE #529
78.9K37 -
DVR
Flyover Conservatives
21 hours agoURGENT FINANCIAL UPDATE! October 14–31: The Great and Terrible Day Has Arrived - Bo Polny; 5 Mindsets You Must Master - Clay Clark | FOC Show
16.4K -
LIVE
VapinGamers
1 hour agoBattlefield 6 - All Protatoe and Nothing but Net - !rumbot !music
14 watching -
LIVE
GritsGG
2 hours agoRANK GRIND! Most Wins in WORLD! 3734+!
48 watching -
LIVE
I_Came_With_Fire_Podcast
10 hours agoChina Owning the Mississippi? | Letitia James Indicted, But Don't Get Excited | Insurrection Inbound
186 watching -
LIVE
Eternal_Spartan
10 hours ago🟢 Eternal Spartan Plays Battlefield 6! | USMC Vet
31 watching -
LIVE
This is the Ray Gaming
1 hour ago $0.02 earnedBattlefield 6 Launch Day Part 2 | Rumble Premium Creator
39 watching -
58:29
NAG Podcast
3 hours agoChrissie Mayr: BOLDTALK W/Angela Belcamino
6.44K2 -
LIVE
Jokeuhl Gaming and Chat
4 hours agoMEGABONK - Why am I still playing this?
14 watching