T09 · Insecure Skill Coding Practices
- Location
scripts/research.sh:11- Finding
API Credential Disclosure Through a User-Configurable Gateway
- Content
View full analysis
- Remediation
View remediation
&2 exit 1 fi URL="${GATEWAY}${ENDPOINT}" if [[ -n "${RESEARCH_API_KEY:-}" ]]; then CURL_ARGS+=(-H "Authorization: Bearer ${RESEARCH_API_KEY}") fi ``` For deployments that genuinely require multiple gateways, replace the exact comparison with robust URL parsing and an administrator-controlled HTTPS origin allowlist. ]]>
