make plan agent whitelist more conservative (#3424)

This commit is contained in:
Aiden Cline
2025-10-24 14:40:36 -05:00
committed by GitHub
parent 74048ece2d
commit e88b659545
2 changed files with 55 additions and 6 deletions

View File

@@ -52,9 +52,6 @@ export namespace Agent {
{
edit: "deny",
bash: {
"awk -i inplace*": "ask",
"awk --inplace*": "ask",
"awk*": "allow",
"cut*": "allow",
"diff*": "allow",
"du*": "allow",
@@ -79,9 +76,6 @@ export namespace Agent {
"more*": "allow",
"pwd*": "allow",
"rg*": "allow",
"sed --in-place*": "ask",
"sed -i*": "ask",
"sed -n *": "allow",
"sort --output=*": "ask",
"sort -o *": "ask",
"sort*": "allow",