When a custom string is entered into a comfyui node the string is saved in the metadata of the output image. If a user shares an image created with this node online with metadata intact anyone viewing the image will be able to load the image in their own instance and steal the api key.
Here's the metadata from one of the images made with this node:
When a custom string is entered into a comfyui node the string is saved in the metadata of the output image. If a user shares an image created with this node online with metadata intact anyone viewing the image will be able to load the image in their own instance and steal the api key. Here's the metadata from one of the images made with this node:
The api key can be read from the inputs section (I zeroed it out for obvious reasons).
I recommend either altering the node so that it loads the key from a file instead or adding a disclaimer about stripping metadata.