Upload README.md with huggingface_hub
Browse files
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 |
+
```
|