Premium Content Waitlist Banner

Digital Product Studio

ComfyUI Custom Nodes: How to Check One Before You Install

Warning box in the official ComfyUI documentation telling users to review ComfyUI custom nodes carefully before installing them

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_level on normal or strong, never weak. Don’t use --listen on a network you don’t trust. Keep saved passwords and crypto wallets out of the account that runs ComfyUI.

Table of Contents

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.

Warning box in the official ComfyUI documentation telling users to review ComfyUI custom nodes carefully before installing them
ComfyUI’s own documentation warns users to review custom nodes and install only from trusted authors. Screenshot: docs.comfy.org, taken by DigiAlps on 3 December 2026.

What Has Gone Wrong Before?

WhenWhat happenedLesson
June 2024vpnMentor 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 2024Releases 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 timelineTwo “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 2026A 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 2026Censys 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 2026CVE-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.

  1. 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”.
  2. Check the author. On GitHub, see how old the account is and what else it has made.
  3. Check the age. Few people have looked at a node that appeared days ago. Wait a week or two.
  4. Read the issues. Search the Issues tab for “virus”, “miner” and “malware”.
  5. Open the install files. Every line in requirements.txt should be a package you can look up by name.
  6. Search the code. Use GitHub’s search box with the table below.
  7. Install one node at a time. Then you know which one to blame.
CheckWhere to lookRed flag
Author and ageGitHub profile, commit historyA brand-new account, or a name that copies a popular node
Stars and issuesIssues tabAntivirus reports or unanswered issues. Stars alone prove little
Registry listingregistry.comfy.org or Manager’s listNot listed, so you must install by Git address or ZIP
What it installsrequirements.txt, install.pyPackages fetched from a web link or a .whl file
Network callsSearch for requests, urllib, socketData sent to an address the README does not explain
Text run as codeSearch for eval( and exec(Any use on text from a workflow or the web
Other programsSearch for subprocess, os.systemStarting PowerShell, or running pip install
Hidden codeLong lines of random letters, base64, .exe filesAnything 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:

LevelWhat it blocks
strongHigh-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.
weakNothing

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.

  1. Use a separate Python environment. The Windows portable build ships with its own Python in a python_embeded folder. This keeps packages apart. It does not stop malware.
  2. Don’t run it as administrator. A node gets the rights of whoever started ComfyUI.
  3. 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.
  4. Keep secrets out. In that account, don’t use a browser with saved passwords, and don’t keep crypto wallets or API keys.
  5. 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 --listen only on a network you trust. Keep your firewall on, and never forward the port on your router.
  6. 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

  1. Disconnect. Turn off Wi-Fi or pull the network cable.
  2. Remove it. Close ComfyUI and delete the node’s folder from custom_nodes. Its packages stay behind, so a fresh ComfyUI install is surer.
  3. Change passwords from another device. Start with email and banking. If card details were saved in your browser, call your bank.
  4. Scan. Run a full scan with trusted anti-malware software.
  5. 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.
  6. 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

SUBSCRIBE TO OUR NEWSLETTER

Stay updated with the latest news and exclusive offers!


* indicates required
Picture of Ali Mehdi
Ali Mehdi

Research is my hobby and I love to learn new skills. I make sure that every piece of content that you read on this blog is easy to understand and fact checked!

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Don't Miss Out on AI Breakthroughs!

Advanced futuristic humanoid robot

*No spam, no sharing, no selling. Just AI updates.

Ads slowing you down? Premium members browse 70% faster.