T09 · Insecure Skill Coding Practices
- Location
scripts/videogen.py:232- Finding
Unvalidated Server-Controlled Upload and Download URLs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed AI video-generation wrapper that sends user-selected media to AI Hive, with some ordinary integration risks users should understand.
Install this only if you are comfortable sending selected images, videos, audio, prompts, and task data to AI Hive and its storage provider. Use a virtual environment, avoid uploading confidential or regulated assets unless approved, consider setting --output-dir or --no-download, and protect the AI_HIVE_API_KEY or ~/.ai-hive/config.json credential.
scripts/videogen.py:232Unvalidated Server-Controlled Upload and Download URLs
SKILL.md:53Unpinned Third-Party Dependency Installation
The skill invokes shell commands, reads local files, and communicates with a remote API, but it does not declare any explicit tool scope or permission boundaries. That increases the chance the agent will run with broader-than-necessary capabilities, making accidental file access, environment-variable exposure, or unintended network actions harder to constrain and audit.
The invocation description is broad and includes generic terms like video generation, advertising, and campaign use cases, which can cause the skill to trigger in situations beyond the user's intent. Unintended invocation can lead to accidental media processing, file handling, or network transmission to the external service without the user specifically choosing this skill.
The skill states that it uploads, generates, queries, and downloads media via a remote API, but it does not clearly warn the user at the point of use that local images and videos will be transmitted off-device. In a brand-asset workflow, those files may contain unreleased campaign materials, licensed talent, or other sensitive commercial content, so silent transmission creates meaningful confidentiality and compliance risk.
User-facing natural-language strings, instructions, errors, and help text throughout the file are presented only in Chinese, and there is no indication that users can opt into another language. Under the stated policy, a skill that enforces a specific language without user choice is a locale-policy violation unless clearly justified as region-specific.
The script uploads user-supplied images, videos, and audio to the AI Hive API and a returned object-storage URL, but it does not present an explicit consent, privacy, or data-destination warning at the upload point. In a media-generation skill, users may provide sensitive or proprietary brand assets, so silent transmission to third-party services can cause unintended disclosure or compliance violations even though the network behavior is part of the core function.
The tool automatically downloads generated outputs and writes them to ~/Downloads/AiHive by default without a prominent warning in the command help or a confirmation step. This can expose generated assets on shared machines, place files in monitored directories, or surprise users who expected task metadata only.
No suspicious patterns detected.