Back to skill

Security audit

通义万相 图片生成替代|AI 图片生成与编辑

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly does what it says, but its downloader trusts remote task metadata enough to risk writing files outside the intended output folder.

Install only if you are comfortable sending prompts and selected reference images to AI Hive and storing an AI Hive API key locally. Prefer running it in a contained workspace with a dedicated output directory until filename sanitization, URL validation, redirect limits, and download size limits are added.

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:231
Finding

Unvalidated Server-Controlled Upload and Download URLs

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/imagegen.py:348
Finding

Path Traversal Through Unsanitized Task Metadata

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:53
Finding

Unpinned Third-Party Dependency Installation

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill invokes shell commands, performs network access to a fixed external host, and references file read/write behavior, yet it does not declare any explicit tool scope or permission boundaries. This creates an over-privileged execution posture where an agent may run the skill with broader capabilities than users expect, increasing the risk of unintended command execution, data exposure, or misuse of local files and environment secrets.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The description contains broad search-style triggers covering many Chinese and English query variants, which can cause the skill to activate in loosely related contexts without clear user intent. Over-broad activation is dangerous here because the skill includes code execution and external network interaction, so accidental invocation could send prompts or reference images to a third-party service unexpectedly.

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 CLI guidance exclusively in Chinese. Under the language/locale policy rule, forcing a specific language without user opt-in or a documented regional justification is a policy concern.

Content

No source excerpt is available for this finding.