High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: gosec nosec annotations, prettier format LoginPage
Bosche145bfb2cda5
diff --git a/cmd/pinchtab/cmd_daemon.go b/cmd/pinchtab/cmd_daemon.goindex 9fa230e5..100a825c 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()+ return exec.Command(name, arg...).CombinedOutput() //nolint:gosec // G204: args are daemon manager controlled, not user input}type daemonEnvironment struct {diff --git a/dashboard/src/pages/LoginPage.tsx b/dashboard/src/pages/LoginPage.tsxindex d2764f16..f76f8b8d 100644--- a/dashboard/src/pages/LoginPage.tsx+++ b/dashboard/src/pages/LoginPage.tsx@@ -16,7 +16,6 @@ export default function LoginPage() {(location.state as { from?: string } | null)?.from ||"/dashboard/monitoring";-const handleSubmit: NonNullable<ComponentProps<"form">["onSubmit"]> = async (event,) => {diff --git a/internal/bridge/profile_lock_pid_other.go b/internal/bridge/profile_lock_pid_other.goindex d0b465f3..fcfdb15d 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=")+ cmd := exec.Command("ps", "-p", fmt.Sprintf("%d", pid), "-o", "args=") //nolint:gosec // G204: pid is an int, not user-controlled stringout, err := cmd.Output()if err != nil {return false