Back to skill

Security audit

AI大模型专家|短剧动态分镜与预演

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to support AI-HIVE media generation, but it needs review because it stores and uses an API key and can send that key to an unrestricted custom API endpoint.

Install only if you are comfortable giving this skill an AI-HIVE API key and uploading selected media to AI-HIVE. Keep the base URL on the official AI-HIVE endpoint, do not set `AI_HIVE_BASE_URL` or config `base_url` to an untrusted host, and prefer running it in an isolated environment with a revocable API key.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/imagegen.py:92
Finding

Configurable API endpoint can receive the bearer credential

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/videogen.py:92
Finding

Configurable video API endpoint can receive the bearer credential

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:116
Finding

Unpinned third-party dependency installation

Content
View full analysis
Remediation
View remediation
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 (13)

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

If the actual implementation exposes materially different capabilities than the declared short-drama/previs workflow—such as generic chat, model enumeration, user-info queries, or image-only operations—users and hosts may authorize the skill under false assumptions. Capability misrepresentation is dangerous because it undermines informed consent and can mask broader data access or unintended API usage under a narrow business-facing description.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

If the actual implementation exposes materially different capabilities than the declared short-drama/previs workflow—such as generic chat, model enumeration, user-info queries, or image-only operations—users and hosts may authorize the skill under false assumptions. Capability misrepresentation is dangerous because it undermines informed consent and can mask broader data access or unintended API usage under a narrow business-facing description.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill advertises executable workflows using shell, network, environment variables, and local file paths, but does not declare any explicit tool scope or permission boundaries. This creates an avoidable trust gap: a host may grant broader capabilities than users expect, enabling file access, outbound requests, or command execution without transparent least-privilege constraints.

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 sets Chinese-only display names and descriptive content, and explicitly declares language: zh-CN in metadata. There is no indication that users may select another language or that the locale restriction is a documented, justified regional constraint, which can violate language/locale choice policy.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill enables implicit invocation with no visible trigger narrowing, so the assistant may auto-activate this skill in loosely related conversations. That can cause unintended routing of user requests, unnecessary exposure of user context to the skill, and unexpected execution of workflow guidance in situations where the user did not clearly opt in.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The file is packaged as a specific short-drama/animatic image-generation skill, but it embeds a broad generic API client with unrelated capabilities such as text chat, model enumeration, user-info lookup, media upload, and video generation. This expands the skill’s effective privilege and attack surface beyond the declared purpose, increasing the risk of misuse, unexpected data access, or policy bypass by callers who trust the manifest-scoped functionality.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The module docstring and all user-facing prompts/messages in this skill are written exclusively in Chinese, which imposes a language choice on users. The file does not offer an opt-in language selection or explain that the skill is intended only for a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill exposes a user-info endpoint that can retrieve account information and wallet balance despite that capability not being necessary for animatic/previs generation. In a skill ecosystem, this violates least privilege and can leak sensitive billing/account metadata to callers or downstream agents that only expected media-generation behavior.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The generic text chat capability is unrelated to the manifest’s stated narrow purpose and allows arbitrary prompt forwarding to backend models. That creates a hidden general-purpose AI channel inside a specialized skill, which can be abused for unintended content generation, prompt/data handling outside expected workflows, or circumvention of product-level restrictions based on skill identity.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This code file contains user-facing natural-language descriptions and prompts entirely in Chinese, starting from the module docstring and continuing throughout CLI help and status text. That imposes a specific language on users without opt-in or an alternative locale, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The display name, description, and default prompt are all written in Chinese, which can impose a language expectation without any visible opt-in or explanation in the file. Under the language/locale policy, skills should offer a language choice or clearly justify a locale-specific constraint.

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 hardcodes the skill description and generated skill name in Chinese (for example, the module docstring, argparse description, and output metadata), with no option for the user to choose language or locale. The policy for this audit flags language-forcing behavior when a specific language is imposed without an explicit user choice or documented regional justification.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The top-level docstring and main parser description describe a '通用 AI 能力调用工具' that supports chat, image generation, video generation, model queries, uploads, and polling. Later, the file is packaged as a fixed-config image skill with title 'GPT Image 2 图片生成与编辑', so the embedded documentation describes a much broader tool than the behavior exposed by the skill entrypoint and branding.

Content

No source excerpt is available for this finding.