mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 21:48:38 +00:00
fix(security): harden approval-bound node exec cwd handling
This commit is contained in:
@@ -252,6 +252,7 @@ export function registerNodesInvokeCommands(nodes: Command) {
|
||||
{
|
||||
id: approvalId,
|
||||
command: rawCommand ?? argv.join(" "),
|
||||
commandArgv: argv,
|
||||
cwd: opts.cwd,
|
||||
nodeId,
|
||||
host: "node",
|
||||
|
||||
Reference in New Issue
Block a user