From 6fd11e8e4569621a57157e27d94cbd94a692eddf Mon Sep 17 00:00:00 2001 From: Alex Rosenzweig <64241648+shellz-n-stuff@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:18:53 +1000 Subject: [PATCH] chore(docs): update is_dangerous_command method description (#48) --- src/goose/utils/check_shell_command.py | 2 ++ 1 file changed, 2 insertions(+) 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.