Skip to main content

What it flags

exec.Command or exec.CommandContext invokes a known shell in command mode. This includes literal paths to sh and bash with -c, Windows Command Prompt with /c or /k, and PowerShell with -Command or -c. Execute the target binary directly with explicit arguments.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: