T01 · Skill Instruction Hijacking
- Location
scripts/verify.sh:13- Finding
Repository Metadata Can Inject Instructions into the Verifier Prompt
- Content
View full analysis
/dev/null || git diff --name-only --cached 2>/dev/null || echo "(no git changes detected)") # Count FILE_COUNT=$(echo "$FILES" | grep -c '.' || echo 0) # Get diff summary DIFF=$(git diff --stat "$BASE" HEAD 2>/dev/null || echo "(no diff available)") # Get commit messages since base COMMITS=$(git log --oneline "$BASE"..HEAD 2>/dev/null || echo "(no commits)") ``` ```bash # Build the prompt cat <- Remediation
View remediation
