[Guide] How to securely run ComfyUI on Windows (Docker>WSL2) [RTX 3090, logic can be applied to other hardware]

r/StableDiffusion
Generative AI

What risks you might face when running ComfyUI (or other software running ai models) you ask? Literally ALL of them, with the added perk that after updating nodes (or some unsafe model files) you get a new bingo of potential malware:D! Every comfy node is basically a separate, unscanned by security suites Python(AV read them very superficially when prompted, and will not audit its runtime risks)instance that can run ANY instructions set by the creator. It's like downloading and running random exes on your machine with your AV off.