T09 · Insecure Skill Coding Practices
- Location
scripts/githunt-search.sh:30- Finding
Unescaped command-line input permits JSON request-body manipulation
- Content
View full analysis
- Remediation
View remediation
0)))} else {} end ') ``` Additional hardening should include: 1. Restrict `role` to the documented allowlist. 2. Set maximum lengths for location and skill values. 3. Reject control characters and empty skill entries. 4. Validate the generated payload with `jq -e` before transmission. 5. Enforce a documented upper bound for `maxUsers`. 6. Report API and JSON parsing failures explicitly instead of suppressing all `curl` diagnostics. ]]>
