From c7670e5cc86d889ceab111b10ee89322500cb1e8 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 25 May 2026 07:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20execute=5Fcommand.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/tools/impl/execute_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/agent/tools/impl/execute_command.py b/app/agent/tools/impl/execute_command.py index 5e2a3815..cc25eeb8 100644 --- a/app/agent/tools/impl/execute_command.py +++ b/app/agent/tools/impl/execute_command.py @@ -30,7 +30,7 @@ READ_CHUNK_SIZE = 4096 KILL_GRACE_SECONDS = 3 COMMAND_CONCURRENCY_LIMIT = 2 COMMAND_FORBIDDEN_KEYWORDS = ( - "rm -rf /", + "rm -rf / ", ":(){ :|:& };:", "dd if=/dev/zero", "mkfs",