ComfyUI custom nodes are add-ons that give ComfyUI new features, and each one is a small program that runs on your computer. Most are made by helpful hobbyists. However, a few have carried malware, and AI tools now make it easy to publish a node that nobody has reviewed. This guide shows how to check a node before you install it, and how to protect the rest of your PC.
Quick answer: A custom node is Python code with the same access as your own user account, so treat it like any program you download. First check who made it, how old it is, whether it is in the Comfy Registry, and what it installs. Keep ComfyUI-Manager’s
security_levelonnormalorstrong, neverweak. Don’t use--listenon a network you don’t trust. Keep saved passwords and crypto wallets out of the account that runs ComfyUI.
Table of Contents
- Key Takeaways
- Why Can ComfyUI Custom Nodes Be Dangerous?
- What Does “Vibe-Coded” Mean, and Why Does It Raise the Risk?
- What Has Gone Wrong Before?
- How to Check ComfyUI Custom Nodes Before You Install
- Which ComfyUI-Manager Security Level Should You Use?
- How Do You Isolate ComfyUI From the Rest of Your PC?
- Are Model Files Dangerous Too?
- What to Do If You Think You Installed a Bad Node
- What Is Still Unknown?
- ComfyUI Custom Nodes: Frequently Asked Questions
- Sources
Key Takeaways
- ComfyUI’s own security policy calls custom nodes “arbitrary Python code”.
- Real malware has been found. Two bad packs in the Comfy Registry were downloaded 790 times before a ban.
- A node can also be dangerous by accident, through careless code.
- ComfyUI has no login by default. In 2026, researchers found over 1,000 ComfyUI servers open to the internet.
- No check is perfect, so limit what a bad node could reach.
Why Can ComfyUI Custom Nodes Be Dangerous?
A custom node is a folder of Python code inside ComfyUI’s custom_nodes folder. ComfyUI runs that code when it starts. It can do what your user account can do: read your files, use the internet and start other programs.
ComfyUI’s security policy says custom nodes are “arbitrary Python code”. Problems with a node go to that node’s maintainer, it adds, not to ComfyUI.
Also, most nodes ship with a requirements.txt file, a list of extra Python packages to download. Each package is more code from another stranger.
What Does “Vibe-Coded” Mean, and Why Does It Raise the Risk?
“Vibe coding” means asking an AI chatbot to write a program from a plain description, then using the result without reading it closely. Andrej Karpathy coined the term in February 2025, according to Wikipedia. A vibe-coded node is one made this way and published unreviewed.
An author who never understood the code cannot spot its mistakes. A CodeRabbit report from 17 December 2025 looked at 470 open-source code changes. It found about 1.7 times more issues in the AI co-authored ones. That report did not study ComfyUI nodes, and we found no study that does.
In December 2024, Snyk Labs reported four flaws in ComfyUI add-ons. Two were in nodes that ran text from a workflow as code. A careless node is not malware, but it can still let an attacker in.

