From 1e22cd0bc544f313e629399afe8d65db5d646b7b Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 21 Dec 2025 15:29:58 -0800 Subject: [PATCH] fix(lint): add nosec for mail delegate exec.Command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gosec G204 warning - the cmdName comes from user configuration (mail_delegate setting), not untrusted input. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- cmd/bd/mail.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/bd/mail.go b/cmd/bd/mail.go index 9456947b..a111cec9 100644 --- a/cmd/bd/mail.go +++ b/cmd/bd/mail.go @@ -68,6 +68,7 @@ Examples: cmdArgs := append(parts[1:], args...) // Execute the delegate command + // #nosec G204 - cmdName comes from user configuration (mail_delegate setting) execCmd := exec.Command(cmdName, cmdArgs...) execCmd.Stdin = os.Stdin execCmd.Stdout = os.Stdout