OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag.
https://github.com/openai/codex/pull/1644
https://github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0
https://github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8