comfyui-workflow
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute several local Python scripts for workflow management tasks. These include
scripts/workflow_catalog.pyfor building workflow catalogs,scripts/comfyui_workflow.pyfor inspecting and patching workflow files, andscripts/comfyui_control.pyfor live validation. - [INDIRECT_PROMPT_INJECTION]: The skill processes external workflow definitions and handoff data, which constitutes a potential vulnerability surface for indirect prompt injection.
- Ingestion points: The agent reads JSON-formatted workflow definitions from the
comfyui_workflows/library and project-specific locations like04_generation/comfyui/. - Boundary markers: The instructions rely on the structured nature of ComfyUI JSON files but do not specify explicit delimiters or "ignore instructions" markers for natural language fields (like prompts) contained within those workflows.
- Capability inventory: The skill uses subprocess calls to local Python scripts (
scripts/workflow_catalog.py,scripts/comfyui_workflow.py,scripts/comfyui_control.py) to write files and perform network operations against the local ComfyUI API. - Sanitization: The skill mandates rigorous validation, including verifying node classes against the server's
/object_infoendpoint, performing graph inspections, and running workflow-family contract checks to ensure safety and functionality.
Audit Metadata