T09 · Insecure Skill Coding Practices
- Location
SKILL.md:86- Finding
API Token Exposed Through Query Parameters and Console Output
- Content
View full analysis
``` ### Technical Analysis The generated API token is a bearer-equivalent credential used to authenticate subsequent owner and lobby operations. The Skill instructs users to print this credential to standard output and place it in a URL query parameter. Secrets in query strings can be recorded by reverse proxies, load balancers, web-server access logs, monitoring platforms, browser or request histories, and diagnostic tooling. Printing the credential can additionally disclose it through terminal recordings, CI logs, agent transcripts, or centralized log collection. HTTPS protects the request while it is in transit but does not prevent the URL from being retained at either endpoint or by observability infrastructure. Because possession of the token is sufficient for authentication, disclosure can enable impersonation. ### Attack Path 1. A user follows the Quick Start instructions and generates an API token. 2. The token is printed to terminal or automation logs. 3. The same token is sent in the `token` query parameter when polling the status endpoint. 4. An attacker obtains access to terminal output, CI logs, proxy logs, server access logs, monitoring data, or diagnostic records. 5. The attacker extracts the token ...[truncated 674 chars]- Remediation
View remediation
