feat: tighten exec allowlist gating

This commit is contained in:
Peter Steinberger committed 2026-01-21 21:45:50 +00:00
1 parent acd40e1780
commit 3b18efdd25
12 files changed
+541 -57

No files matched your search

+2
View File
@@ -131,6 +131,8 @@ export type ExecToolConfig = {
node?: string;
/** Directories to prepend to PATH when running exec (gateway/sandbox). */
pathPrepend?: string[];
/** Safe stdin-only binaries that can run without allowlist entries. */
safeBins?: string[];
/** Default time (ms) before an exec command auto-backgrounds. */
backgroundMs?: number;
/** Default timeout (seconds) before auto-killing exec commands. */