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
-
2:55:16
TimcastIRL
3 hours agoNEW Epstein Emails Drop, Dems Claim TRUMP KNEW, Congress Forces Epstein Release Vote | Timcast IRL
221K74 -
1:19:53
Barry Cunningham
2 hours agoBREAKING NEWS: PRESIDENT TRUMP RE-OPENS THE UNITED STATES GOVERNMENT!
4.56K3 -
20:47
The White House
3 hours agoPresident Trump Signs Senate Amendment to H.R. 5371
5.35K15 -
LIVE
Drew Hernandez
19 hours agoNEW EPSTEIN EMAIL DROP FULLY POLITICIZED
1,049 watching -
1:44:01
Tucker Carlson
2 hours agoTucker Carlson on the Israel First Meltdown and the Future of the America First Movement
8.61K104 -
LIVE
Alex Zedra
2 hours agoLIVE! Phasmaphobia New Map!
331 watching -
2:16:06
Laura Loomer
4 hours agoEP155: Jihad Makes Its Move On The White House
13.6K21 -
2:18:47
TheSaltyCracker
4 hours agoDem's Epstein Drop Backfires ReeEEStream 11-12-25
64.2K161 -
17:08
Demons Row
4 hours ago $0.09 earnedMost Dangerous Motorcycle Clubs That Ever Existed 💀🔥
14.1K2 -
12:51
The Gun Collective
5 hours agoWOW! -- LOTS of new GUNS just came out!
3.59K7