From d4717c9015a5a448508ec20a8caf94704ddd6d14 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Tue, 18 Nov 2025 21:12:54 +0530 Subject: [PATCH] update allowed cmds --- apps/cli/src/application/config/security.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/cli/src/application/config/security.ts b/apps/cli/src/application/config/security.ts index 35809f14..c2b4f9fb 100644 --- a/apps/cli/src/application/config/security.ts +++ b/apps/cli/src/application/config/security.ts @@ -4,7 +4,18 @@ import { WorkDir } from "./config.js"; export const SECURITY_CONFIG_PATH = path.join(WorkDir, "config", "security.json"); -const DEFAULT_ALLOW_LIST = ["ls", "pwd", "cat", "echo", "whoami"]; +const DEFAULT_ALLOW_LIST = [ + "cat", + "curl", + "date", + "echo", + "grep", + "jq", + "ls", + "pwd", + "yq", + "whoami" +] let cachedAllowList: string[] | null = null; let cachedMtimeMs: number | null = null;