Downloads · 30 days
0
Spoko-dev/huntr-mfv-torch-scanner-member-skip
huntr-mfv-torch-scanner-member-skip is a machine learning model from Spoko-dev. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Security-research PoC for a huntr MFV submission. Not malware — the payload only writes a harmless /tmp marker.
Downloads · 30 days
0
Access
Public
Updated Jul 10, 2026
Repo size
2.1 KB
Likes
0
Public
Click a slice to open those files.
.py2.7 KB · 35%
From the Hugging Face model README
Security-research PoC for a huntr MFV submission. Not malware — the payload only writes a harmless /tmp marker.
model_scanskip.pt executes code at the default PackageImporter.load_pickle() while both modelscan and picklescan report no issues — because neither scanner ever parses the malicious member (modelscan selects a member's format by file extension; picklescan scans a member only if it has a pickle extension or a leading \x80). The payload is a proto-0 builtins.eval pickle stored as a non-pickle-extension member.
pip install torch==2.13.0 modelscan==0.8.8 picklescan==1.0.4 # Python 3.10
modelscan -p model_scanskip.pt # -> "No issues found! 🎉" (malicious member skipped)
picklescan -p model_scanskip.pt # -> "Scanned files: 0, Infected files: 0"
rm -f /tmp/huntr_r2_scanskip
python load.py # -> marker AFTER: True, contents: PWNED_R2_SCANSKIP
Controls: controlA_proto2_storage.pt (proto-2 → picklescan catches it) and controlB_proto0_dill.zip (.dill name → modelscan catches it) prove only the specific combo (non-pickle-ext + proto-0/1) evades both. craft.py shows how the file is built.