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.sh to manage configuration states.
  • [DATA_EXPOSURE]: Accesses and modifies the user's local configuration file at ~/.codex/config.toml to adjust operational settings.
  • [INDIRECT_PROMPT_INJECTION]:
  • Ingestion points: Reads existing data from the user's ~/.codex/config.toml file (processed in scripts/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, and mktemp via subprocess calls.
  • Sanitization: The script employs awk to identify and replace specific key-value pairs (approval_policy and sandbox_mode) based on text patterns, rather than executing or evaluating the content of the file directly.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 21, 2026, 11:33 AM