Group of 2 You'll notice
Bash/zsh permission checks now catch more declare/typeset/local flag combinations that can silently change variable behavior
What
- The bash/zsh command-injection-safety analyzer now flags
declare,typeset, andlocalwhen used with flags for nameref, integer, float, array, width-truncation, or case-conversion behavior as "too-complex", and also broadensexport/readonlyflag detection to include more flags beyond the previous set. - The zsh
typeset/declarepermission check that blocks silent auto-approval when eval-changing flags are present now also catches width-truncation/case-conversion flags and the-l/-uflags, not just the previous set, and applies the check per-argument instead of only to the first flag group.
Why
These flags can change how a variable is interpreted or displayed, so catching more of them closes gaps where a command could silently auto-approve when it shouldn't.