fix(security): harden approval-bound node exec cwd handling

This commit is contained in:
Peter Steinberger
2026-02-26 04:13:59 +01:00
parent 8f8e2b13b4
commit f789f880c9
5 changed files with 191 additions and 0 deletions

View File

@@ -252,6 +252,7 @@ export function registerNodesInvokeCommands(nodes: Command) {
{
id: approvalId,
command: rawCommand ?? argv.join(" "),
commandArgv: argv,
cwd: opts.cwd,
nodeId,
host: "node",