T09 · Insecure Skill Coding Practices
- Location
scripts/videogen.py:351- Finding
Unsanitized API Response Fields Allow Output Path Traversal
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a mostly coherent AI Hive video client, but a download naming flaw can let API-supplied data write files outside the chosen output folder.
Review before installing. Use this only if you trust the AI Hive endpoint and are comfortable storing an AI Hive API key locally. Prefer running it in an isolated Python environment, and avoid using an output directory where unintended file creation or overwrite would matter until the filename sanitization issue is fixed.
scripts/videogen.py:351Unsanitized API Response Fields Allow Output Path Traversal
SKILL.md:53Unpinned Third-Party Dependency Installation
The skill invokes shell commands, reads local files, may write configuration or outputs, accesses environment variables, and performs network requests, but it does not declare any explicit tool scope or permissions. That creates an unnecessary trust gap: an agent/runtime may grant broader capabilities than users expect, enabling unintended file access, secret exposure from environment variables, or outbound requests beyond the stated video API workflow.
The module docstring states the tool's behavior entirely in Chinese and presents the skill as fixed-purpose without offering any language choice. Under the stated policy, forcing a specific language or locale without opt-in is a natural-language policy violation unless the constraint is explicitly documented and justified.
No suspicious patterns detected.