YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
PyTorch .pt2 RCE PoC
Security Research โ Do Not Use Maliciously
Arbitrary code execution via torch.export.load() on crafted .pt2 files. torch.export.load internally calls torch.load(weights_only=False) for pickle weights.
Files
poc_pt2_rce.pyโ End-to-end PoCmalicious.pt2โ Crafted .pt2 that creates /tmp/pt2_rce_proof.txt
Test
pip install torch>=2.10.0
python3 poc_pt2_rce.py
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support