comfyui-mcp
npm
v0.52.199
Source verified
Published by artokun — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.
Local-first, agent-native control plane for ComfyUI — MCP server + autonomous sidebar agent that drives your live graph in natural language on ANY LLM: Claude/ChatGPT/Gemini on your subscription (no API key), free local models via Ollama (fully offline),
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 11.7 = 88. What the published surface and source actually contain:
| Points | What was found | Category |
|---|---|---|
| −11.7 | Untrusted input concatenated into a command sink ×4 MTC-SRC-009 | injection |
2. Client adoption risk — 88 − 10 = 78. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −10 | capability blast radius (critical) — client exposure if the model is manipulated |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
In the server's implementation (`dist/orchestrator/antigravity-backend.js:52`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; // SECURITY: agy is Google's LLM-vendor CLI — its subprocess must NOT inherit th
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/antigravity-backend.js
In the server's implementation (`dist/orchestrator/codex-backend.js:39`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; import { createRequire } from "node:module"; import { copyFileSync, existsSync,
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/codex-backend.js
In the server's implementation (`dist/orchestrator/gemini-backend.js:63`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; import { createRequire } from "node:module"; import readline from "node:readline
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/gemini-backend.js
In the server's implementation (`dist/orchestrator/grok-backend.js:60`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; import readline from "node:readline"; import { randomUUID } from "node:crypto";
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/grok-backend.js
In the server's implementation (`dist/orchestrator/index.js:13`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ecFileSync } from "node:child_process"; import { tmpdir, homedir, networkInterfaces } from "node:os"; import { dirname,
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/index.js
In the server's implementation (`dist/orchestrator/panel-agent.js:2935`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: return true; } spawn(tabId, resume, spawnOpts) { const agent = this.makeAgent(tabId); if (spawn
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/panel-agent.js
In the server's implementation (`dist/orchestrator/pi-backend.js:56`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; import { existsSync } from "node:fs"; import { homedir } from "node:os"; import
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/pi-backend.js
In the server's implementation (`dist/orchestrator/qwen-backend.js:57`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawnSync } from "node:child_process"; import readline from "node:readline"; import { logger } from "../utils/logger.js
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/orchestrator/qwen-backend.js
In the server's implementation (`dist/services/ai-toolkit.js:9`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: childProcess from "node:child_process"; import { existsSync, readFileSync } from "node:fs"; import { homedir } from "nod
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/services/ai-toolkit.js
In the server's implementation (`dist/services/bridge-port-reclaim.js:12`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ecFileSync } from "node:child_process"; import { readFileSync } from "node:fs"; import { tmpdir } from "node:os"; import
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/services/bridge-port-reclaim.js
In the server's implementation (`dist/tools/missing-models.js:46`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ; const res = await fetch(`https://huggingface.co/api/models/${path}/tree/main`, { // config.huggingfaceToke
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/tools/missing-models.js
In the server's implementation (`dist/tools/model-explorer.js:56`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const res = await fetch(`https://civitai.com/api/v1/model-versions/${versionId}`, { // CivitAI is a th
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/tools/model-explorer.js
In the server's implementation (`dist/services/ai-toolkit.js:286`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: childProcess.execSync(`taskkill /PID ${child.pid} /T /F`, { timeout: 10_000, windowsHide: true }); }
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/services/ai-toolkit.js
In the server's implementation (`dist/services/port-owner.js:196`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: uery(port) { return execSync(`lsof -V -nP -iTCP:${port} -sTCP:LISTEN -Fpn 2>&1`, { encoding: "utf-8",
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/services/port-owner.js
In the server's implementation (`dist/services/process-control.js:77`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const out = execSync(`tasklist /FI "IMAGENAME eq ${exe}" /FO CSV /NH`, { encoding: "utf-8", timeout: 5000 })
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/services/process-control.js
In the server's implementation (`plugin/hooks/open-latest-image.mjs:71`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: os === "win32") { execSync(`start "" "${newest.path}"`, { shell: true, stdio: "ignore" }); } else if (os === "
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server plugin/hooks/open-latest-image.mjs
In the server's implementation (`dist/utils/optional-dep.js:36`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const mod = (await import(spec)); cache.set(spec, mod); return mod; } catch (err) {
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/utils/optional-dep.js
In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/gen-manager-name-collisions.mjs:155`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: { const res = await fetch(`https://api.comfy.org/nodes?page=${page}&limit=100`); if (!res.ok) throw new Error(`r
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server scripts/gen-manager-name-collisions.mjs
Each tool and what it can reach — statically extracted from the published source.
download_modelingests untrusted inputapply_manifestno sensitive capabilityappsno sensitive capabilitybatchno sensitive capabilitybisectno sensitive capabilitycalculateno sensitive capabilityclear_vramno sensitive capabilitycomfy_clino sensitive capabilitycreate_workflowno sensitive capabilityenqueue_workflowno sensitive capabilitygenerate_imageno sensitive capabilityget_defaultsno sensitive capabilityget_historyno sensitive capabilityget_imageno sensitive capabilityget_system_statsno sensitive capabilityget_workflowno sensitive capabilityinstall_comfyuino sensitive capabilityinstall_custom_nodeno sensitive capabilitykitchenno sensitive capabilitylist_api_nodesno sensitive capabilitylist_local_modelsno sensitive capabilitylist_packsno sensitive capabilitymodel_metadatano sensitive capabilitynode_packno sensitive capabilitynode_snapshotno sensitive capabilityqueueno sensitive capabilityreport_issueno sensitive capabilityrestart_comfyuino sensitive capabilityrunpodno sensitive capabilityrunpod_watchno sensitive capabilitysave_workflowno sensitive capabilitysearch_custom_nodesno sensitive capabilitytrain_doctorno sensitive capabilitytrain_prepare_datasetno sensitive capabilitytrain_startno sensitive capabilityupload_imageno sensitive capabilityvisualize_workflowno sensitive capabilityworkspaceno sensitive capabilityScan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v0.52.199 latest |
C 78/100 | 18 | 1.13.0 | 2026-09-06 |
v0.52.197 |
C 78/100 | 18 | 1.13.0 | 2026-09-05 |
v0.52.186 |
C 78/100 | 18 | 1.13.0 | 2026-09-04 |
v0.52.165 |
C 78/100 | 19 | 1.13.0 | 2026-08-31 |
v0.52.146 |
C 78/100 | 19 | 1.13.0 | 2026-08-30 |
v0.52.145 |
C 78/100 | 19 | 1.13.0 | 2026-08-28 |
v0.52.137 |
C 78/100 | 19 | 1.13.0 | 2026-08-27 |
v0.52.100 |
C 78/100 | 19 | 1.13.0 | 2026-08-25 |
v0.52.86 |
C 78/100 | 19 | 1.12.1 | 2026-08-24 |
v0.52.65 |
C 78/100 | 19 | 1.12.1 | 2026-08-23 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan comfyui-mcp --online
Independent packages implementing the same tool, scanned with the same engine. Compare all 5 side by side →
Security scan results for the Comfyui (ModdingFox) MCP server.
Simple Model Context Protocol (MCP) server for ComfyUI: give it a prompt, get an image back. Works with a local or remote ComfyUI instance.
MCP server for ComfyUI — text-to-image generation via the Model Context Protocol.
40-tool MCP server for ComfyUI: image generation, ControlNet, IP-Adapter, inpainting, TTS voice cloning, lip-sync video, and AnimateDiff — with smart prompt optimization across 6 model families (Flux, SDXL, SD1.5, Illustrious, Pony, Realistic).
One key, 100+ models — chat with any LLM and generate video, images, speech. Free trial at 370.ai.
Retired compatibility stub for the AgentCanary MCP server. Daily briefs continue on X and Telegram.
A Backstage plugin that provides a chat interface for interacting with the MCP Servers.
Signal-first Bitcoin intelligence: sovereign, hiring & hashrate signals over MCP.
WhatsApp® reminders and rescheduling for Calendly. Public read-only MCP endpoint.
Open Source Generic MCP Client for testing & evaluating mcp servers and agents