T09 · Insecure Skill Coding Practices
- Location
SKILL.md:735- Finding
Permanent Wolai API Token Exposed in Console Output and Agent Conversation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a coherent Wolai API helper, but it gives unsafe guidance for handling a permanent Wolai access token.
Install only if you are comfortable granting the skill access to the Wolai pages and databases allowed by your Wolai app. Store WOLAI_TOKEN through a secure credential or environment mechanism instead of pasting it into chat, avoid printing the token, grant the Wolai app minimum permissions, and rotate the token immediately if it appears in a conversation, terminal log, or transcript.
SKILL.md:735Permanent Wolai API Token Exposed in Console Output and Agent Conversation
The operational instructions and examples are written in Chinese, and the skill emphasizes Chinese text handling, but it does not state that users may interact in another language or opt into Chinese-only behavior. Because SQP-3 applies to natural-language policy issues across all file types, this is a locale/language constraint that is not explicitly optional or justified as region-specific.
The setup explicitly tells the user to provide a permanent wolai API token to the AI assistant, and the token is described as long-lived (expire_time: -1). Encouraging users to paste persistent credentials into an AI interaction channel materially increases the risk of credential exposure, replay, and unauthorized access to pages, blocks, and databases accessible through that token.