ModelScan Directory Symlink Escape
Defensive validation / triage only.
This PoC shows that modelscan==0.8.8 directory scan mode follows an
attacker-controlled file symlink outside the requested root and reports the
external pickle under the in-root alias.
Files:
layout/build-meta.json: hashes and symlink metadatareproduce/build_modelscan_symlink_escape.py: regenerates the out-of-root pickle and in-root symlinkreproduce/replay_modelscan_symlink_escape.py: scans the generated root directory and records the out-of-root target
Quick repro:
python reproduce/build_modelscan_symlink_escape.py --outdir layout
python reproduce/replay_modelscan_symlink_escape.py --root layout/root
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support