mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 18:12:52 +00:00
fix(security): bind system.run approvals to exact argv text
This commit is contained in:
@@ -96,6 +96,7 @@ export const ExecApprovalRequestParamsSchema = Type.Object(
|
||||
argv: Type.Array(Type.String()),
|
||||
cwd: Type.Union([Type.String(), Type.Null()]),
|
||||
rawCommand: Type.Union([Type.String(), Type.Null()]),
|
||||
commandPreview: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
||||
agentId: Type.Union([Type.String(), Type.Null()]),
|
||||
sessionKey: Type.Union([Type.String(), Type.Null()]),
|
||||
mutableFileOperand: Type.Optional(
|
||||
|
||||
Reference in New Issue
Block a user