Skip to content

security/20260731 1135 - #78

Merged
danieljustus merged 3 commits into
mainfrom
security/20260731-1135
Aug 1, 2026
Merged

security/20260731 1135#78
danieljustus merged 3 commits into
mainfrom
security/20260731-1135

Conversation

@danieljustus

Copy link
Copy Markdown
Owner
  • fix(security): reject extracted paths escaping the extraction dir
  • docs: add social preview image, audit/prerelease reports, adopt notes

danieljustus and others added 3 commits July 31, 2026 11:37
The extract package validates archive entry names, but the extracted path
returned to updateapply flows into os.Chmod and os.Rename. Add a
defense-in-depth containment check on the extracted path before it
reaches those file system operations, so a parent-directory reference can
never escape the extraction directory.

Closes alert #3. Rule: go/zipslip.
Refs security/20260731-1135

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@danieljustus
danieljustus marked this pull request as ready for review August 1, 2026 11:44
@danieljustus
danieljustus enabled auto-merge (squash) August 1, 2026 11:44
@danieljustus
danieljustus merged commit 0d4e56a into main Aug 1, 2026
8 checks passed
@danieljustus
danieljustus deleted the security/20260731-1135 branch August 1, 2026 11:45
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