Back to skill

Security audit

ComfyUI画图基础版

Security checks for vulnerabilities and agentic risk

Overview

The skill is a local ComfyUI image-generation helper with some sloppy and inconsistent documentation, but I found no artifact-backed evidence of hidden, deceptive, destructive, or exfiltration behavior.

Before installing, treat this as an incomplete local ComfyUI helper: confirm the referenced scripts actually exist in the installed package, review any implementation before allowing exec/write access, and avoid providing callback URLs or API keys unless the runtime code clearly explains how they are used.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill’s display name, summaries, and primary description are written entirely in Chinese, and the usage examples and operational guidance throughout the document continue in Chinese without any indication that another language is supported. This creates a locale/language constraint that is not presented as optional or justified as region-specific, which can violate language-choice policy.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The summary says the skill supports '本地模型管理' while the description and scope boundaries explicitly say the free edition does not include CivitAI model search/download/update capabilities and is limited to built-in aliases plus manual configuration. This creates a semantic mismatch about whether the skill actually manages models or merely references preconfigured local aliases.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Line L041 states '本技能提供关闭功能等能力', which narrowly frames the skill around shutdown functionality. The rest of the file documents substantially broader behavior including starting ComfyUI, status checks, text-to-image generation, model aliases, and parameter handling, so this line actively misrepresents the skill's implemented intent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

Elsewhere the skill is described as generating images and returning file path lists in the workspace temporary directory. The JSON output schema instead presents a generic '处理结果' string payload with execution metadata, which does not match the described behavior of returning generated image file paths.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
75% confidence
Finding

The manifest description focuses on local ComfyUI lifecycle management and image generation, but the documented input includes a 'callback_url' for asynchronous completion notification. A callback mechanism implies outbound network communication beyond the clearly described local ComfyUI client role, yet that behavior is not declared in the main description.

Content

No source excerpt is available for this finding.