badmonster 1 day ago

Since it's generating terminal commands dynamically, what safeguards (if any) are in place to avoid generating destructive or insecure commands (like rm -rf /, etc.)?

2
dtnewman 1 day ago

1) When you are selecting a command you get a little description at the bottom telling you what it does.

2) this doesn’t run anything. It goes to your clipboard and you have to run it yourself

3) this a good callout… what do u think? I’m thinking maybe ask the models to return a Boolean is_dangerous plus a small explanation and then I can display dangerous commands in red and show the warning when you select one.

badmonster 1 day ago

sounds like a solid plan

sathishvj 1 day ago

Yes, this is a concern. When I built something similar (gencmd.com), I avoided the auto-run option even though it was easy to implement. imho, it's better to have a human in the loop for these.