Back to skill

Security audit

AliExpress 速卖通 电商视频生成与编辑

Security checks for vulnerabilities and agentic risk

Overview

The skill largely does AliExpress video generation as advertised, but it needs review because unsafe endpoint and download handling could expose the API key or overwrite local files.

Review before installing. Use a dedicated, revocable AI Hive API key, avoid custom AI_HIVE_BASE_URL or --base-url values unless you fully trust the endpoint, run it in an isolated environment, and keep downloads pointed at a non-sensitive output directory.

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

Error
Location
scripts/videogen.py:395
Finding

Server-Controlled Path Traversal in Generated File Downloads

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/videogen.py:91
Finding

Bearer API Key Can Be Disclosed to an Arbitrary Configured Endpoint

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:68
Finding

Unpinned and Unverified Runtime 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 (11)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill includes executable shell commands and invokes a Python script that can use environment access, file I/O, network, and shell capabilities, but the manifest does not declare any tool scope or permissions boundaries. This creates an unsafe trust gap: an agent or reviewer cannot tell what capabilities are intended, and the skill could be run with broader privileges than necessary.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

Because this is a markdown file, vague-trigger review applies. The description says "Use this skill for" followed by many generic phrases such as product demos, installation tutorials, ad assets, and multilingual versions, but it does not define explicit invocation phrases, scope limits, or negative examples; this breadth could overlap with many ordinary ecommerce video-editing requests and cause unintended activation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The prompt explicitly instructs the model to "Create a Spanish-market visual base," which is a locale-specific directive. The file does not indicate that Spanish is optional, user-selected, or required for a documented region-specific compliance purpose, so this can violate the language/locale choice policy.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file is presented as an AliExpress ecommerce video skill, but it embeds a broad AI Hive client supporting chat, image generation, model discovery, uploads, and account-related operations. This scope expansion violates least privilege and increases the attack surface, making it easier for downstream agents or users to invoke capabilities unrelated to the declared purpose and potentially route sensitive data to unintended endpoints.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This Python skill presents its top-level description, CLI guidance, status messages, and embedded skill metadata in Chinese, including the title and usage-facing strings. Because the file does not offer a language/locale choice or state that the skill is intentionally limited to a Chinese-speaking or region-specific context, it violates the language/locale policy for natural-language behavior.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill exposes a text chat command even though its declared purpose is AliExpress video generation/editing. In an agent setting, this creates covert capability expansion: prompts, secrets, or business data intended for video workflows could be redirected into a general chat API, enabling unintended data processing and policy bypass.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The standalone image generation command exceeds the declared scope of a video-focused ecommerce skill. This broadens what an invoking agent can do with the same credentials and infrastructure, increasing risk of unauthorized content creation, unexpected billing, and misuse of uploaded reference media outside the intended workflow.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file contains user-facing natural-language content exclusively in Chinese across the substantive changelog entries. Under the policy, forcing a specific language without user opt-in or a documented justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The string literal "请替换为你的APIKey" requires Chinese to understand the placeholder guidance. This is a natural-language locale policy issue because it forces a specific language without any opt-in or alternative.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

Querying user information and wallet balance is not necessary for generating or editing listing videos. In a delegated-agent environment, this exposes account metadata and spending information that can aid reconnaissance, leak sensitive operational details, or be used for abuse planning.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

Model enumeration allows callers to discover all AI Hive models instead of only the fixed AliExpress video models needed by the skill. This enables capability reconnaissance and makes it easier to pivot into unsupported or higher-risk model workflows using the same environment and credentials.

Content

No source excerpt is available for this finding.