diff options
| author | N. Taylor Mullen <[email protected]> | 2025-07-07 09:15:10 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-07 16:15:10 +0000 |
| commit | 17dfa267d5bd1ee901a11baafb1e552045829b7b (patch) | |
| tree | 3a2603315e3219c4a6ea8094e2d303e42ec90667 /packages/core/src/tools/shell.ts | |
| parent | 48ebd728b30c5eb0bc86ab303187ff66bd35adac (diff) | |
Re-enable backticks in shell tool usage. (#3360)
Diffstat (limited to 'packages/core/src/tools/shell.ts')
| -rw-r--r-- | packages/core/src/tools/shell.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/core/src/tools/shell.ts b/packages/core/src/tools/shell.ts index 4954e055..bdee190f 100644 --- a/packages/core/src/tools/shell.ts +++ b/packages/core/src/tools/shell.ts @@ -123,13 +123,6 @@ Process Group PGID: Process group started or \`(none)\``, 'Command substitution using $() is not allowed for security reasons', }; } - if (command.includes('`')) { - return { - allowed: false, - reason: - 'Command substitution using backticks is not allowed for security reasons', - }; - } const SHELL_TOOL_NAMES = [ShellTool.name, ShellTool.Name]; |
