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-clitool. These commands include starting/stopping servers, installing custom nodes, and downloading models. - Evidence:
scripts/comfyui_setup.shusespip installandcomfy launch.scripts/auto_fix_deps.pycallssubprocess.runforcomfy 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.pyandscripts/_common.pycontain logic for downloading resources fromhuggingface.coandcivitai.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.shcontainscurl -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.pyingests user arguments and workflow files;scripts/extract_schema.pyparses 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.pyimplementssafe_path_jointo 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