ModelScan Top-Level Self-Extracting ZIP Dispatch Bypass
Defensive validation / triage only.
This PoC shows that a valid ZIP with a short self-extracting stub prefix still
opens through Python's standard zipfile.ZipFile(), but modelscan==0.8.8
scans 0 files and reports only SCAN_NOT_SUPPORTED.
Files:
model/evil_plain.zip: positive control with innerevil.pkl, flagged bymodelscanmodel/evil_sfx.zip: crafted self-extracting ZIP with the same innerevil.pkl, skipped bymodelscanmodel/build-meta.json: hashes and generation metadatareproduce/replay_modelscan_sfx_zip.py: replay script for scanner vs ZIP-open differential
Quick repro:
python reproduce/replay_modelscan_sfx_zip.py \
--plain model/evil_plain.zip \
--crafted model/evil_sfx.zip
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support