T09 · Insecure Skill Coding Practices
- Location
scripts/heygen_visual.py:169- Finding
Unrestricted Server-Provided Media Transfer URLs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent AI video-generation helper, but it needs Review because it uploads local media and downloads files using weakly validated server-provided URLs and filenames.
Install only if you are comfortable sending selected images/videos and prompts to AI Hive and saving an API key locally. Prefer a virtual environment, avoid sensitive source media, use a controlled output directory, and review or patch URL validation and taskId filename handling before production use.
scripts/heygen_visual.py:169Unrestricted Server-Provided Media Transfer URLs
scripts/heygen_visual.py:272Server-Controlled Task Identifier Used in a Local File Path
SKILL.md:94Unpinned Third-Party Dependency Installation
The skill invokes Python scripts, installs dependencies, uses local files, references environment-derived paths like $SKILL_PATH, and communicates with a remote API, but it does not declare any explicit tool or permission scope. This creates a trust gap: a host agent may expose shell, filesystem, environment, or network capabilities more broadly than intended, increasing the chance of unintended data access, command execution, or outbound requests if the skill is used in an automation context.
This code file includes its primary docstring and CLI descriptions in Chinese, effectively forcing a specific language for user interaction. The policy allows locale constraints only when users are given a choice or the restriction is clearly justified, neither of which appears here.
No suspicious patterns detected.