Expand description
Command safety analysis module
This module provides functions to determine if shell commands are safe to execute automatically or potentially dangerous and require user confirmation.
Reference: vendors/codex/codex-rs/core/src/command_safety/
Functionsยง
- command_
might_ be_ dangerous - Check if a command might be dangerous
- extract_
command_ basename - Extract the basename of a command, handling full paths
- is_
known_ safe_ command - Check if a command is known to be safe (read-only, non-destructive)