T09 · Insecure Skill Coding Practices
- Location
scripts/_lib.sh:58- Finding
Unencoded User Input Permits Cloudflare API Query-Parameter Injection
- Content
View full analysis
- Remediation
View remediation
&2 exit 1 } RETURNED_NAME=$(echo "$RECORDS" | jq -r '.result[0].name') RETURNED_TYPE=$(echo "$RECORDS" | jq -r '.result[0].type') [ "$RETURNED_NAME" = "$FULL_NAME" ] && [ "$RETURNED_TYPE" = "$TYPE" ] || { echo "API result does not exactly match the requested record" >&2 exit 1 } ``` 5. Prefer immutable resource IDs for destructive operations when practical, and display all verified identifying fields before requesting confirmation. ]]>
