etwithin commited on
Commit
a2ad8f9
·
verified ·
1 Parent(s): 6fc4247

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # TorchScript v1.4 Scanner Bypass PoC
2
+
3
+ Malicious `.pt` file with marshal+FunctionType+importlib chain.
4
+ Bypasses picklescan 1.0.4 and modelscan 0.8.8.
5
+
6
+ ```python
7
+ import torch
8
+ torch.jit.load('malicious_model.pt')
9
+ ```