T09 · Insecure Skill Coding Practices
- Location
references/qa_checklist.md:26- Finding
Command Injection Through Unsanitized Presentation Title in QA Shell Template
- Content
View full analysis
' $FILE)" echo "4. DOCTYPE count: $(grep -c '' $FILE)" echo "5. html tag count: $(grep -c '- Remediation
View remediation
&2 exit 2 fi file=$1 ``` 2. Quote every filename expansion and use `--` where supported to prevent word splitting, wildcard expansion, and option confusion: ```bash test -f "$file" stat --format='%s' -- "$file" grep -c -- '' "$file" grep -c -- '' "$file" grep -c -- '
