Downloads · 30 days
0
WolfpackArmy/pickle-rce-poc
pickle-rce-poc is a machine learning model from WolfpackArmy. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Arbitrary Code Execution via pickle.load() deserialization (CWE-502)
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
292 B
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 67%
From the Hugging Face model README
Arbitrary Code Execution via pickle.load() deserialization (CWE-502)
poc_evil.pkl — Malicious .pkl, executes code on pickle.load()poc_stealth.pkl — Stealth variant disguised as an sklearn modelbenign.pkl — Clean pickle file for comparisonimport pickle
# WARNING: Executes arbitrary code
with open('poc_evil.pkl', 'rb') as f:
obj = pickle.load(f)