Skip to content

Reject ZIP names interpreted as extract options or patterns - #30

Merged
raiseCatError merged 2 commits into
mainfrom
fix/zip-selector-hardening
Oct 16, 2026
Merged

raiseCatError merged 2 commits into
mainfrom
fix/zip-selector-hardening

Conversation

@raiseCatError

Copy link
Copy Markdown
Owner

Focused extraction safety hardening. unzip treats selected entries as argument options or glob patterns: malformed archives containing entry names beginning with - or characters * ? [ ] could broaden a selective extraction. Reject those during central-directory validation before creating a staging folder. Update focused ZIP regression test for option-like and pattern entries. Requires macOS CI build and tests, then review/merge. Independent of watched folder PR #29.

@raiseCatError
raiseCatError marked this pull request as ready for review October 16, 2026 22:03
@raiseCatError
raiseCatError merged commit efe63d9 into main Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant