Back to skill

Security audit

美图 Meitu 图片生成替代|AI 图片生成与编辑

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent AI image generation helper, but it understates its network behavior and trusts server-provided upload and download URLs for user images and output files.

Review this before installing if your images are private or regulated. The skill needs an AI Hive API key, uploads chosen images, and downloads generated outputs; it should more clearly disclose and constrain the object-storage or CDN hosts it contacts. Prefer using a virtual environment, pinning dependencies, and avoiding sensitive source images until upload/download URL validation and 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 (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/imagegen.py:231
Finding

Unvalidated Server-Controlled Upload and Download Destinations

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:51
Finding

Unpinned Runtime Dependency Installation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill invokes local Python scripts with package installation, file access, shell execution, and outbound network access, but it does not declare any explicit tool scope such as permissions or allowed-tools. That mismatch weakens least-privilege controls and can let an agent execute broader capabilities than a reviewer or runtime policy would expect, increasing the risk of unintended command execution, data exposure, or unreviewed external communication.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This code file contains natural-language docstrings and user-facing messages exclusively in Chinese, establishing a fixed language/locale for the skill experience. The policy explicitly flags language or locale constraints when the user is not offered a choice or opt-in, and no alternative language option is presented elsewhere in the file.

Content

No source excerpt is available for this finding.