|
Download README.md from manja316/modelscan-bypass-http-server: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/manja316/modelscan-bypass-http-server/resolve/main/README.md
- Command line
-
hf download hf://manja316/modelscan-bypass-http-server/README.md
-
curl -L -o README.md https://huggingface.co/manja316/modelscan-bypass-http-server/resolve/main/README.md
628 Bytes
| tags: | |
| - security-research | |
| - modelscan-bypass | |
| license: mit | |
| # Modelscan Bypass PoC: http.server.HTTPServer port binding backdoor | |
| **Security research only.** | |
| ## Summary | |
| Creates an HTTP server bound to 0.0.0.0:8888 during pickle.load(). | |
| http.server is not in modelscan's unsafe_globals blocklist. | |
| Attacker can serve content or create a reverse shell listener. | |
| ## Reproduction | |
| ```bash | |
| pip install modelscan | |
| modelscan scan -p pytorch_model.bin # No issues found | |
| python3 -c "import pickle; pickle.load(open('pytorch_model.bin', 'rb'))" # Executes | |
| ``` | |
| ## Affected: modelscan 0.7.6 (latest) | |
| ## Disclosure: Submitted via Huntr. | |