codex-safe-sandbox-no-approval
Pass
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Executes a local Bash script located at
scripts/manage_codex_safe_no_approval.shto manage configuration states. - [DATA_EXPOSURE]: Accesses and modifies the user's local configuration file at
~/.codex/config.tomlto adjust operational settings. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Reads existing data from the user's
~/.codex/config.tomlfile (processed inscripts/manage_codex_safe_no_approval.sh). - Boundary markers: No specific delimiters are used to wrap the configuration content being processed.
- Capability inventory: Performs file system operations using standard utilities including
awk,mkdir,cp,mv, andmktempvia subprocess calls. - Sanitization: The script employs
awkto identify and replace specific key-value pairs (approval_policyandsandbox_mode) based on text patterns, rather than executing or evaluating the content of the file directly.
Audit Metadata