comfyui

Fail

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill manages a local ComfyUI installation by executing shell commands through the comfy-cli tool. These commands include starting/stopping servers, installing custom nodes, and downloading models.
  • Evidence: scripts/comfyui_setup.sh uses pip install and comfy launch. scripts/auto_fix_deps.py calls subprocess.run for comfy node install.
  • [EXTERNAL_DOWNLOADS]: The skill fetches generative models and custom nodes from well-known services and repositories, including HuggingFace, CivitAI, and the official ComfyUI registry.
  • Evidence: scripts/auto_fix_deps.py and scripts/_common.py contain logic for downloading resources from huggingface.co and civitai.com.
  • [DYNAMIC_EXECUTION]: The skill uses shell piping to format system statistics and queue information using Python's built-in modules.
  • Evidence: scripts/comfyui_setup.sh contains curl -fsS "http://127.0.0.1:$PORT/system_stats" | python3 -m json.tool.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied workflow JSON files and prompt strings, creating an attack surface where malicious data could influence the agent's behavior or the ComfyUI server.
  • Ingestion points: scripts/run_workflow.py ingests user arguments and workflow files; scripts/extract_schema.py parses workflow structure.
  • Boundary markers: Absent.
  • Capability inventory: The skill can execute subprocesses (scripts/auto_fix_deps.py), perform network requests (scripts/_common.py), and write files to the local system (scripts/run_workflow.py).
  • Sanitization: scripts/_common.py implements safe_path_join to prevent path-traversal attacks during output downloads.
Recommendations
  • HIGH: Downloads and executes remote code from: http://127.0.0.1:$PORT/system_stats, http://127.0.0.1:8188/queue - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 26, 2026, 05:49 PM