diff --git a/src/goose/utils/check_shell_command.py b/src/goose/utils/check_shell_command.py index a029226118..e6c15f288b 100644 --- a/src/goose/utils/check_shell_command.py +++ b/src/goose/utils/check_shell_command.py @@ -5,6 +5,8 @@ def is_dangerous_command(command: str) -> bool: """ Check if the command matches any dangerous patterns. + Dangerous patterns in this function are defined as commands that may present risk to system stability. + Args: command (str): The shell command to check.