T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:31- Finding
API credential exposed in URL query parameters
- Content
View full analysis
item.location === "query")) { const value = params[parameter.name]; if (value === undefined) { continue; } appendValue(url.searchParams, parameter.name, value); } } ``` ### Technical Analysis The Skill sends the JustOneAPI credential as a URL query parameter. HTTPS protects the request from passive network interception, and the destination is restricted to the declared `https://api.justoneapi.com` service. However, URL query strings are commonly retained by reverse proxies, API gateways, request tracing systems, access logs, monitoring products, and diagnostic tooling. Sending a credential to the declared API is necessary for the Skill's function, but placing that credential in the URL creates exposure beyond the minimum necessary. Authentication headers are generally less likely to be recorded than complete request URLs. The generated OpenAPI metadata also defines the token as a ...[truncated 1170 chars]- Remediation
View remediation
