Skip to content

Commit c27d3f3

Browse files
committed
Deny find -execdir
Part of #259668
1 parent 87eebd9 commit c27d3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const terminalChatAgentToolsConfiguration: IStringDictionary<IConfigurati
145145
// approval
146146

147147
// Overwriting allowed by default commands with special cases
148-
'/find\\b.*-exec\\b/': false,
148+
'/find\\b.*-exec(dir)?\\b/': false,
149149

150150
// Deleting files
151151
rm: false,

0 commit comments

Comments
 (0)