diff --git a/tools/code_execution_tool.py b/tools/code_execution_tool.py index c5a89488a..96e21d0cb 100644 --- a/tools/code_execution_tool.py +++ b/tools/code_execution_tool.py @@ -979,6 +979,7 @@ def execute_code( # --- Start UDS server --- server_sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) server_sock.bind(sock_path) + os.chmod(sock_path, 0o600) server_sock.listen(1) rpc_thread = threading.Thread(