T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:17- Finding
API Authentication Token Exposed Through Command-Line Arguments and URL Query Parameters
- Content
View full analysis
parameter.name === "token"); if (!tokenParam || params.token !== undefined) { return; } if (!cliToken) { fail("--token is required for this operation.", { operationId: operation.operationId, }); } params.token = cliToken; } ``` ```js function applyQueryParams(operation ...[truncated 3337 chars]- Remediation
View remediation
