T09 · Insecure Skill Coding Practices
- Location
scripts/veo_coverage.py:172- Finding
Unrestricted Server-Controlled Media Transfer Destinations
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This video-generation skill is purpose-aligned, but it needs review because it stores an API key locally and trusts remote-provided HTTPS upload/download URLs for user media.
Review before installing if your media or API key are sensitive. Prefer `AI_HIVE_API_KEY` or `--api-key` over saving the key, use a virtual environment with pinned dependencies, and only upload media you are comfortable sending through AI Hive and its storage transfer URLs.
scripts/veo_coverage.py:172Unrestricted Server-Controlled Media Transfer Destinations
SKILL.md:95Unpinned Third-Party Dependency Installation
The skill embeds executable shell commands and a Python script that can use environment variables, local files, and outbound network access, but it does not declare any explicit tool restrictions such as permissions or allowed-tools. That mismatch is dangerous because an agent may execute the skill with broader capabilities than the author intended, enabling file access, shell execution, or network requests without clear sandboxing or user visibility.
This code file contains user-facing descriptions and error/help text in Chinese, beginning with the module docstring. Under the policy, forcing a specific language without offering a choice or documenting a justified locale restriction is a natural-language policy violation.
The setup command persists a live API key to disk in a predictable location under the user's home directory. Although the code sets file permissions to 0600, storing credentials locally without an explicit warning or safer default increases the chance of accidental disclosure through backups, dotfile syncing, shared accounts, or compromised local environments.
No suspicious patterns detected.