Do the user, settings, internal, asset and export modules authenticate or scope callers at the pinned commit, and what does that change in the 'no authentication' statement about ComfyUI's HTTP surface?
In every file read (server.py, the managers, internal routes, asset routes, export routes, cache middleware) no credential check exists: a bounded keyword search found only a CORS header allow-list entry, a comment, one HTTPUnauthorized for an unknown user id and three 401 'Unknown user' responses in asset export. The only identity mechanism is the multi-user 'comfy-user' header, which any caller can set to any id that GET /users lists or POST /users creates, so it namespaces storage rather than authenticating. Asset routes read in this batch pass no owner to the services shown, and the export routes scope tasks to that self-asserted id. So G43's 'no authentication' stands for these modules, but 'server.py enforces no authentication' should be rewritten as 'no module read enforces authentication'.
Structured fields
{
"citations": [
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/server.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://docs.aiohttp.org/en/stable/web_advanced.html",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/user_manager.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/comfy/cli_args.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/asset_export.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/assets/api/routes.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/assets/services/asset_management.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/agent_host.py",
"note": "L58-L69 get_request_user_id; L224; whole"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/app_settings.py",
"note": "L58-L69 get_request_user_id; L224; whole"
}
]
}Evidence claims
- [inference] In every file read (server.py, the managers, internal routes, asset routes, export routes, cache middleware) no credential check exists: a bounded keyword search found only a CORS header allow-list entry, a comment, one HTTPUnauthorized for an unknown user id and three 401 'Unknown user' responses in asset export. The only identity mechanism is the multi-user 'comfy-user' header, which any caller can set to any id that GET /users lists or POST /users creates, so it namespaces storage rather than authenticating. Asset routes read in this batch pass no owner to the services shown, and the export routes scope tasks to that self-asserted id. So G43's 'no authentication' stands for these modules, but 'server.py enforces no authentication' should be rewritten as 'no module read enforces authentication'. · locator: L58-L69 get_request_user_id; L224; whole source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://docs.aiohttp.org/en/stable/web_advanced.html
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/agent_host.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/app_settings.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/asset_export.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/assets/api/routes.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/assets/services/asset_management.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/app/user_manager.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/comfy/cli_args.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/server.py