Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/goose/utils/check_shell_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down