Is this ComfyUI workflow safe? What to check before you run it
Updated September 30, 2026
A workflow .json is a description of a graph. On its own it can't run code. The risk comes from what it asks you to install, and from text inside it that a node might act on without you reading it.
Where the real risk is
- Custom node packs. They're Python that runs with your user's permissions. In 2024 a pack called ComfyUI_LLMVISION was found stealing saved browser passwords, card details and crypto wallets. The same year, a compromised release of the ultralytics Python library shipped a crypto miner, reaching some ComfyUI users through a popular pack's dependencies.
- Nodes that run code. Some packs include nodes that evaluate Python or shell commands typed into a text box. Fine when you wrote the text, dangerous when someone else did.
- Hidden text. Prompts can carry invisible Unicode characters that a person can't see but a language model can read. Nodes can also be parked far off-screen, shrunk, collapsed or switched off.
- Links. A webhook or paste-site URL in a workflow has no normal reason to be there.
- Model files.
.ckptand.ptfiles can run code when they load..safetensorscan't.
A checklist before you queue
- Run the file through NodeCheck. It runs in your browser; nothing is uploaded.
- Install only the packs you can trace to the Comfy registry or a repo you've looked at.
- Open every text box in the graph, including in switched-off nodes, and read what's there.
- Zoom all the way out once to spot nodes parked away from the rest.
- Use only
.safetensorsmodel files. - Keep secrets out of workflows you share. API keys in text fields travel with the file.
What a scan can't tell you
NodeCheck reads the workflow file, not the source code of the packs it needs. A clean result means none of its checks found anything, not that everything the workflow installs is safe. That's why the custom packs list matters most.
