security(message-tool): validate filePath/path against sandbox root (#6398)

* security(message-tool): validate filePath/path against sandbox root

* style: translate Polish comments to English for consistency
This commit is contained in:
Leszek Szpunar
2026-02-01 23:19:09 +01:00
committed by GitHub
parent 99346314f5
commit 9b6fffd00a
3 changed files with 120 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ export function createOpenClawTools(options?: {
currentThreadTs: options?.currentThreadTs,
replyToMode: options?.replyToMode,
hasRepliedRef: options?.hasRepliedRef,
sandboxRoot: options?.sandboxRoot,
}),
createTtsTool({
agentChannel: options?.agentChannel,