T09 · Insecure Skill Coding Practices
- Location
scripts/videogen.py:351- Finding
Server-Controlled Task Type Allows Output Path Traversal
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed AI Hive video-generation helper with one real file-download hardening issue, but its network use, credential use, uploads, and local downloads match its stated purpose.
Install only if you are comfortable sending prompts, API credentials, and selected media files to AI Hive. Use a virtual environment, consider pinning requests yourself, keep the API key private, and choose a non-sensitive output directory because the current downloader should be hardened to sanitize server-provided task types before saving files.
scripts/videogen.py:351Server-Controlled Task Type Allows Output Path Traversal
SKILL.md:53Unpinned Third-Party Dependency Installation
The skill invokes a local Python script with network access and file inputs, but it does not declare any tool restrictions or permissions. That mismatch can cause the host agent to grant broader capabilities than users expect, increasing the risk of unintended shell execution, file access, or outbound requests to the hardcoded API endpoint.
The manifest description says to use the skill when users search terms like “即梦 API”, “广告”, and other broad video-generation intents, but it does not clearly bound when the skill should and should not activate. Because the trigger scope is expressed as an open-ended list of common request topics without exclusion conditions, it risks unintended invocation for general video-creation requests.
The module docstring and all user-facing prompts/messages are written only in Chinese, presenting the skill as Chinese-only behavior. The file does not offer a language/locale choice or document a justified region-specific language constraint, which matches the language-policy violation criteria.
No suspicious patterns detected.