comfyui

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill utilizes shell scripts (comfyui_setup.sh) and Python's subprocess.run module to manage the ComfyUI lifecycle, including installation and launching the server. These operations are essential to the skill's stated purpose of providing a local generation environment.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the download of AI models and custom nodes from community-standard repositories such as HuggingFace, CivitAI, and GitHub. These downloads are performed via the official comfy-cli and are documented as expected behavior for the ComfyUI ecosystem.
  • [REMOTE_CODE_EXECUTION]: Automated security scans flagged curl commands piped to python3. Technical review confirms these instances (e.g., in comfyui_setup.sh and SKILL.md) are used solely to format JSON output using the standard python3 -m json.tool module. These commands target a local loopback address (127.0.0.1) and do not execute code from remote sources.
  • [DATA_EXFILTRATION]: The skill includes a proactive security feature in _common.py that strips sensitive headers (such as X-API-Key and Authorization) when following cross-host redirects. This prevents API keys from being leaked to external storage backends, such as Amazon S3, when downloading generated content.
  • [PATH_TRAVERSAL]: The run_workflow.py script utilizes a safe_path_join utility that validates server-supplied filenames against a target directory, effectively preventing path traversal attacks from malicious or poorly configured workflows.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 07:01 PM
Security Audit — agent-trust-hub — comfyui