Downloads · 30 days
0
celvexgroup/modelaudit-numpy-savez-filewrite-poc
modelaudit-numpy-savez-filewrite-poc is a machine learning model from celvexgroup. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Coordinated disclosure PoC for huntr (Protect AI MFV). Benign payload only.
Downloads · 30 days
0
Access
Public
Updated Jul 16, 2026
Repo size
144 B
Likes
0
Public
Click a slice to open those files.
.py3 KB · 53%
From the Hugging Face model README
Coordinated disclosure PoC for huntr (Protect AI MFV). Benign payload only.
modelaudit==0.2.49 (cross-checked modelscan==0.8.8), Python 3.11.15, numpy 2.4.6.modelaudit scan evil_savez.pkl -> Clean / exit 0 (7/7 checks pass), but
pickle.load(open('evil_savez.pkl','rb')) writes a .npz to an attacker-controlled absolute path on load.numpy.savez(<marker_path>, [13.37]) - a harmless array write. No destructive action._FILE_OPEN_SINK_EXACT) omits zipfile.ZipFile,
so numpy.savez/savez_compressed (whose open is mediated by zipfile) evade the detector that catches numpy.save.Files: evil_savez.pkl (scan Clean), build_gadgets.py (builder). Full report + positive control in the huntr submission.