You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Codex shadow home symlinks unclassified auth-like entries #8578
Area: apps/server
Version: current main at 45c0dff
Codex shadow-home materialization treats only exact auth.json and models_cache.json as private. Other shared-home entries are symlinked into the shadow home, including auth-like filenames
Reproduction:
Create disposable shared and shadow Codex homes
Add mode-0600 fixtures auth-fixture-a.json, auth_fixture_b.json, and auth.json.bak to the shared home
Add a mode-0600 auth.json fixture to the shadow home
Run resolveCodexHomeLayout and materializeCodexShadowHome
Inspect file types and targets with lstat and readlink
Actual result:
The three shared auth-like fixtures become shadow-home symlinks
The shadow's exact auth.json remains private
Expected result:
Credential-like entries remain private to their owning home
Reproduced on Linux at 3b95e7831b with disposable mode-0600 shared/shadow homes, both through materialization and real dev-server startup. The three reported auth-like fixtures became symlinks; the shadow's auth.json remained private.
#23428 keeps auth-like entries private and rejects existing matching symlinks. Two regression tests fail before the fix; all 10 focused tests pass afterward. The runtime evidence also checks preserved files, normal sharing, and rejection before provider launch.
Activity
juliusmarminge commentedon Oct 22, 2026
Reproduced on Linux at 3b95e7831b with disposable mode-0600 shared/shadow homes, both through materialization and real dev-server startup. The three reported auth-like fixtures became symlinks; the shadow's
auth.jsonremained private.#23428 keeps auth-like entries private and rejects existing matching symlinks. Two regression tests fail before the fix; all 10 focused tests pass afterward. The runtime evidence also checks preserved files, normal sharing, and rejection before provider launch.