T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:29- Finding
API Credential Exposed Through URL Query Parameters 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); } } ``` The documented invocation explicitly passes the token as a command-line argument: ```bash node {baseDir}/bin/run.mjs --operation "getVideoCommentV1" --token "$JUST_ONE_API_TOKEN" --params-json '{"awemeId":""}' ` ...[truncated 2464 chars]- Remediation
View remediation
