Downloads · 30 days
0
WolfpackArmy/zip-zipslip-dos-poc
zip-zipslip-dos-poc is a machine learning model from WolfpackArmy. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Path Traversal (ZipSlip), Zip Bomb DoS, and Symlink Attack via crafted ZIP model files
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
104 KB
Likes
1
Public
Click a slice to open those files.
.zip104 KB · 98%
From the Hugging Face model README
Path Traversal (ZipSlip), Zip Bomb DoS, and Symlink Attack via crafted ZIP model files
poc_zipslip.zip — Path traversal entries (../../etc/cron.d/evil), writes outside extraction dirpoc_zipbomb.zip — 100KB compressed, expands to 100MB (10x nested layers of zeros)poc_symlink.zip — Symlink entry pointing to /etc/passwdbenign.zip — Clean ZIP for comparisonimport zipfile, os
# ZipSlip - extracts files outside target directory:
with zipfile.ZipFile('poc_zipslip.zip', 'r') as zf:
zf.extractall('/tmp/model/') # Writes to ../../etc/cron.d/evil
# Zip Bomb - causes excessive disk/memory usage:
with zipfile.ZipFile('poc_zipbomb.zip', 'r') as zf:
for name in zf.namelist():
data = zf.read(name) # 100MB total expansion