Skip to content

Harden safe zip member extraction - #15

Draft
rushillshah wants to merge 1 commit into
mainfrom
codex/safe-zip-member-extract
Draft

Harden safe zip member extraction#15
rushillshah wants to merge 1 commit into
mainfrom
codex/safe-zip-member-extract

Conversation

@rushillshah

Copy link
Copy Markdown
Owner

Summary

  • replace bulk extractall() with explicit extraction of each validated zip member
  • add a regression guard that keeps the extractor on per-member extraction

Closes #13

Validation

  • npm run check
  • npm test
  • npm pack --dry-run

Risk

Low. The shared zip validator still applies the same path, symlink, count, and size checks before writing members.

@rushillshah

Copy link
Copy Markdown
Owner Author

Maintenance reconciliation note (2026-06-25): CI is passing and the branch is mergeable, but this PR is still draft and review-required. Next action: mark ready/request review before merge.

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.

safe_extract_zip validates then extractall (TOCTOU); extract per-member instead

1 participant