YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Compressed Joblib ModelScan Bypass
This PoC demonstrates a ModelScan detection bypass for compressed Joblib model files.
Joblib supports compressed persistence through joblib.dump(..., compress=...) and transparently decompresses those files in joblib.load(). The compressed files in this repository contain the same pickle payload as the uncompressed control file.
Files
control_uncompressed.joblib: uncompressed control payload. ModelScan reports oneCRITICALissue.bypass_zlib_compressed.joblib: compressed Joblib payload. ModelScan reports0issues.bypass_gzip_compressed.joblib: compressed Joblib payload. ModelScan reports0issues.bypass_bz2_compressed.joblib: compressed Joblib payload. ModelScan reports0issues.bypass_lzma_compressed.joblib: compressed Joblib payload. ModelScan reports0issues.build_and_verify.py: rebuilds and verifies the PoC files.verify_report.json: local verification output.
Verification
Run:
python build_and_verify.py
Expected result:
joblib.load()executes the payload from all five files and writesjoblib_compressed_marker.txt.- ModelScan reports
CRITICAL=1forcontrol_uncompressed.joblib. - ModelScan reports
total_issues=0for every compressed.joblibfile.
The payload is local-only and writes the marker text JOBLIB_COMPRESSED_RCE.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support