T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:229- Finding
Authentication Token Exposed Through URL Query String and Process Arguments
- Content
View full analysis
item.location === "query")) { const value = params[parameter.name]; if (value === undefined) { continue; } appendValue(url.searchParams, parameter.name, value); } } ``` ### Technical Analysis Because `token` has a location of `query`, `applyQueryParams` constructs a request URL equivalent to: ```text https://api.justoneapi.com/api/beike/get-ershoufang-list/v1?token=SECRET&cityId=110000&condition=&offset=0 ``` HTTPS encrypts the request while it is in transit, but it does not prevent the complete URL from being recorded at either endpoint or by trusted infrastructure. Query strings are commonly retained in reverse-proxy access logs, API gateway logs, observability platforms, debugging output, monitoring agents, and backend request logs. The documented invocation also supplie ...[truncated 1950 chars]- Remediation
View remediation
