ModelScan Bypass PoC โ site.addpackage
Security research for responsible disclosure via Huntr MFV program.
Vulnerability
site.addpackage is not in modelscan's unsafe_globals blocklist.
modelscan reports "No issues found" but loading triggers calls exec() on .pth file contents. If attacker can place a .pth file at a known path, achieves code execution during site initialization..
Impact: HIGH
Reproduction
pip install modelscan
modelscan scan -p bypass_poc.pkl
# Output: "No issues found!"
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support