fix(lint): add nosec for mail delegate exec.Command
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 <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,7 @@ Examples:
|
|||||||
cmdArgs := append(parts[1:], args...)
|
cmdArgs := append(parts[1:], args...)
|
||||||
|
|
||||||
// Execute the delegate command
|
// Execute the delegate command
|
||||||
|
// #nosec G204 - cmdName comes from user configuration (mail_delegate setting)
|
||||||
execCmd := exec.Command(cmdName, cmdArgs...)
|
execCmd := exec.Command(cmdName, cmdArgs...)
|
||||||
execCmd.Stdin = os.Stdin
|
execCmd.Stdin = os.Stdin
|
||||||
execCmd.Stdout = os.Stdout
|
execCmd.Stdout = os.Stdout
|
||||||
|
|||||||
Reference in New Issue
Block a user