T09 · Insecure Skill Coding Practices
- Location
scripts/imagegen.py:86- Finding
API Key Can Be Transmitted to an Arbitrary or Plaintext Endpoint
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its image-generation purpose, but it needs review because its API key can be sent to any configured API endpoint without HTTPS or host checks.
Install only if you are comfortable giving this skill an AI Hive API key and uploading the reference images you explicitly pass on the command line. Use the default official HTTPS base URL, avoid setting AI_HIVE_BASE_URL or --base-url unless you fully trust that endpoint, and consider installing dependencies in a virtual environment.
scripts/imagegen.py:86API Key Can Be Transmitted to an Arbitrary or Plaintext Endpoint
SKILL.md:80Unpinned Third-Party Dependency Installation
The skill exposes operational capabilities that imply shell execution, network access, and local file read/write, but it does not declare an explicit tool scope or permission boundary in the skill manifest. That omission increases the risk of overbroad execution, accidental data access, or misuse of the documented commands, especially because the workflow writes credentials to a local config file and performs uploads/downloads over the network.
The skill’s title, instructions, examples, and operational guidance are predominantly written in Chinese and direct usage in that language, while not offering any opt-in or alternative locale choice. This can violate language/locale policy because the file effectively constrains users to a specific language without documenting that limitation or allowing selection.
This code file contains user-facing natural-language instructions, help text, and status messages in Chinese only. Because the skill does not offer user opt-in for language/locale or justify that it is a region-specific tool, it violates the policy against forcing a specific language without user choice.
This markdown file presents substantive skill information only in Chinese, with no indication that users can choose another language or that the locale is intentionally constrained. That can violate language/locale policy when the skill documentation effectively forces a single language without opt-in.
The example API key placeholder uses Chinese text only ("请替换为你的APIKey"), which imposes a specific language in user-facing configuration content. This is a natural-language locale policy concern because the file does not provide any opt-in, alternative locale, or justification for restricting the example to Chinese.
No suspicious patterns detected.