Files
codex/codex-rs
Charlie Marsh f97e775693 Fail closed on deeply nested command wrappers (#39122)
## Why

Dangerous-command inspection has a bounded wrapper depth. Returning no match
after that limit could let a nested dangerous payload escape policy detection.

## What changed

- Classify commands beyond the wrapper-depth limit as dangerous.
- Cover the boundary and overflow cases in the command-safety unit tests.
- Verify that exec policy rejects a deeply `env`-wrapped forced `rm` before it
  can delete a sentinel file when approvals are disabled.

GitOrigin-RevId: a6cdbbb7bdc6274a62745f668189fabaaf46745f
2026-08-18 02:23:57 +00:00
..
2026-07-29 13:53:15 +00:00
2026-08-17 23:04:09 +00:00
…
2026-08-17 23:04:09 +00:00
2026-08-17 23:04:09 +00:00
2026-07-29 13:53:15 +00:00
2026-06-04 09:16:03 -07:00