Back to skill

Security audit

AI大模型专家|短剧人物版人物板

Security checks for vulnerabilities and agentic risk

Overview

The skill is broadly aligned with its AI-HIVE character-board image/video workflow, with disclosed API use and local credential setup that users should review before installing.

Install only if you intend to use AI-HIVE for character-board image/video generation and are comfortable providing an AI-HIVE API key. Prefer an isolated Python environment, consider pinning dependencies, and avoid uploading private or unlicensed media unless you are comfortable sending it to AI-HIVE.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Note
Location
SKILL.md:119
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 119–121
Vulnerability Type: Unpinned dependency installation without integrity verification
Risk Level: Low

Vulnerable Code

bash
pip3 install requests
python3 "$SKILL_PATH/scripts/videogen.py" init --skill-name ai-model-expert-drama-character-board

Technical Analysis

The setup instructions install requests without specifying an exact version, package hash, locked dependency set, isolated environment, or trusted package index. Consequently, the package version and its transitive dependencies are resolved at installation time and may change after this Skill has been audited.

This does not demonstrate that the legitimate requests package is malicious. However, the installation process depends on the security and availability of the configured Python package index, local pip configuration, and all packages selected by the resolver. A compromised index, malicious mirror, poisoned local package source, or future compromised dependency release could introduce code that was not included in the reviewed project.

Python packages may execute build-system code during installation. Imported package code also executes with the privileges of the user running the Skill. The project provides no lock file or hashes through which users can verify that they received the dependency version reviewed by the publisher.

Attack Path

  1. A user follows the documented setup command and runs pip3 install requests.
  2. pip resolves the package and dependencies using the user's currently configured indexes and mirrors.
  3. An attacker must first compromise or control one of those dependency sources, influence local pip configuration, or publish a compromised version selected by the unpinned resolver.
  4. pip downloads the attacker-influenced artifact because no version constraint or expected hash is enforced.
  5. Malicious build-time code may execute du ...[truncated 735 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin requests and every transitive dependency to versions that have been reviewed and tested.
  2. Provide a lock file generated by a dependency-management tool such as pip-tools, Poetry, or uv.
  3. Require cryptographic hashes, for example through a requirements file used with pip install --require-hashes.
  4. Install dependencies in a dedicated virtual environment rather than the system Python environment.
  5. Explicitly use an approved HTTPS package index and prevent unexpected fallback to untrusted extra indexes or mirrors.
  6. Add automated dependency vulnerability and provenance scanning to the release process.
  7. Publish reproducible setup instructions, for example:
bash
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install --require-hashes -r requirements.lock
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (16)

Tp4

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

If the skill includes general text chat API access, user info retrieval, model listing, broad routing, and interactive API-key initialization with local config storage, that is materially broader than a storyboard/character-board helper. Such mismatch can mislead users into exposing credentials or approving execution under false assumptions about scope and data handling.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

If the skill includes general text chat API access, user info retrieval, model listing, broad routing, and interactive API-key initialization with local config storage, that is materially broader than a storyboard/character-board helper. Such mismatch can mislead users into exposing credentials or approving execution under false assumptions about scope and data handling.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

If the skill includes general text chat API access, user info retrieval, model listing, broad routing, and interactive API-key initialization with local config storage, that is materially broader than a storyboard/character-board helper. Such mismatch can mislead users into exposing credentials or approving execution under false assumptions about scope and data handling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The embedded SKILL_CONFIG targets a generic GPT Image 2 product-image skill, not the manifest-described drama character-board skill. This means runtime behavior, branding, search keywords, and routing can diverge from what operators and users expect, creating a deceptive packaging issue that can bypass policy assumptions, misroute user inputs, or cause use of an unintended model/service under false labeling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file presents itself as a skill for a drama character board, but the implementation is a broad AI Hive client that supports generic chat, media upload, image generation, and video generation. This mismatch undermines scope transparency and can cause a caller to grant trust, credentials, or media access under false assumptions, enabling unintended capability use.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The embedded SKILL_CONFIG redefines the tool as a short-drama video generator, directly contradicting the published skill metadata. Hidden or conflicting in-file configuration is dangerous because runtime behavior may differ from what reviewers and users expect, creating a deceptive capability boundary.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill advertises executable scripts that use shell, local files, environment variables, and network access, but it does not declare any tool scope or allowed-tools boundary. That makes the effective privilege surface implicit rather than reviewable, increasing the chance that an agent invokes higher-risk capabilities than users or platform policy expect.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest sets language: zh-CN, which indicates a fixed language/locale preference. The file does not offer the user a language choice or explain that the skill is intentionally limited to a China-specific audience or compliance context.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The description says that when a user says terms like “人物版、人物板、角色板、character board、人物设定图”, the skill should identify the user's goal. These are broad content/search phrases rather than narrowly scoped invocation triggers, and the file does not provide exclusion conditions or negative examples to clarify when the skill should not activate.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The file presents itself as a narrowly scoped image-generation skill for a short-drama character-board workflow, but the implementation includes broader capabilities such as text chat, video generation, model listing, user-info retrieval, and arbitrary media upload. This scope mismatch violates least privilege and can expose functionality that a caller, reviewer, or policy layer did not intend to permit, increasing the attack surface and enabling misuse beyond the declared skill purpose.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This code file contains user-facing natural-language descriptions and prompts that assume Chinese, starting with the module docstring and continuing throughout the CLI UX. The policy requires flagging language or locale constraints when the skill forces a specific language without user opt-in, and no alternative language option or justification is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The module docstring and user-facing guidance are written entirely in Chinese and present the tool as a general-purpose skill, while the skill prompt field later says Chinese and English prompts are both accepted. There is no natural-language indication that the skill is China-specific or that users may choose another interface language, which creates a locale-policy concern for a broadly described skill.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest focuses on generating reusable visual assets and videos from creative requirements, but this code includes a user-info endpoint and CLI command that queries account details and wallet balance. That administrative/account capability is not an obvious requirement of a character-board production skill.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The generic text chat capability materially expands the skill beyond a character-board workflow into a general-purpose multimodal model client. In context, this is risky because a narrowly branded creative asset skill can silently become a broader data-processing surface, increasing chances of misuse, prompt/data leakage, or policy bypass through undeclared functionality.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The string literal on L2 includes Chinese-only instructional text ('请替换为你的APIKey'). This imposes a specific language in user-facing configuration guidance without any opt-in or alternative, which matches the language/locale policy concern.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

Listing all available models is a generic platform-exploration/admin feature, whereas the manifest describes a purpose-built creative skill. Exposing broad model discovery goes beyond what is needed for a user-facing character-board workflow.

Content

No source excerpt is available for this finding.