T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:24- Finding
API Credential Exposed Through Command-Line Arguments and URL Query String
- 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, params, url) { for (const parameter of operation.par ...[truncated 2725 chars]- Remediation
View remediation
