comfyui
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runacross several scripts to perform system environment checks and manage the ComfyUI lifecycle. Specifically,scripts/hardware_check.pyexecutes system commands likenvidia-smiand PowerShell'sGet-CimInstanceto detect GPU capabilities, whilescripts/auto_fix_deps.pyrunscomfy node installto resolve missing dependencies. - [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of the ComfyUI ecosystem.
scripts/comfyui_setup.shdownloads thecomfy-clitool using standard Python package managers (pipx,uv), and theSKILL.mddocumentation guides users on downloading models from well-known repositories like HuggingFace and CivitAI. The automated scan's detection of piped execution inscripts/comfyui_setup.shandSKILL.mdrefers tocurl ... | python3 -m json.tool, which is a safe, standard method for formatting JSON output. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process workflow files in JSON format, which can contain instructions for generative AI tasks.
- Ingestion points: Workflow files are processed in
scripts/run_workflow.py,scripts/extract_schema.py, andscripts/check_deps.py. - Boundary markers: No programmatic boundaries exist within the JSON format, but the skill provides a security advisory in
SKILL.mdregarding the trust profile of workflows from unknown sources. - Capability inventory: The skill possesses capabilities for shell command execution (in
scripts/hardware_check.pyandscripts/auto_fix_deps.py) and network communication (inscripts/_common.py). - Sanitization:
scripts/run_workflow.pyutilizes asafe_path_joinfunction to ensure that downloaded output files do not perform path traversal attacks on the host system.
Audit Metadata