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:08
MattMorseTV
15 hours ago $6.63 earnedThe USA - China TRADE WAR just went NUCLEAR.
16.8K24 -
20:22
Real Estate
7 days ago $1.08 earnedNumber 1 Indicator Home Prices ARE ABOUT TO CRASH
4.64K2 -
30:09
Afshin Rattansi's Going Underground
17 hours ago‘Gaza Will Haunt Israel for Generations’- Mika Almog Granddaughter of Former President Shimon Peres
7.39K6 -
15:36
Nikko Ortiz
12 hours agoBring Back Public Shaming...
9.09K6 -
2:43:41
Side Scrollers Podcast
18 hours agoAsmongold Says The Online Left Are “ANIMALS” + Hasan Collar-Gate Gets WORSE + More | Side Scrollers
17.4K11 -
1:33:41
Dinesh D'Souza
2 days agoThe Dragon's Prophecy Film
85.3K58 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
267 watching -
44:08
The Why Files
6 days agoThe CIA, Men in Black and the Plot to Take Out JFK | The Maury Island Incident
49.7K65 -
2:07:23
TimcastIRL
9 hours agoTrump SLAMS China With NEW 100% Tariff, Stocks & Crypto TUMBLE | Timcast IRL
297K154 -
5:15:25
SpartakusLIVE
10 hours agoBF6 LAUNCH DAY || WZ and BF6 followed by PUBG - The PERFECT Combo?
64K3