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
in both cases, I expect to see DYLD_TEST set to "yes", but it is unset.
Additional information
I understand not allowing DYLD_* (or LD_PRELOAD or whatever) in codex's own processes, but not allowing them in the shell seems unreasonable. Lots of tasks depend on these tools.
Title: "fix: enable process hardening in Codex CLI for release builds"
Rationale: "I don't believe there is any upside in making process hardening opt-in"
Why the original rationale was incorrect:
CUDA development is not "tinkering" - it's mainstream ML/AI work
"Build from source" is not viable for most enterprise/academic users
Performance regression (11-300x) is severe and unacceptable
Security benefit is minimal beyond existing Landlock/Seatbelt boundaries
This is not a new feature request. It is a request to restore the previous opt-in behavior from commit 0dd49683, which was reverted by commit b8e1fe60.
Activity
fix(core): inject DYLD_* vars into shell command on macOS (Fixes open…
[-]unable to set DYLD_* in codex's shell[/-][+]Allow DYLD_* in codex's shell[/+]johnzfitch commentedon Jan 8, 2026
Thank you @amonks this issue has a bigger surface area than this and I'm glad some others are starting to file reports too.
Original PR that introduced the problem:
b8e1fe60c5af4439c7e159a49ba11a0ef3f7eb7cWhy the original rationale was incorrect:
This is not a new feature request. It is a request to restore the previous opt-in behavior from commit
0dd49683, which was reverted by commitb8e1fe60.fix: remove existing process hardening from Codex CLI (#8951)
etraut-openai commentedon Feb 23, 2026
This feature request hasn't received enough upvotes, so I'm closing it.
fix: remove existing process hardening from Codex CLI (openai#8951)
fix: remove existing process hardening from Codex CLI (#8951)
fix: remove existing process hardening from Codex CLI (#8951)