High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: use #nosec G204 annotation (gosec syntax, not golangci-lint)
Bosch70a2c5580c95
diff --git a/cmd/pinchtab/cmd_daemon.go b/cmd/pinchtab/cmd_daemon.goindex 100a825c..0ea8fe55 100644--- a/cmd/pinchtab/cmd_daemon.go+++ b/cmd/pinchtab/cmd_daemon.go@@ -266,7 +266,7 @@ type commandRunner interface {type osCommandRunner struct{}func (r osCommandRunner) CombinedOutput(name string, arg ...string) ([]byte, error) {- return exec.Command(name, arg...).CombinedOutput() //nolint:gosec // G204: args are daemon manager controlled, not user input+ return exec.Command(name, arg...).CombinedOutput() // #nosec G204 -- args are daemon manager controlled, not user input}type daemonEnvironment struct {diff --git a/internal/bridge/profile_lock_pid_other.go b/internal/bridge/profile_lock_pid_other.goindex fcfdb15d..af31adcb 100644--- a/internal/bridge/profile_lock_pid_other.go+++ b/internal/bridge/profile_lock_pid_other.go@@ -53,7 +53,7 @@ func isPinchTabProcess(pid int) bool {}// On Linux/macOS, we can check the process name or args.// A simple check is to see if the command contains "pinchtab".- cmd := exec.Command("ps", "-p", fmt.Sprintf("%d", pid), "-o", "args=") //nolint:gosec // G204: pid is an int, not user-controlled string+ cmd := exec.Command("ps", "-p", fmt.Sprintf("%d", pid), "-o", "args=") // #nosec G204 -- pid is an int, not user-controlled stringout, err := cmd.Output()if err != nil {return false