Back to skill

Security audit

AI大模型专家|AI漫剧生成与编辑

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly matches an AI-HIVE video/image generation workflow, but it has under-scoped credential and download handling that users should review before installing.

Install only if you trust the AI-HIVE endpoint and can control the runtime environment. Do not set AI_HIVE_BASE_URL or --base-url to untrusted hosts, use a revocable API key with limited funds/quota where possible, and avoid automatic downloads from tasks unless the package is hardened to validate download URLs, filenames, and file sizes.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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 (2)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/imagegen.py:91
Finding

Bearer Credential Disclosure Through an Unvalidated API Base URL

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/imagegen.py:312
Finding

Untrusted Task Metadata Permits Unsafe File Downloads and Path Construction

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (11)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

A second, more specific description-behavior mismatch indicates the skill may expose broader or different capabilities than declared, including generic model access and image-focused generation rather than the promised short-drama/comic production flow. Undeclared capabilities expand the attack surface and can mislead users into invoking actions or sharing assets they would not have approved if the true behavior were transparent.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

A second, more specific description-behavior mismatch indicates the skill may expose broader or different capabilities than declared, including generic model access and image-focused generation rather than the promised short-drama/comic production flow. Undeclared capabilities expand the attack surface and can mislead users into invoking actions or sharing assets they would not have approved if the true behavior were transparent.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises executable workflows that use shell commands, environment variables, file access, and networked API interactions, but it does not declare any explicit tool scope or permissions boundary. This increases the chance that an agent runtime grants broader capabilities than users expect, enabling unintended access to local files, secrets, or external services when the skill is invoked.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest sets language: zh-CN, which indicates a fixed language/locale for the skill. The file does not provide any opt-in, alternative locale, or explanation that this is a region-specific tool, so this appears to impose a language choice on users.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This code embeds user-facing natural-language descriptors entirely in Chinese, including the script description and skill name, with no indication that language choice is optional or that the skill is region-specific. Under the policy, forcing a specific language or locale without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module docstring states this is a general AI-Hive tool for text chat, image generation, video generation, model queries, media upload, and task polling, while the skill manifest presents a domain-specific comic/drama generation skill and the embedded SKILL_CONFIG presents a GPT Image 2 image skill. The actual file therefore bundles and documents substantially broader capabilities than the declared skill purpose.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

This code file contains multiple natural-language descriptions and CLI prompts exclusively in Chinese, starting with the module docstring and continuing throughout the interface. Because the skill does not offer user opt-in for language selection or explain that it is intentionally China/Chinese-only, it violates the language/locale policy requirement.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest describes a focused skill for AI comic/drama image/video generation workflows, and this file’s generated skill metadata narrows further to a GPT Image 2 picture generation/editing skill. However, the wrapper exposes standalone task and upload commands, including generic media upload that is not limited to actual image generation/editing behavior. This expands the behavior beyond the user-facing claim of simply generating or editing images.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The placeholder value 请替换为你的APIKey is Chinese text embedded directly in the configuration example. This imposes a specific language in user-facing material without opt-in or justification, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The manifest describes content generation and editing workflows, but cmd_init launches a browser to an account page and drives an interactive credential setup flow. Credential bootstrapping may be convenient, but it is not part of the stated end-user creative function and introduces an extra capability outside the declared scope.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

This code file includes primary descriptive text, help, and usage guidance in Chinese without indicating that users may select another language. That can violate a language/locale policy when a skill effectively forces one language by default rather than offering opt-in or alternatives.

Content

No source excerpt is available for this finding.