check_command_safety
Check a shell command before executing it and receive a risk verdict with plain-English warnings for destructive patterns such as rm -rf /, curl | sudo bash, and disk-wiping commands.
Instructions
Safety-check a shell command BEFORE executing it. Returns a risk verdict (danger / caution / none) and plain-English warnings for destructive patterns: rm -rf /, curl | sudo bash, dd/mkfs/shred/wipefs to a disk device, chmod -R 777 /, git push --force, truncating /etc/passwd, fork bombs, kill -9 -1, find / -delete, and more. Ideal as a guard an AI agent calls before running shell commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command line to safety-check. |