High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: (G112, G204) gosec
Luigi Agosti86b75a02f40a
diff --git a/cmd/pinchtab/cmd_server_background.go b/cmd/pinchtab/cmd_server_background.goindex 6757d439..5048fcb3 100644--- a/cmd/pinchtab/cmd_server_background.go+++ b/cmd/pinchtab/cmd_server_background.go@@ -317,7 +317,7 @@ func defaultReadProcessCommand(pid int) (string, error) {parts := strings.Split(strings.TrimRight(string(data), "\x00"), "\x00")return strings.TrimSpace(strings.Join(parts, " ")), nil}- out, err := exec.Command("ps", "-p", strconv.Itoa(pid), "-o", "command=").Output()+ out, err := exec.Command("ps", "-p", strconv.Itoa(pid), "-o", "command=").Output() // #nosec G204 -- pid is an int argument to a static ps command, no shell expansionif err != nil {return "", err}