Skip to content

fix(go): detect variable shell exec flags - #401

Merged
duriantaco merged 1 commit into
mainfrom
fix/go-exec-variable-shell-flag
May 17, 2026
Merged

duriantaco merged 1 commit into
mainfrom
fix/go-exec-variable-shell-flag

Conversation

@duriantaco

Copy link
Copy Markdown
Owner

Summary

Fixed a Go analyzer false negative where os/exec.Command shell execution was missed when the shell execution flag was stored in a variable or other non-literal expression. The change keeps the newer precision behavior for ordinary non-shell commands.

Tests

  • go test ./...

@duriantaco
duriantaco merged commit 3326276 into main May 17, 2026
11 checks passed
@duriantaco
duriantaco deleted the fix/go-exec-variable-shell-flag branch May 17, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant