T09 · Insecure Skill Coding Practices
- Location
references/cookiy/scripts/cookiy.sh:145- Finding
Bearer Token Disclosure Through Unrestricted API Endpoint Overrides
- Content
View full analysis
/dev/null || mktemp)" resp="$(curl -sS --max-time "$API_CALL_TIMEOUT" -w '\n%{http_code}' \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "$payload" \ "$API_ENDPOINT" 2>"$cerr")" || { ``` ```bash while [[ $# -gt 0 ]]; do case "$1" in # Undocumented in usage/help; for internal API base override only. --server-url) SERVER_URL_OPT="$2"; shift 2 ;; --api-url|--mcp-url) API_URL_OPT="$2"; s ...[truncated 2741 chars]- Remediation
View remediation
