Skip to main content

is_dangerous_command

Function is_dangerous_command 

Source
pub fn is_dangerous_command(command: &str) -> bool
Expand description

Check if a command matches known dangerous patterns (e.g., rm -rf /, git push --force).