What Has Gone Wrong Before?
| When | What happened | Lesson |
|---|---|---|
| June 2024 | vpnMentor reported that the ComfyUI_LLMVISION node was built to steal browser passwords. The bad code hid in fake copies of the OpenAI and Anthropic packages. | Check what a node installs. |
| December 2024 | Releases of the ultralytics package, starting with 8.3.41 and 8.3.42, carried a crypto miner. ComfyUI said nodes such as ComfyUI-Impact-Pack depend on it. | A trusted node can pull in a bad package. |
| October 2025, by the post’s timeline | Two “Upscaler-4K” packs in the Comfy Registry held malware. Comfy’s post-mortem says they were banned on 21 October, after 790 downloads. | Scanning helps, but it is not instant. |
| January 2026 | A ComfyUI-Manager advisory said outsiders who reached the server could change Manager’s settings. Version 3.38 fixed it. | Keep Manager updated. |
| March to April 2026 | Censys found over 1,000 ComfyUI servers open to the internet, and an attacker turning them into crypto miners. | Never expose ComfyUI to the internet. |
| November 2026 | CVE-2026-123790: a flaw in ComfyUI-Easy-Use 1.3.6 to 1.4.1 let anyone who could reach the server overwrite a node’s code. | Honest nodes have bugs too. |
How to Check ComfyUI Custom Nodes Before You Install
You don’t need to be a programmer for the first four steps.
- Look for it in the Comfy Registry. The Comfy Registry is the official node list behind ComfyUI-Manager. Its documentation says all nodes “will be scanned for malicious behaviour”.
- Check the author. On GitHub, see how old the account is and what else it has made.
- Check the age. Few people have looked at a node that appeared days ago. Wait a week or two.
- Read the issues. Search the Issues tab for “virus”, “miner” and “malware”.
- Open the install files. Every line in
requirements.txtshould be a package you can look up by name. - Search the code. Use GitHub’s search box with the table below.
- Install one node at a time. Then you know which one to blame.
| Check | Where to look | Red flag |
|---|---|---|
| Author and age | GitHub profile, commit history | A brand-new account, or a name that copies a popular node |
| Stars and issues | Issues tab | Antivirus reports or unanswered issues. Stars alone prove little |
| Registry listing | registry.comfy.org or Manager’s list | Not listed, so you must install by Git address or ZIP |
| What it installs | requirements.txt, install.py | Packages fetched from a web link or a .whl file |
| Network calls | Search for requests, urllib, socket | Data sent to an address the README does not explain |
| Text run as code | Search for eval( and exec( | Any use on text from a workflow or the web |
| Other programs | Search for subprocess, os.system | Starting PowerShell, or running pip install |
| Hidden code | Long lines of random letters, base64, .exe files | Anything you cannot read |
The Registry’s standards ban eval and exec, package installs at run time, and obfuscated code, which is code scrambled so people cannot read it.
Which ComfyUI-Manager Security Level Should You Use?
ComfyUI-Manager installs nodes for you. Its config.ini file has a setting called security_level. Manager’s README describes four levels:
| Level | What it blocks |
|---|---|
strong | High-risk and middle-risk actions. You cannot install or update listed nodes |
normal (the default) | High-risk actions only |
normal- | High-risk actions, but only when --listen is set to an address that does not start with 127. |
weak | Nothing |
High-risk actions include restoring a snapshot and downloading unlisted models that are not .safetensors files.
Our advice: keep normal while you build your setup, then switch to strong. Don’t use weak.
Installing from any Git address is handled separately. Two settings, allow_git_url_install and allow_pip_install, are off by default. Leave them off. A node that needs them is not in the default list, so check it twice.
On ComfyUI 0.3.76 or later, the file is in ComfyUI/user/__manager/ unless you moved the user folder.
How Do You Isolate ComfyUI From the Rest of Your PC?
Checks can miss things, so leave a bad node little to steal.
- Use a separate Python environment. The Windows portable build ships with its own Python in a
python_embededfolder. This keeps packages apart. It does not stop malware. - Don’t run it as administrator. A node gets the rights of whoever started ComfyUI.
- Use a separate account or a container. Make a standard Windows user just for ComfyUI, or run it in a container such as Docker. A bad node then sees that account, not your main one. We haven’t tested containers ourselves.
- Keep secrets out. In that account, don’t use a browser with saved passwords, and don’t keep crypto wallets or API keys.
- Stay on your own machine. By default ComfyUI answers only at
127.0.0.1, port 8188. ComfyUI’s hosting guide warns that the server “has no authentication by default”. So use--listenonly on a network you trust. Keep your firewall on, and never forward the port on your router. - Update and tidy up. Keep ComfyUI, Manager and nodes updated. Delete nodes you no longer use.
Are Model Files Dangerous Too?
Some are. Older model files ending in .ckpt, .pt, .pth or .bin often use a Python format called pickle. Hugging Face warns that loading a pickle file can run code. The .safetensors format avoids this. It stores the model’s numbers and no code.
So choose .safetensors when you can. We met the same pickle issue in our BEN3 guide. For more local AI help, see our Ternary Bonsai setup guide and our guide to uncensored local models.
What to Do If You Think You Installed a Bad Node
- Disconnect. Turn off Wi-Fi or pull the network cable.
- Remove it. Close ComfyUI and delete the node’s folder from
custom_nodes. Its packages stay behind, so a fresh ComfyUI install is surer. - Change passwords from another device. Start with email and banking. If card details were saved in your browser, call your bank.
- Scan. Run a full scan with trusted anti-malware software.
- Rebuild if in doubt. In the 2026 attacks, Censys found that removing the miner and restarting was not enough. If signs remain, reinstall the system.
- Report it. Tell GitHub and the Comfy team, so the node can be banned.
What Is Still Unknown?
- How common vibe-coded nodes are. We found no count.
- What the Registry scanner catches. Comfy said in January 2025 that the scanner’s code would stay private.
You can also read how we source our reporting.
ComfyUI Custom Nodes: Frequently Asked Questions
Are ComfyUI custom nodes safe?
Most are, but none is guaranteed safe. Each one is ordinary Python code with your account’s access.
Is a node safe if it is in ComfyUI-Manager’s list?
It is safer, not safe. The Registry scans nodes, but the Upscaler-4K packs were downloaded 790 times before the ban.
Which ComfyUI-Manager security level should I use?
Use normal, the default, while you set things up, and strong once you are finished. Don’t use weak.
Can I use –listen to reach ComfyUI from my phone?
Only on a home network you trust, and never open to the internet. ComfyUI has no login by default.
Does a separate Python environment protect me from malware?
No. It only keeps Python packages apart. A separate user account or a container gives real separation.
Sources
- ComfyUI security policy (read 3 December 2026)
- ComfyUI-Manager README (read 3 December 2026)
- ComfyUI-Manager advisory GHSA-95pq-hr8p-f5g7 (read 3 December 2026)
- Comfy Registry overview (read 3 December 2026)
- Comfy Registry standards (read 3 December 2026)
- ComfyUI docs, installing custom nodes (read 3 December 2026)
- ComfyUI docs, Windows portable build (read 3 December 2026)
- ComfyUI docs, self-hosting (read 3 December 2026)
- Comfy blog, January 2025 security update (read 3 December 2026)
- Comfy blog, ultralytics statement (read 3 December 2026)
- OSV advisory PYSEC-2024-154, ultralytics (read 3 December 2026)
- Comfy blog, Upscaler-4K post-mortem (read 3 December 2026)
- vpnMentor, ComfyUI_LLMVISION report (read 3 December 2026)
- Snyk Labs, custom node research (read 3 December 2026)
- Censys, exposed ComfyUI servers (read 3 December 2026)
- CVE-2026-123790 record (read 3 December 2026)
- Hugging Face docs, pickle scanning (read 3 December 2026)
- CodeRabbit report, 17 December 2025 (read 3 December 2026)
- Wikipedia, Vibe coding (read 3 December 2026)


