Skip to content

fix(traffic): keep spilled capture blobs owner-only - #462

Merged
BaaRai merged 2 commits into
BaaRai:mainfrom
Coff0xc:fix/traffic-blob-mode
Nov 22, 2026
Merged

BaaRai merged 2 commits into
BaaRai:mainfrom
Coff0xc:fix/traffic-blob-mode

Conversation

@Coff0xc

@Coff0xc Coff0xc commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Captured HTTP and raw-stream bodies under data/traffic/_blobs were mode 0644 in a 0755 directory. New blobs are 0600 and the bucket directory is 0700. An existing blob is tightened when it is seen again. go test ./traffic/ -run TestSpillBlobIsOwnerOnly passes. The Unix mode check is skipped on Windows.

HTTP and raw-stream bodies written under _blobs were 0644 in a 0755
directory, so any local user could read captured traffic. New blobs are
0600 and the bucket directory is 0700. An existing blob is tightened when
it is seen again.
Copilot AI balanced review requested due to automatic review settings November 21, 2026 19:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@BaaRai
BaaRai merged commit 4171a04 into BaaRai:main Nov 22, 2026
5 checks passed
@BaaRai

BaaRai commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Thanks @Coff0xc, merged. New HTTP and raw-stream spill blobs are 0600 inside 0700 bucket directories, and an existing blob is tightened when it is seen again. The merge commit only brings the branch onto main.

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