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
Game On!
15 hours ago $1.40 earnedWe need to talk about the 2025 NFL draft!
8,118 watching -
29:43
CatfishedOnline
16 hours agoMan Catfished By 29 Year Old Adult Entertainer In Romance Scam!
12.5K14 -
14:31
ThinkStory
20 hours agoTop 10 SEVERANCE Theories That Will Have You Praising Kier!
5.58K10 -
15:01
Shea Whitney
22 hours ago $3.31 earned20 *Stylish* AMAZON Closet Organization Ideas for 2025!
23.1K5 -
16:58
Bearing
19 hours agoThen They Came for the Teslas 💥 Crazy Leftists are HUNTING DOWN Teslas 🔥
18.3K68 -
15:02
Neil McCoy-Ward
19 hours agoIt Keeps Going From BAD To WORSE... (Why Is No One Asking This Question?)
10.5K6 -
2:02:28
The Criminal Connection Podcast
19 hours ago $1.01 earnedPaul Thorpe ROLEX Robbers, DIANA not an ACCIDENT? Making BRITAIN Great Again! MICHEAL JACKSON Fulham
19.4K2 -
10:17
China Uncensored
16 hours agoEurope Just Dealt China a CRUSHING Defeat
23.9K15 -
59:16
Trumpet Daily
20 hours ago $4.47 earned‘Anything Can Be Solved With Dialogue’ - Trumpet Daily | Mar. 24, 2025
21K6 -
3:04:59
FreshandFit
10 hours agoIs The Morning Routine Masculine Or Suspect?
108K82