codex-cli-delegate
Pass
Audited by Gen Agent Trust Hub on Jul 1, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/codex_delegate.pyexecutes the localcodexbinary usingsubprocess.run. It passes arguments as a list rather than a shell string, which is a standard security measure to mitigate shell injection attacks. - [COMMAND_EXECUTION]: The skill enforces restricted execution modes by hardcoding
--ask-for-approval neverand selecting between--sandbox read-onlyor--sandbox workspace-writebased on the requested task. - [COMMAND_EXECUTION]: A security check is implemented to prevent the injection of dangerous Codex flags. The script scans the prompt, model override, and worktree name for the string
--dangerously-bypass-approvals-and-sandboxand terminates if detected.
Audit Metadata