Ask a question to get started
Enter to send•Shift+Enter new line
contains_dangerous_patterns( command: str, ) -> bool
command
str
The shell command to check.
Check if a command contains dangerous shell patterns.
These patterns can be used to bypass allow-list validation by embedding arbitrary commands within seemingly safe commands.