T09 · Insecure Skill Coding Practices
- Location
bin/run.mjs:65- Finding
API 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; ...[truncated 3430 chars]- Remediation
View remediation
"}' ``` - Continue warning users not to paste token values into chats, screenshots, or logs. ]]>
