T09 · Insecure Skill Coding Practices
- Location
toolkit/scripts/new-task.sh:10- Finding
Unvalidated Task Identifiers Permit Path Traversal and Filesystem Writes
- Content
View full analysis
"logs/${task_id}.log" stages_json="" for stage_id in "${stages[@]}"; do if [[ -n "$stages_json" ]]; then stages_json+=$'\n , ' else stages_json+=" " fi stages_json+="{ \"id\": \"${stage_id}\", \"status\": \"todo\" }" done cat > "tasks/${task_id}.json" <- Remediation
View remediation
