Skip to content

fix(security): harden local agent endpoints - #68

Merged
jfut merged 3 commits into
mainfrom
fix/harden-agent-endpoints
Nov 6, 2026
Merged

jfut merged 3 commits into
mainfrom
fix/harden-agent-endpoints

Conversation

@jfut

@jfut jfut commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Bound frontend response writes and defer known_hosts scans until the picker opens.
Apply Unix socket permissions through the bound descriptor. Restrict the Cygwin metadata ACL to its owner and LocalSystem before writing the GUID. Reduce history sort allocations and remove unused non-GUI code. Replace README semicolon separators with sentence breaks.

jfut and others added 3 commits November 6, 2026 14:00
Bound frontend response writes and defer known_hosts scans until the
picker opens.
Apply Unix socket permissions through the bound descriptor. Restrict the
Cygwin metadata ACL to its owner and LocalSystem before writing the GUID.
Reduce history sort allocations and remove unused non-GUI code.
Replace README semicolon separators with sentence breaks.

Co-authored-by: Codex <noreply@openai.com>
Set the socket descriptor mode before binding, then validate the created
path and owner. This avoids comparing unrelated socket and filesystem
inodes while preserving guarded cleanup.

Co-authored-by: Codex <noreply@openai.com>
Skip descriptor chmod on macOS, which rejects it before bind. Apply the
socket mode after confirming the path belongs to the current user, then
verify that the filesystem identity is unchanged.

Co-authored-by: Codex <noreply@openai.com>
@jfut
jfut merged commit 5ab47d7 into main Nov 6, 2026
4 checks passed
@jfut
jfut deleted the fix/harden-agent-endpoints branch November 6, 2026 05: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