summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/shell.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/tools/shell.ts')
-rw-r--r--packages/core/src/tools/shell.ts7
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];