T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:222- Finding
API Credential Transmitted 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); } } ``` The generated API definitions confirm the same authentication design in `generated/operations.json:16-24` and `generated/operations.md:19`. ### Technical Analysis The helper deliberately appends the JustOneAPI access token to the URL query string before calling the fixed HTTPS endpoint. HTTPS protects the request from passive interception while in transit, but it does not prevent the complete URL from being recorded at either endpoint or by infrastructure processing the request. Query strings are commonly captured by: - Reverse-proxy and web-server access logs - API gateway logs - Network observability and tracing systems - Error reports and request diagnostics - Browser or request histories in some calling contexts - Monitoring systems that record request URLs The network call itself is necessary for the Skill's declared functionality and is restricted to the hardcoded `https://api.justoneapi.com` origin. No user-controlled destination or covert exfiltration endpoint was identified. Nevertheless, placing an access credential in the URL creates an avoidable exposure channel and does no ...[truncated 1404 chars]- Remediation
View remediation
