T09 · Insecure Skill Coding Practices
- Location
SKILL.md:40- Finding
API Key Exposure Through Command-Line Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is purpose-aligned for controlling a Dot Quote/0 device, but it handles real API credentials and recommends passing the API key on the command line, which can expose the key through shell history or process logs.
Review before installing if you use a real Dot API key. Prefer a short-lived environment variable or secret manager over --apiKey, avoid uploading sensitive images or text, and rotate any API key that may have been pasted into shell history. The skill appears to act only when invoked, but it can modify content shown on authorized Dot devices.
SKILL.md:40API Key Exposure Through Command-Line Arguments
The skill requires access to sensitive environment variables (DOT_API_KEY, DOT_DEVICE_ID) but does not declare an explicit tool scope such as permissions or allowed-tools. This creates an authorization ambiguity where an agent may access secrets more broadly than intended, increasing the risk of credential exposure or misuse when executing device-control actions.
This code sends API-authenticated HTTPS requests containing device IDs, message text, image data, links, and task metadata to a remote service. While the CLI help documents parameters, it does not explicitly warn users that provided content and identifiers will be transmitted to an external API, which is a missing disclosure for a safety-relevant network operation.
The skill content from the title onward is presented exclusively in Chinese, which imposes a specific language on users. The policy allows fixed locale/language only when the skill offers user choice or clearly documents a justified regional constraint, neither of which is present here.
Several user-visible error messages are written only in Chinese, which imposes a specific language on users without opt-in or documented locale constraints. This is a natural-language policy issue because the skill does not offer an alternative language or explain that it is intended only for a Chinese-speaking context.
No suspicious patterns detected.