Packagist
sorge-it/safe-unzip
Extracts ZIP files in PHP and checks them against a strict allow list before it writes a byte. Refuses Zip Slip (path traversal), overlapping zip bombs, symbolic links and names outside the list. Limits entries and bytes, keeps the executable bit, names the rule in an exception, needs Info-ZIP, not ext-zip. For code that AI coding agents write.
MIT23. Nov. 2026 · Metriken 2.10.0