fix(tools): bash: add scp and ssh to banned commands
Add `scp` and `ssh` to the list of banned commands to avoid security
risks and UI issues when asking for user input in the terminal.
commit46e2fc409e624bfdc456d5de545f144fe6ffb925
authorAyman Bagabas <ayman.bagabas@gmail.com>
dateMon 21 Jul 2025, 11:40 (1 year ago)
parentd525721
internal/llm/tools/bash.go+2
@@ -55,6 +55,8 @@ var bannedCommands = []string{
5555 "lynx",
5656 "nc",
5757 "safari",
58+ "scp",
59+ "ssh",
5860 "telnet",
5961 "w3m",
6062 "wget",