Context-Inappropriate Capability
High
- Confidence
- 94% confidence
- Finding
- This code exposes a dangerous native-execution path by resuming local Codex CLI sessions through a spawned subprocess (`codex exec resume`) and feeding attacker-controlled prompt input to its stdin. Although the command name and session ID are constrained, this still grants a bound conversation the ability to trigger local CLI execution in a user-chosen working directory, which can lead to filesystem access, code execution side effects, or misuse of the Codex CLI's existing privileges.
