T09 · Insecure Skill Coding Practices
- Location
scripts/videogen.py:350- Finding
Unvalidated API Response Fields Permit Output Path Traversal
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a disclosed AI video-generation helper, but its downloader can write server-named output files outside the intended folder if the API response is compromised or malformed.
Review before installing. Use only media you are allowed to upload to AI Hive, keep the API key scoped and replaceable, install dependencies in a virtual environment, and avoid running this skill in directories or accounts where an unexpected downloaded filename could overwrite important files.
scripts/videogen.py:350Unvalidated API Response Fields Permit Output Path Traversal
SKILL.md:53Unpinned Third-Party Dependency Installation
The skill exposes executable command examples that use shell, local files, environment variables, package installation, and outbound network access, but it does not declare any explicit tool scope or permission boundaries. This creates unnecessary ambiguity about what the skill may access at runtime and increases the risk of over-privileged execution, especially because it contacts an external API and reads user-supplied media files.
The description says to use the skill when users search terms such as “特效视频”, “社媒短片”, and “视频生成编辑”, which are broad categories rather than narrowly scoped trigger phrases. Without clearer constraints or exclusion examples, the skill could be invoked for many ordinary video-generation requests beyond the intended PixVerse-alternative migration use case.
The user-facing CLI help says the video description prompt may be provided in Chinese or English only. This imposes a language constraint in natural-language guidance without any opt-in or justification that the skill is limited to those locales, which matches the locale policy violation category.
No suspicious patterns detected.