T08 · Insecure Dependencies
- Location
setup.sh:124- Finding
Mutable and Unverified Remote Dependencies Can Change After Review
- Content
View full analysis
/dev/null; then uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@latest --force ok "specify CLI installed via uv" elif command -v pipx &>/dev/null; then pipx install --force git+https://github.com/github/spec-kit.git@latest ok "specify CLI installed via pipx" ``` Additional remote Agent Skills are obtained from mutable branches: ```bash local SP_SKILLS=( "superpowers-requesting-code-review=https://raw.githubusercontent.com/obra/superpowers/main/skills/requesting-code-review/SKILL.md" "superpowers-systematic-debugging=https://raw.githubusercontent.com/obra/superpowers/main/skills/systematic-debugging/SKILL.md" ) local MP_SKILLS=( "mattpocock-diagnose=https://raw.githubusercontent.com/mattpocock/skills/main/skills/engineering/diagnose/SKILL.md" "mattpocock-improve-codebase-architecture=https://raw.githubusercontent.com/mattpocock/skills/main/skills/engineering/improve-codebase-architecture/SKILL.md" ) ``` Downloaded Skill files receive only superficial format validation: ```bash if curl -fsSL --retry 3 --retry-delay 2 "$url" -o "${dest_dir}/SKILL.md"; then # Validate: file must be non-empty and look like a Markdown skill file if [ ! -s "${dest_dir}/SKILL.md" ]; then fail "$name (downloaded file is empty — check URL: $url)" rm -f "${dest_dir}/SKILL.md" return 1 fi # Reject HTML error pages and non-markdown content local first_line first_line=$(head -1 "${dest_dir}/SKILL.md") if echo "$first_line" | grep -qiE '^<(!DOCTYPE|html|head)'; then fail "$name (downloaded HTML instead of Markdown — UR ...[truncated 3081 chars]- Remediation
View remediation
