| library_name: pytorch | |
| tags: | |
| - security-research | |
| - modelscan-bypass | |
| license: mit | |
| # ModelScan Bypass PoC — threading.Thread | |
| Security research for responsible disclosure via Huntr MFV program. | |
| ## Vulnerability | |
| `threading.Thread` is not in modelscan's `unsafe_globals` blocklist. | |
| modelscan reports "No issues found" but loading triggers creates Thread object — thread spawning primitive. Combined with a target callable, achieves parallel code execution. | |
| ## Impact: MEDIUM | |
| ## Reproduction | |
| ```bash | |
| pip install modelscan | |
| modelscan scan -p bypass_poc.pkl | |
| # Output: "No issues found!" | |
| ``` | |