T09 · Insecure Skill Coding Practices
- Location
scripts/submit_generate_music.sh:9- Finding
Unvalidated Arbitrary File Upload to a Third-Party API
- Content
View full analysis
- Remediation
View remediation
&2 exit 2 fi if ! jq -e ' type == "object" and .model == "generate-music" and (.input | type == "object") and (.input.custom_mode | type == "boolean") ' "$payload_file" >/dev/null; then echo "Error: payload is not a valid Generate Music request" >&2 exit 2 fi ``` ]]>
