T09 · Insecure Skill Coding Practices
- Location
scripts/lib/http.js:35- Finding
Bearer API Key Forwarded Across Cross-Origin Redirects
- Content
View full analysis
0) { try { const nextUrl = new url_1.URL(location, target).toString(); const redirected = await requestText(nextUrl, { method: statusCode === 303 ? "GET" : method, headers: requestHeaders, body: statusCode === 303 ? undefined : body, timeoutMs, insecure, maxRedirects: maxRedirects - 1, }); resolve(redirected); } ``` ### Technical Analysis The model API request contains a bearer credential in the `Authorization` header. The shared HTTP client follows redire ...[truncated 1630 chars]- Remediation
View remediation
