fix(security): enforce workspaceOnly for sandbox image tool

This commit is contained in:
Peter Steinberger
2026-02-24 02:17:06 +00:00
parent 0026255def
commit dd9d9c1c60
5 changed files with 129 additions and 2 deletions

View File

@@ -458,6 +458,7 @@ export function createOpenClawCodingTools(options?: {
agentDir: options?.agentDir,
sandboxRoot,
sandboxFsBridge,
workspaceOnly,
workspaceDir: workspaceRoot,
sandboxed: !!sandbox,
config: options?.config,