critical
suspicious.dangerous_exec
- Location
- dist/mcp-proxy.mjs:89
- Finding
- Shell command execution detected (child_process).
- Evidence
const child = spawn(target.command, target.args, createTargetSpawnOptions());
AdvisoryAudited by Static analysis on May 20, 2026.
Detected: suspicious.dangerous_exec
const child = spawn(target.command, target.args, createTargetSpawnOptions());
const match = /^\s*(?<pid>\d+)\s+(?<ppid>\d+)\s+(?<command>.+?)\s*$/.exec(line);
const assignment = /^(?<key>"(?:\\.|[^"\\])*"|'[^']*'|[A-Za-z0-9_\-/.~:]+)\s*=\s*(?<value>.+)$/.exec(line);