Critical-risk tools in ComfyUI Builder
5 of the 60 tools in ComfyUI Builder are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
clear_queueDestructiveClear ComfyUI queue: remove all pending and stop/clear running. Requires COMFYUI_HOST.
-
delete_queue_itemsDestructiveRemove specific items from ComfyUI queue by prompt_id. Use list_queue to get prompt_ids. Requires COMFYUI_HOST.
-
interrupt_executionDestructiveStop the currently running workflow on ComfyUI. Optionally pass prompt_id to interrupt only that prompt. If cleanup_after_ms is set (and prompt_id given), after interrupt the to...
-
remove_nodeDestructiveRemove a node from a dynamic workflow. Does not fix references (validation will report dangling refs).
-
finalize_workflowFinancialGet the workflow JSON for a dynamic workflow (same as get_workflow_json). Use with execute_workflow or save_workflow.
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.