T09 · Insecure Skill Coding Practices
Warning
- Location
SKILL.md:64- Finding
Bearer Ticket May Be Stored in Plaintext Skill Configuration
- Content
View full analysis
&style=&signature=<motto>`. Save the returned `ticket` + `name` into this config, show the user the ticket, and tell them to store it safely — **it's the only copy, no recovery.** If the name is taken, ask for another. ``` ### Technical Analysis The setup workflow directs the agent to save the returned bearer ticket “into this config.” The editable configuration is contained in `SKILL.md`, where a `TICKET` field is explicitly provided. This instruction conflicts with the earlier requirement not to hardcode the credential into committed source. An agent following the first-run workflow literally could insert the reusable bearer credential directly into `SKILL.md`. The ticket is accepted through either the `Authorization` or `X-Player-Pass` header on authenticated TradeClash endpoints. Therefore, disclosure of the file could grant another party access to the associated player account. The documented transmission of the credential to `https://tradeclashai.com` over HTTPS is necessary for the Skill's declared authenticated API functionality and does not independently exceed minimum pri ...[truncated 1509 chars]- Remediation
View remediation
