Downloads · 30 days
0
AgentRen/pytorch-legacy-zip-slip-poc
pytorch-legacy-zip-slip-poc is a machine learning model from AgentRen. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a single-member zip (malicious.zip) whose member filename is ../pwnedbyzipslip.txt.
Downloads · 30 days
0
Access
Public
Updated Feb 2, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 57%
From the Hugging Face model README
This repository contains a single-member zip (malicious.zip) whose member filename is ../pwned_by_zip_slip.txt.
When processed via PyTorch torch.hub.load_state_dict_from_url() legacy-zip fallback (torch/hub.py::_legacy_zip_load()), the call to ZipFile.extractall(model_dir) can write outside model_dir.
malicious.zip — PoC archivepoc.py — generator scriptRelevant code (PyTorch master):