SG-074: Subcommand chain overflow

Severity: HIGH

Bash command chains >=40 subcommands; overflows MAX_SUBCOMMANDS_FOR_SECURITY_CHECK so deny-list rules never see the tail.

Fires when

Remediation

No safe remediation: a file that triggers this rule should be rejected, not patched. Read the flagged lines in the source before deciding.

Research