High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: not user input
Luigi Agosti269ec8dd262b
diff --git a/tests/tools/runner/loop.go b/tests/tools/runner/loop.goindex 8a1cab29..217969e1 100644--- a/tests/tools/runner/loop.go+++ b/tests/tools/runner/loop.go@@ -243,7 +243,7 @@ func appendCommandLog(path, command string, exitCode int, output string) {func recordUsage(toolsDir, reportFile string, runner Runner) {usage := runner.Usage()script := filepath.Join(toolsDir, "scripts", "record-run-usage.sh")- cmd := exec.Command(script,+ cmd := exec.Command(script, // #nosec G204 -- script path is constructed from known toolsDir"--report-file", reportFile,"--provider", runner.Provider(),"--source", runner.Source(),diff --git a/tests/tools/runner/prompt.go b/tests/tools/runner/prompt.goindex eac66084..5edfbd80 100644--- a/tests/tools/runner/prompt.go+++ b/tests/tools/runner/prompt.go@@ -169,7 +169,7 @@ func DownloadAgentBrowserSkill(repoRoot, toolsDir string) (string, error) {skillFile := filepath.Join(skillDir, "SKILL.md")wrapper := filepath.Join(toolsDir, "scripts", "ab")- cmd := exec.Command(wrapper, "skills", "get", "agent-browser", "--full")+ cmd := exec.Command(wrapper, "skills", "get", "agent-browser", "--full") // #nosec G204 -- wrapper path is constructed from known toolsDircmd.Dir = toolsDiroutput, err := cmd.Output()if err != nil {diff --git a/tests/tools/runner/recordstep.go b/tests/tools/runner/recordstep.goindex a007742b..a58e3fc6 100644--- a/tests/tools/runner/recordstep.go+++ b/tests/tools/runner/recordstep.go@@ -314,7 +314,7 @@ func collectDockerStats(benchmarkType string) map[string]any {return nil}- cmd := exec.Command("docker", "stats", "--no-stream", "--no-trunc",+ cmd := exec.Command("docker", "stats", "--no-stream", "--no-trunc", // #nosec G204 -- container name from test config"--format", "{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}\t{{.NetIO}}\t{{.BlockIO}}\t{{.PIDs}}",container)output, err := cmd.Output()diff --git a/tests/tools/runner/summary.go b/tests/tools/runner/summary.goindex 4bc41db5..57a1b25c 100644--- a/tests/tools/runner/summary.go+++ b/tests/tools/runner/summary.go@@ -213,7 +213,7 @@ func trimOneLine(s string, max int) string {// cmd.Run() which silently discarded the summary output — this is the fix.func runFinalizeReport(toolsDir, reportFile string, stdout, stderr io.Writer) {script := filepath.Join(toolsDir, "scripts", "finalize-report.sh")- cmd := exec.Command(script, reportFile)+ cmd := exec.Command(script, reportFile) // #nosec G204 -- script path is constructed from known toolsDircmd.Dir = toolsDircmd.Stdout = stdoutcmd.Stderr = stderr