modelscan-bypass-concurrent-futures
Security Research β Modelscan Bypass PoC
Severity: CRITICAL
Module: concurrent.futures
Description: Thread pool executor creation β can submit arbitrary callables
Impact: Creates ThreadPoolExecutor. executor.submit(func, *args) runs any callable in thread pool.
Modelscan Result
$ modelscan scan -p pytorch_model.bin
No issues found! β
(FALSE NEGATIVE)
Tested against: modelscan 0.8.8 (latest)
How It Works
The pickle file uses concurrent.futures which is NOT in modelscan's unsafe_globals blocklist.
When loaded via torch.load() or pickle.loads(), it executes the payload.
Responsible Disclosure
This PoC is part of responsible security research submitted via Huntr MFV program to help ProtectAI improve modelscan's detection capabilities.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support