TESTforge42 commited on
Commit
7e2241a
·
verified ·
1 Parent(s): fc91b5b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +17 -0
README.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Security-research PoC — compressed-joblib scanner bypass (picklescan / ModelScan)
2
+
3
+ Benign PoC for a coordinated disclosure to huntr's Model File Format program. Not malware.
4
+
5
+ `model.joblib` is a compressed (.joblib) container. Both static scanners feed the RAW compressed bytes to
6
+ `pickletools.genops`, which bails at the zlib header before parsing a single opcode — so picklescan reports
7
+ a clean, zero-advisory verdict and ModelScan reports "did not scan", while `joblib.load()` transparently
8
+ decompresses and unpickles, executing the payload. The payload is harmless: it writes a marker file to the
9
+ system temp dir. No exfiltration, no destruction, no network, no self-propagation.
10
+
11
+ ## Reproduce
12
+ ```
13
+ pip install picklescan==1.0.5 modelscan==0.8.8 joblib
14
+ picklescan -p model.joblib # -> exit 0, 0 dangerous globals (clean)
15
+ modelscan scan model.joblib # -> did not scan / no issues
16
+ python -c "import joblib; joblib.load('model.joblib')" # -> marker written = code executed
17
+ ```