Skip to content

Conversation

@evict
Copy link
Contributor

@evict evict commented Dec 1, 2025

This implement a path traversal safe file system to be used with serve-git

Test plan

Tested cloning repositories with serve-git, works fine. Doesn't download symlinks.

@evict evict force-pushed the vr/servegit/use-traversal-safe-api branch 2 times, most recently from 4cc942a to 106ec65 Compare December 2, 2025 12:17
@evict evict force-pushed the vr/servegit/use-traversal-safe-api branch from 106ec65 to 6d2bdce Compare December 2, 2025 12:24
@evict evict marked this pull request as ready for review December 2, 2025 12:24
@evict evict requested review from a team and keegancsmith December 2, 2025 12:24
@evict evict self-assigned this Dec 2, 2025
@keegancsmith
Copy link
Member

I will review this closely tomorrow morning!

@evict evict force-pushed the vr/servegit/use-traversal-safe-api branch from 6d2bdce to d53bf3a Compare December 4, 2025 15:35
@evict evict force-pushed the vr/servegit/use-traversal-safe-api branch from 47e7186 to b43f159 Compare December 4, 2025 15:42
@evict evict changed the title security: use traversal safe os.Root and limit request size security: use traversal safe os.Root Dec 4, 2025
@evict evict changed the title security: use traversal safe os.Root security: use traversal safe os.Root for FS operations Dec 4, 2025
@evict evict merged commit 08d669c into main Dec 4, 2025
9 of 11 checks passed
@evict evict deleted the vr/servegit/use-traversal-safe-api branch December 4, 2025 16:14
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.

3 participants