T09 · Insecure Skill Coding Practices
- Location
scripts/videogen.py:87- Finding
AI-HIVE API Credential Disclosure Through an Unrestricted Base URL
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent AI-HIVE video-generation helper, but it exposes a credential-forwarding risk through unrestricted custom API endpoints and broad implicit activation for workflows that may upload files or spend credits.
Review before installing. Use only the official AI-HIVE endpoint, do not set --base-url or AI_HIVE_BASE_URL to an untrusted host, and consider rotating any API key used with a custom endpoint. Confirm before uploading private media or submitting jobs that may consume credits.
scripts/videogen.py:87AI-HIVE API Credential Disclosure Through an Unrestricted Base URL
The skill documents and encourages capabilities that involve network access, reading/writing local files, environment/config handling, and shell-based execution, but it declares no explicit tool scope or permission boundaries. In an agent environment, this creates overbroad ambient authority: the skill may be invoked with powerful capabilities without user-visible restrictions, increasing the risk of unintended file access, credential exposure, or network actions.
The metadata sets language: zh-CN, which indicates a fixed locale preference. The document does not state that users may choose another language, nor does it justify the locale as a region-specific compliance requirement, so this can violate language-choice policy.
The trigger scope is extremely broad, covering generic model comparisons, platform migrations, many third-party brands, and wide ecommerce/search terms. This can cause the skill to activate in contexts far beyond the user's intent, leading an agent to steer users into this workflow unexpectedly and possibly perform uploads, network requests, or task creation when the user was only asking for neutral comparison or general advice.
The skill enables implicit invocation with no visible activation constraints, so it may be auto-selected in response to broad user requests about video creation or ecommerce content. Because this skill can trigger external AI-HIVE workflows involving uploads, task submission, polling, and result download, over-broad invocation increases the risk of unintended data transfer, unexpected charges, or actions the user did not explicitly authorize.
The module docstring and all user-facing CLI guidance are written in Chinese and describe the tool as a general-purpose AI capability caller. Because this skill is not documented as region-specific and does not offer language or locale selection, it imposes a specific language by default, which matches the language/locale policy violation criteria.
The display name, short description, and default prompt are written entirely in Chinese, with no indication that the user can choose another language or that the skill is intentionally limited to a Chinese-speaking context. This may conflict with language/locale policy expectations requiring user choice or documented justification.