High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: suppress gosec G204 for browser-open commands
Bosch0c511246ddd2
diff --git a/cmd/pinchtab/cmd_dashboard.go b/cmd/pinchtab/cmd_dashboard.goindex c4f1a5c6..8048fb51 100644--- a/cmd/pinchtab/cmd_dashboard.go+++ b/cmd/pinchtab/cmd_dashboard.go@@ -96,14 +96,15 @@ func isDashboardReachable(host, port string) bool {}func openBrowser(url string) error {+ // url is constructed internally from config host+port, not raw user input.var cmd *exec.Cmdswitch runtime.GOOS {case "darwin":- cmd = exec.Command("open", url)+ cmd = exec.Command("open", url) // #nosec G204 -- url built from internal config values (host:port)case "windows":- cmd = exec.Command("cmd", "/c", "start", url)+ cmd = exec.Command("cmd", "/c", "start", url) // #nosec G204 -- url built from internal config values (host:port)default:- cmd = exec.Command("xdg-open", url)+ cmd = exec.Command("xdg-open", url) // #nosec G204 -- url built from internal config values (host:port)}return cmd.Start()}