Shell Profile
Load when the diff touches shell scripts or shell-heavy CI blocks.
Checks
SH-001Unquoted expansion (HIGH): word-splitting/globbing can alter command behavior.SH-002Command injection (CRITICAL):evalor string-built commands with untrusted input.SH-003Error masking (HIGH): missingset -euo pipefailor unchecked critical commands.SH-004Tempfile race/leak (MEDIUM): insecure temp paths or missing cleanup traps.SH-005Portability mismatch (LOW): shebang/syntax mismatch for target shell.SH-006Secret leakage (HIGH): credentials exposed in args, logs, or traces.
Evidence Expectations
- Show exact expansion/injection vector and resulting command behavior.