ModelScan pickle SourceFileLoader bypass PoC
This PoC demonstrates a pickle payload that reaches importlib.machinery.SourceFileLoader.load_module() during deserialization while ModelScan reports 0 issues.
Files:
bypass_sourcefileloader.pkl- bypass payloadcontrol_os_system.pkl- control payload that ModelScan detects as CRITICALpoc_side_effect.py- benign local module used by the verification scriptverify_pickle_reaches_sourcefileloader.py- verifies that unpickling reaches SourceFileLoader and executes the local modulescan-result.txt- local ModelScan and verification results