Skip to content

Fix macOS sandbox panic in Codex HTTP client - #16670

Merged
etraut-openai merged 1 commit into
mainfrom
etraut/fix-system-configuration-panic
Apr 3, 2026
Merged

etraut-openai merged 1 commit into
mainfrom
etraut/fix-system-configuration-panic

Conversation

@etraut-openai

@etraut-openai etraut-openai commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor

Addresses #15640

Problem: codex exec panicked on macOS when sandboxed proxy discovery hit a NULL SCDynamicStore handle in system-configuration.

Solution: Bump hyper-util and system-configuration to versions that handle denied configd lookups safely, and refresh the Bazel lockfile.

Testing: Verified using the manual printf '(version 1) (allow default) (deny mach-lookup (global-name "com.apple.SystemConfiguration.configd"))' > /tmp/deny-configd.sb sandbox-exec -f /tmp/deny-configd.sb codex exec -s danger-full-access "echo test". Prior to the fix, this caused a panic.

@etraut-openai
etraut-openai merged commit 1cc8701 into main Apr 3, 2026
41 of 44 checks passed
@etraut-openai
etraut-openai deleted the etraut/fix-system-configuration-panic branch April 3, 2026 17:55
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants