Back to skill

Security audit

AI大模型专家|末日短剧 AI生成与编辑

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly an AI-HIVE media-generation helper, but it handles API credentials and includes broader, under-scoped behavior that users should review before installing.

Install only if you intend to use AI-HIVE for Chinese-language short-drama/media generation. Use a dedicated, revocable AI-HIVE API key, avoid setting custom base URLs unless you fully trust the endpoint, review any media before upload, and disable or constrain implicit invocation if your agent may handle unrelated private content.

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 (1)

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
Vulnerability Patterns
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (14)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The skill is branded as a domain-specific apocalypse short-drama tool, yet the underlying behavior appears to be a generic AI-HIVE/API client centered on image tooling and additional undeclared functions such as user-info retrieval, model enumeration, chat, upload, and API-key initialization. Such repackaging obscures the true attack surface and may trick users into exposing sensitive media, credentials, or permissions to a tool whose real capabilities exceed its stated niche purpose.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The skill is branded as a domain-specific apocalypse short-drama tool, yet the underlying behavior appears to be a generic AI-HIVE/API client centered on image tooling and additional undeclared functions such as user-info retrieval, model enumeration, chat, upload, and API-key initialization. Such repackaging obscures the true attack surface and may trick users into exposing sensitive media, credentials, or permissions to a tool whose real capabilities exceed its stated niche purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The embedded SKILL_CONFIG and skill_main entrypoint implement a GPT Image 2 image-generation skill, which materially conflicts with the declared apocalypse short-drama/video-oriented metadata. This is a strong integrity and trust-boundary issue: users, reviewers, or policy layers may approve the skill based on one purpose while the shipped code routes prompts and files to a different model and service behavior.

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 and operational workflows but does not declare any explicit tool scope or permissions boundaries, even though the referenced behavior implies environment access, file operations, networking, and shell execution. This creates an unnecessary trust gap: users or hosting platforms cannot easily determine what the skill may access, increasing the risk of over-privileged execution or unsafe invocation in an agent environment.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill’s display name, summary, description, and metadata explicitly fix the language to zh-CN, and the document is written entirely in Chinese without indicating any optional language selection. Under the stated policy, forcing a specific language or locale without user opt-in is a natural-language policy violation unless the locale restriction is clearly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The display name, short description, and default prompt are written entirely in Chinese, which implies a fixed language experience for the skill. The file does not indicate that users may choose another language or that the locale restriction is intentional and justified for a region-specific use case.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill enables implicit invocation without any visible narrowing conditions, trigger constraints, or exclusions. That increases the chance the agent will auto-select this skill in unrelated contexts, causing unintended prompt/data flow into a third-party workflow and expanding the attack surface for misuse or overbroad activation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The user-facing description and skill-identifying strings are entirely in Chinese (for example, the module docstring and argparse description), with no indication that users may choose another language. This can violate a language/locale policy when the skill imposes a single language by default without documented opt-in or justification.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The file contains a full generic AI Hive client with capabilities beyond the advertised short-drama/image-video use case, including text chat, user-info, and model enumeration. This capability mismatch can violate least-privilege expectations and enable unintended access to account metadata or broader API functions when a user believes they are invoking a narrowly scoped media-generation skill.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This code file contains user-facing natural-language descriptions, help text, and runtime messages in Chinese only. That imposes a specific language/locale on users without offering a language choice or documenting the constraint as region-specific, which matches the language-policy violation criteria.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest describes a specialized skill for apocalypse/drama short-video creation and editing, but the file implements a broad '通用 AI 能力调用工具' including text chat, model listing, user info, image generation, and generic media upload. Those capabilities materially exceed the manifest's focused purpose rather than being necessary implementation details of a short-drama video skill.

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 entirely in Chinese, including the module docstring and later CLI interaction strings, with no indication that the user can choose another language. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The example API key placeholder uses Chinese text ("请替换为你的APIKey"), which imposes a specific language in user-facing configuration content. The file provides no alternative language option or justification for a locale-specific constraint.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The skill-specific CLI exposes task and standalone upload subcommands, which let a caller inspect arbitrary generation tasks and upload media independently of creating the advertised short-drama output. While upload can support video generation, exposing it as an independent capability broadens the behavior beyond the manifest's stated end-user purpose.

Content

No source excerpt is available for this finding.