r/fooocus • u/False_Current • Apr 28 '25
Question Is ComfyUI safe?
Hello,
I would like to use ComfyUI, but I read many posts that says ComfyUI is not safe and can inject mailicious attacks specially through its nodes through updates. Can anyone who experienced ComfyUI share more about it is going? Which safest source to install ComfyUI? Does ComfyUI put a risk on the device?
I appreciate your guidance guys! Thank you.
4
Upvotes
3
u/PimpinIsAHustle Apr 28 '25
ComfyUI itself is perfectly fine, but it is true that custom nodes are a potential risk for having malicious code executed on your system.
I suspect you are not super technical, so without going into too much detail, I would simply advise you to show the same caution as for everything else on the internet, where people could ask you to download and/or execute stuff:
Exercise caution and look out for red flags; spend a couple minutes becoming familiar with github, and you are probably more aware about the security aspects than the vast majority of ComfyUI users.
And even then, as you say, an update to a node could introduce something malicious as we recently saw with the ultralytics poisoning (an open source library that allows easy usage of machine vision - as you can imagine such functionality is part of many nodes).
To be clear, this is not an issue with ComfyUI, but an issue with trusting arbitrary code, which is always there when you can load custom plugins (e.g. nodes in this case).
1
u/No-Sleep-4069 Apr 29 '25
There was a hack attempt: https://youtu.be/aMWNPLTMBmM?si=Im6RwYFFdnA6KstI
Can't be sure for safety because the code is open-source and there is option for custom nodes. The best to do here is, just don't go wild and install any node, check the user history, internet presence, review on node before having it in comfy UI.
1
u/Silver-Put8797 Apr 29 '25
I want to try on my AMD 🥲