Scan Bash scripts for PATH prefix vulnerabilities by identifying external commands not shadowed by Bash functions; report findings and file GitHub minor issues for each uncovered command.
Use this skill when the user asks to scan Bash scripts for PATH prefix vulnerabilities or to audit external command usage.
Confirm scope
rg --files -g '*.sh'..sh if they have a Bash shebang.Collect function overrides
name() and function name.source or .) when provided.Identify command invocations
Report findings
path:lineCreate GitHub minor issues
github-issues skill and its Task template.if, then, else, elif, fi, for, while, until, case, esac, select, in, do, done, function, time, coproc.compgen -b or help when available; otherwise treat the common builtins as safe.[Security][Minor] Add function override for <command> in <file>bug and security if available; otherwise omit labels.