pub fn validate_command_safety(command: &str) -> Result<()>Expand description
Validates that a command is safe to execute.
Combines the centralized dangerous-command detector with injection pattern detection and additional dangerous-pattern checks (wget, curl, rmdir, etc.). This is the single entry point for command safety validation.