sassy_unzip
Extract .zip archives to a chosen destination with optional password support and zip-slip protection. Returns extraction path, file count, and sample entry names.
Instructions
Mutating: writes extracted files to disk. Extracts a .zip archive to destination, defaulting to the archive's parent directory under the archive's stem name. password (default empty) unlocks encrypted zips. Zip-slip protection rejects the whole archive with an error if any entry path escapes the destination. Existing files at the destination are silently overwritten. Returns the extraction path, the file count, and a sample of the first 20 entry names. Use it to open zips from any source; use sassy_zip to create archives for extraction with this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | ||
| password | No | ||
| destination | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||