Views
No views yet
model.pt is an 89-byte PyTorch/pickle file that demonstrates a parser desync between the static
model scanners (picklescan, ModelScan — both walk pickles with pickletools.genops, base-10 int parsing)
and the real C unpickler (_pickle, base-0 int parsing). The 6-byte INT opcode I0x10\n makes the
scanners' opcode walk abort before the payload, so both scanners report the file clean, while
torch.load() executes the payload.NOMOS_SCANNER_BYPASS) to prove code execution. No data is exfiltrated, nothing is destroyed, there is
no network activity and no self-propagation.pip install picklescan==1.0.5 modelscan==0.8.8 torch
picklescan -p model.pt # -> exit 0, PRISTINE (0 dangerous globals)
modelscan scan model.pt # -> "No issues found"
python -c "import torch; torch.load('model.pt', weights_only=False)" # -> marker written = code executedgenops-based walkers must fail closed (UNSAFE) on any parse
abort, and align INT opcode parsing with the C unpickler (or reject non-decimal INT args).