The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
2626 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | server.py | 58 | def _remove_sensitive_from_queue(queue: list) -> list: |
| LOW | server.py | 63 | async def send_socket_catch_exception(function, message): |
| LOW | server.py | 147 | def create_origin_only_middleware(): |
| LOW | server.py | 188 | def create_block_external_middleware(): |
| LOW | server.py | 190 | async def block_external_middleware(request: web.Request, handler): |
| LOW | cuda_malloc.py | 100 | def get_torch_version_noimport(): |
| LOW | execution.py | 223 | async def resolve_map_node_over_list_results(results): |
| LOW | execution.py | 235 | async def _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, func, allow_interrupt=False, execution_bl |
| LOW | execution.py | 1295 | def get_current_queue_volatile(self): |
| LOW | folder_paths.py | 154 | def get_system_user_directory(name: str = "system") -> str: |
| LOW | folder_paths.py | 185 | def get_public_user_directory(user_id: str) -> str | None: |
| LOW | folder_paths.py | 223 | def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> li |
| LOW | folder_paths.py | 279 | def exists_annotated_filepath(name) -> bool: |
| LOW | latent_preview.py | 35 | def decode_latent_to_preview_image(self, preview_format, x0): |
| LOW | node_helpers.py | 25 | def conditioning_set_values_with_timestep_range(conditioning, values={}, start_percent=0.0, end_percent=1.0): |
| LOW | nodes.py | 2288 | async def init_external_custom_nodes(): |
| LOW | main.py | 80 | def handle_comfyui_manager_unavailable(): |
| LOW | main.py | 138 | def execute_prestartup_script(): |
| LOW | main.py | 252 | def _collect_output_absolute_paths(history_result: dict) -> list[str]: |
| LOW | comfy/model_sampling.py | 5 | def rescale_zero_terminal_snr_sigmas(sigmas): |
| LOW | comfy/context_windows.py | 366 | def combine_context_window_results(self, x_in: torch.Tensor, sub_conds_out, sub_conds, window: IndexListContextWindo |
| LOW | comfy/context_windows.py | 396 | def _prepare_sampling_wrapper(executor, model, noise_shape: torch.Tensor, *args, **kwargs): |
| LOW | comfy/context_windows.py | 408 | def create_prepare_sampling_wrapper(model: ModelPatcher): |
| LOW | comfy/context_windows.py | 430 | def create_sampler_sample_wrapper(model: ModelPatcher): |
| LOW | comfy/context_windows.py | 465 | def create_windows_uniform_looped(num_frames: int, handler: IndexListContextHandler, model_options: dict[str]): |
| LOW | comfy/context_windows.py | 484 | def create_windows_uniform_standard(num_frames: int, handler: IndexListContextHandler, model_options: dict[str]): |
| LOW | comfy/context_windows.py | 532 | def create_windows_static_standard(num_frames: int, handler: IndexListContextHandler, model_options: dict[str]): |
| LOW | comfy/context_windows.py | 576 | def get_matching_context_schedule(context_schedule: str) -> ContextSchedule: |
| LOW | comfy/context_windows.py | 602 | def create_weights_overlap_linear(length: int, full_length: int, idxs: list[int], handler: IndexListContextHandler, **kw |
| LOW | comfy/memory_management.py | 17 | def read_tensor_file_slice_into(tensor, destination, stream=None, destination2=None): |
| LOW | comfy/memory_management.py | 164 | def set_ram_cache_release_state(callback, headroom): |
| LOW | comfy/model_prefetch.py | 7 | def cleanup_prefetched_modules(comfy_modules): |
| LOW | comfy/hooks.py | 350 | def get_hooks_for_clip_schedule(self): |
| LOW | comfy/hooks.py | 434 | def get_effective_guarantee_steps(self, max_sigma: torch.Tensor): |
| LOW | comfy/hooks.py | 591 | def create_transformer_options_from_hooks(model: ModelPatcher, hooks: HookGroup, transformer_options: dict[str]=None): |
| LOW | comfy/hooks.py | 609 | def create_hook_model_as_lora(weights_model, weights_clip, strength_model: float, strength_clip: float): |
| LOW | comfy/hooks.py | 628 | def get_patch_weights_from_model(model: ModelPatcher, discard_model_sampling=True): |
| LOW | comfy/hooks.py | 640 | def load_hook_lora_for_models(model: ModelPatcher, clip: CLIP, lora: dict[str, torch.Tensor], |
| LOW | comfy/hooks.py | 672 | def _combine_hooks_from_values(c_dict: dict[str, HookGroup], values: dict[str, HookGroup], cache: dict[tuple[HookGroup, |
| LOW | comfy/hooks.py | 692 | def conditioning_set_values_with_hooks(conditioning, values={}, append_hooks=True, |
| LOW | comfy/hooks.py | 708 | def set_hooks_for_conditioning(cond, hooks: HookGroup, append_hooks=True, cache: dict[tuple[HookGroup, HookGroup], HookG |
| LOW | comfy/hooks.py | 713 | def set_timesteps_for_conditioning(cond, timestep_range: tuple[float,float]): |
| LOW | comfy/hooks.py | 719 | def set_mask_for_conditioning(cond, mask: torch.Tensor, set_cond_area: str, strength: float): |
| LOW | comfy/hooks.py | 758 | def set_conds_props_and_combine(conds: list, new_conds: list, strength: float=1.0, set_cond_area: str="default", |
| LOW | comfy/hooks.py | 773 | def set_default_conds_and_combine(conds: list, new_conds: list, |
| LOW | comfy/controlnet.py | 185 | def inference_memory_requirements(self, dtype): |
| LOW | comfy/controlnet.py | 489 | def inference_memory_requirements(self, dtype): |
| LOW | comfy/controlnet.py | 512 | def controlnet_load_state_dict(control_model, sd): |
| LOW | comfy/controlnet.py | 620 | def load_controlnet_hunyuandit(controlnet_data, model_options={}): |
| LOW | comfy/controlnet.py | 631 | def load_controlnet_flux_xlabs_mistoline(sd, mistoline=False, model_options={}): |
| LOW | comfy/controlnet.py | 640 | def load_controlnet_flux_instantx(sd, model_options={}): |
| LOW | comfy/controlnet.py | 664 | def load_controlnet_qwen_instantx(sd, model_options={}): |
| LOW | comfy/controlnet.py | 731 | def load_controlnet_state_dict(state_dict, model=None, model_options={}): |
| LOW | comfy/model_patcher.py | 66 | def set_model_options_post_cfg_function(model_options, post_cfg_function, disable_cfg1_optimization=False): |
| LOW | comfy/model_patcher.py | 72 | def set_model_options_pre_cfg_function(model_options, pre_cfg_function, disable_cfg1_optimization=False): |
| LOW | comfy/model_patcher.py | 78 | def create_model_options_clone(orig_model_options: dict): |
| LOW | comfy/model_patcher.py | 81 | def create_hook_patches_clone(orig_hook_patches, copy_tuples=False): |
| LOW | comfy/model_patcher.py | 592 | def set_model_sampler_cfg_function(self, sampler_cfg_function, disable_cfg1_optimization=False): |
| LOW | comfy/model_patcher.py | 600 | def set_model_sampler_post_cfg_function(self, post_cfg_function, disable_cfg1_optimization=False): |
| LOW | comfy/model_patcher.py | 603 | def set_model_sampler_pre_cfg_function(self, pre_cfg_function, disable_cfg1_optimization=False): |
| 992 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .spectral.yaml | 12 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 14 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 23 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 25 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 47 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 49 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 69 | # ----------------------------------------------------------------------- |
| MEDIUM | .spectral.yaml | 71 | # ----------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 2727 | # =========================================================================== |
| MEDIUM | openapi.yaml | 2732 | # =========================================================================== |
| MEDIUM | openapi.yaml | 2734 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 2736 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 81 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 83 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 159 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 161 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 236 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 238 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 356 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 358 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 467 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 469 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 576 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 578 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 701 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 703 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 820 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 822 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 896 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 898 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 958 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 960 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1099 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1101 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1168 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1170 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1464 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1466 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1589 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1591 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1644 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1646 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1698 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1700 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1724 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1726 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1855 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 1857 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 3008 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 3010 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 3363 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 3365 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4068 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4070 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4652 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4654 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4803 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 4805 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 5092 | # --------------------------------------------------------------------------- |
| MEDIUM | openapi.yaml | 5094 | # --------------------------------------------------------------------------- |
| 109 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | server.py | 121 | |
| LOW | server.py | 204 | |
| LOW | server.py | 258 | |
| LOW | server.py | 385 | |
| LOW | server.py | 457 | |
| LOW | server.py | 503 | |
| LOW | server.py | 928 | |
| LOW | server.py | 460 | |
| LOW | cuda_malloc.py | 53 | |
| LOW | execution.py | 155 | |
| LOW | execution.py | 235 | |
| LOW | execution.py | 314 | |
| LOW | execution.py | 343 | |
| LOW | execution.py | 429 | |
| LOW | execution.py | 824 | |
| LOW | execution.py | 1106 | |
| LOW | execution.py | 249 | |
| LOW | execution.py | 700 | |
| LOW | execution.py | 716 | |
| LOW | execution.py | 1310 | |
| LOW | execution.py | 1323 | |
| LOW | latent_preview.py | 78 | |
| LOW | node_helpers.py | 9 | |
| LOW | nodes.py | 2192 | |
| LOW | nodes.py | 2288 | |
| LOW | nodes.py | 614 | |
| LOW | nodes.py | 736 | |
| LOW | nodes.py | 757 | |
| LOW | nodes.py | 1651 | |
| LOW | nodes.py | 1979 | |
| LOW | main.py | 138 | |
| LOW | main.py | 252 | |
| LOW | main.py | 284 | |
| LOW | main.py | 428 | |
| LOW | comfy/conds.py | 7 | |
| LOW | comfy/context_windows.py | 100 | |
| LOW | comfy/context_windows.py | 195 | |
| LOW | comfy/clip_vision.py | 106 | |
| LOW | comfy/memory_management.py | 17 | |
| LOW | comfy/hooks.py | 350 | |
| LOW | comfy/hooks.py | 505 | |
| LOW | comfy/hooks.py | 549 | |
| LOW | comfy/sd1_clip.py | 320 | |
| LOW | comfy/sd1_clip.py | 348 | |
| LOW | comfy/sd1_clip.py | 378 | |
| LOW | comfy/sd1_clip.py | 415 | |
| LOW | comfy/sd1_clip.py | 28 | |
| LOW | comfy/sd1_clip.py | 172 | |
| LOW | comfy/sd1_clip.py | 566 | |
| LOW | comfy/controlnet.py | 731 | |
| LOW | comfy/controlnet.py | 964 | |
| LOW | comfy/controlnet.py | 190 | |
| LOW | comfy/controlnet.py | 253 | |
| LOW | comfy/model_patcher.py | 81 | |
| LOW | comfy/model_patcher.py | 506 | |
| LOW | comfy/model_patcher.py | 718 | |
| LOW | comfy/model_patcher.py | 739 | |
| LOW | comfy/model_patcher.py | 763 | |
| LOW | comfy/model_patcher.py | 788 | |
| LOW | comfy/model_patcher.py | 835 | |
| 302 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | comfy/controlnet.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/model_patcher.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/supported_models_base.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/model_base.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/utils.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/lora.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/model_management.py | 0 | this file is part of comfyui. copyright (c) 2024 comfy this program is free software: you can redistribute it and/or mod |
| HIGH | comfy/ops.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/controlnet.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/stage_a.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/common.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/stage_c.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/stage_b.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/ldm/cascade/stage_c_coder.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy_extras/nodes_stable_cascade.py | 0 | this file is part of comfyui. copyright (c) 2024 stability ai this program is free software: you can redistribute it and |
| HIGH | comfy/k_diffusion/sampling.py | 0 | ancestral sampling with dpm-solver++(2s) second-order steps. |
| HIGH | comfy/k_diffusion/sampling.py | 0 | ancestral sampling with dpm-solver++(2s) second-order steps. |
| HIGH | comfy/k_diffusion/sampling.py | 0 | ancestral sampling with dpm-solver++(2s) second-order steps. |
| HIGH | comfy/comfy_types/node_typing.py | 0 | unique_id is the unique identifier of the node, and matches the id property of the node on the client side. it is common |
| HIGH | comfy/comfy_types/node_typing.py | 0 | unique_id is the unique identifier of the node, and matches the id property of the node on the client side. it is common |
| HIGH | comfy_api/latest/_io.py | 0 | unique_id is the unique identifier of the node, and matches the id property of the node on the client side. it is common |
| HIGH | comfy_api/latest/_io.py | 0 | unique_id is the unique identifier of the node, and matches the id property of the node on the client side. it is common |
| HIGH | comfy/comfy_types/node_typing.py | 0 | prompt is the complete prompt sent by the client to the server. see the prompt object for a full description. |
| HIGH | comfy_api/latest/_io.py | 0 | prompt is the complete prompt sent by the client to the server. see the prompt object for a full description. |
| HIGH | comfy_api/latest/_io.py | 0 | prompt is the complete prompt sent by the client to the server. see the prompt object for a full description. |
| HIGH | comfy/comfy_types/node_typing.py | 0 | extra_pnginfo is a dictionary that will be copied into the metadata of any .png files saved. custom nodes can store addi |
| HIGH | comfy_api/latest/_io.py | 0 | extra_pnginfo is a dictionary that will be copied into the metadata of any .png files saved. custom nodes can store addi |
| HIGH | comfy_api/latest/_io.py | 0 | extra_pnginfo is a dictionary that will be copied into the metadata of any .png files saved. custom nodes can store addi |
| HIGH | comfy/comfy_types/node_typing.py | 0 | dynprompt is an instance of comfy_execution.graph.dynamicprompt. it differs from prompt in that it may mutate during the |
| HIGH | comfy_api/latest/_io.py | 0 | dynprompt is an instance of comfy_execution.graph.dynamicprompt. it differs from prompt in that it may mutate during the |
| HIGH | comfy_api/latest/_io.py | 0 | dynprompt is an instance of comfy_execution.graph.dynamicprompt. it differs from prompt in that it may mutate during the |
| HIGH | comfy/ldm/pixart/blocks.py | 0 | embeds class labels into vector representations. also handles label dropout for classifier-free guidance. |
| HIGH | comfy/ldm/pixart/blocks.py | 0 | embeds class labels into vector representations. also handles label dropout for classifier-free guidance. |
| HIGH | comfy/ldm/pixart/blocks.py | 0 | embeds class labels into vector representations. also handles label dropout for classifier-free guidance. |
| HIGH | comfy/ldm/wan/model.py | 0 | wan diffusion backbone supporting both text-to-video and image-to-video. |
| HIGH | comfy/ldm/wan/model.py | 0 | wan diffusion backbone supporting both text-to-video and image-to-video. |
| HIGH | comfy/ldm/wan/model.py | 0 | wan diffusion backbone supporting both text-to-video and image-to-video. |
| HIGH | comfy/ldm/wan/model.py | 0 | wan diffusion backbone supporting both text-to-video and image-to-video. |
| HIGH | comfy/ldm/wan/model_animate.py | 0 | wan diffusion backbone supporting both text-to-video and image-to-video. |
| HIGH | comfy_api_nodes/nodes_kling.py | 0 | ( $res := widgets.resolution; $mode := $res = "4k" ? "4k" : ($res = "720p" ? "std" : "pro"); $isv3 := $contains(widgets. |
| HIGH | comfy_api_nodes/nodes_kling.py | 0 | ( $res := widgets.resolution; $mode := $res = "4k" ? "4k" : ($res = "720p" ? "std" : "pro"); $isv3 := $contains(widgets. |
| HIGH | comfy_api_nodes/nodes_kling.py | 0 | ( $res := widgets.resolution; $mode := $res = "4k" ? "4k" : ($res = "720p" ? "std" : "pro"); $isv3 := $contains(widgets. |
| HIGH | comfy_api_nodes/nodes_wan.py | 0 | ( $res := $lookup(widgets, "model.resolution"); $dur := $lookup(widgets, "model.duration"); $ppstable := { "720p": 0.14, |
| HIGH | comfy_api_nodes/nodes_wan.py | 0 | ( $res := $lookup(widgets, "model.resolution"); $dur := $lookup(widgets, "model.duration"); $ppstable := { "720p": 0.14, |
| HIGH | comfy_api_nodes/nodes_wan.py | 0 | ( $res := $lookup(widgets, "model.resolution"); $dur := $lookup(widgets, "model.duration"); $ppstable := { "720p": 0.14, |
| HIGH | comfy_extras/nodes_optimalsteps.py | 0 | performs log-linear interpolation of a given array of decreasing numbers. |
| HIGH | comfy_extras/nodes_gits.py | 0 | performs log-linear interpolation of a given array of decreasing numbers. |
| HIGH | comfy_extras/nodes_align_your_steps.py | 0 | performs log-linear interpolation of a given array of decreasing numbers. |
| HIGH | comfy_extras/nodes_camera_trajectory.py | 0 | copied from https://github.com/hehao13/cameractrl/blob/main/inference.py |
| HIGH | comfy_extras/nodes_camera_trajectory.py | 0 | copied from https://github.com/hehao13/cameractrl/blob/main/inference.py |
| HIGH | comfy_extras/nodes_camera_trajectory.py | 0 | copied from https://github.com/hehao13/cameractrl/blob/main/inference.py |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | alembic.ini | 1 | # A generic, single database configuration. |
| LOW | alembic.ini | 21 | # Any required deps can installed by adding `alembic[tz]` to the pip requirements |
| LOW | alembic.ini | 41 | # The path separator used here should be the separator specified by "version_path_separator" below. |
| LOW | alembic.ini | 61 | |
| LOW | alembic.ini | 81 | # hooks = ruff |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 8161 | ##9 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 8601 | ##2015 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 8821 | ##bo |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 9161 | 2019 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 9341 | ##46 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 9741 | ##king |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 9761 | ##マ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 10141 | ofweek |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 10281 | vcd |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 11081 | ##atic |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 11361 | ##ack |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 11581 | 328 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 12401 | ##gas |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 12501 | sylvia |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 12941 | diary |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13061 | ##mes |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13121 | 828 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13301 | ##anda |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13321 | ##$ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13341 | ##\ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13361 | ##¼ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13381 | ##α |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13401 | ##χ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13421 | ##х |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13441 | ##ي |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13461 | ##ᄇ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13481 | ##ᅯ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13501 | ##‥ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13521 | ##ⅱ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13541 | ##∼ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13561 | ##⑤ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13581 | ##┆ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13601 | ##▇ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13621 | ##☕ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13641 | ##✿ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13661 | ##〓 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13681 | ##ァ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13701 | ##ヨ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13721 | ##ㄤ |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13741 | ##专 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13761 | ##丫 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13781 | ##乌 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13801 | ##买 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13821 | ##些 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13841 | ##亿 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13861 | ##仙 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13881 | ##伊 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13901 | ##伯 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13921 | ##佗 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13941 | ##佶 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13961 | ##侦 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 13981 | ##俚 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 14001 | ##個 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 14021 | ##倭 |
| LOW | comfy/text_encoders/hydit_clip_tokenizer/vocab.txt | 14041 | ##偻 |
| 392 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | comfy/context_windows.py | 1 | |
| LOW | comfy/hooks.py | 1 | |
| LOW | comfy/controlnet.py | 18 | |
| LOW | comfy/model_patcher.py | 19 | |
| LOW | comfy/model_base.py | 78 | |
| LOW | comfy/sampler_helpers.py | 1 | |
| LOW | comfy/multigpu.py | 1 | |
| LOW | comfy/quant_ops.py | 8 | |
| LOW | comfy/quant_ops.py | 8 | |
| LOW | comfy/quant_ops.py | 8 | |
| LOW | comfy/quant_ops.py | 8 | |
| LOW | comfy/samplers.py | 1 | |
| LOW | comfy/model_management.py | 18 | |
| LOW | comfy/model_management.py | 138 | |
| LOW | comfy/model_management.py | 145 | |
| LOW | comfy/text_encoders/gpt_oss.py | 3 | |
| LOW | comfy/weight_adapter/__init__.py | 1 | |
| LOW | comfy/weight_adapter/__init__.py | 8 | |
| LOW | comfy/weight_adapter/__init__.py | 8 | |
| LOW | comfy/weight_adapter/__init__.py | 8 | |
| LOW | comfy/ldm/lens/model.py | 3 | |
| LOW | app/node_replace_manager.py | 1 | |
| LOW | app/subgraph_manager.py | 1 | |
| LOW | app/database/db.py | 23 | |
| LOW | app/assets/database/models.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 1 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| LOW | app/assets/database/queries/__init__.py | 11 | |
| 192 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | server.py | 997 | def post_interrupt(request): |
| LOW | server.py | 310 | except Exception as e: |
| LOW | server.py | 443 | except Exception: |
| LOW | server.py | 764 | except Exception: |
| LOW | server.py | 1090 | except Exception as exc: |
| LOW | server.py | 1290 | except Exception: |
| LOW | execution.py | 92 | except Exception as e: |
| LOW | execution.py | 452 | except Exception as ex: |
| LOW | execution.py | 615 | except Exception as ex: |
| LOW | execution.py | 710 | except Exception as e: |
| LOW | execution.py | 940 | except Exception as ex: |
| LOW | execution.py | 982 | except Exception as ex: |
| LOW | execution.py | 1165 | except Exception as ex: |
| LOW | nodes.py | 2232 | except Exception as e: |
| LOW | nodes.py | 2277 | except Exception as e: |
| LOW | nodes.py | 2283 | except Exception as e: |
| LOW | main.py | 149 | except Exception as e: |
| LOW | main.py | 435 | except Exception as e: |
| MEDIUM | main.py | 428 | def setup_database(): |
| LOW | comfy/conds.py | 21 | except Exception: |
| LOW | comfy/sd1_clip.py | 458 | except Exception: |
| LOW | comfy/model_patcher.py | 2024 | except Exception as e: |
| LOW | comfy/model_patcher.py | 1224 | except Exception as e: |
| LOW | comfy/deploy_environment.py | 31 | except Exception as e: |
| LOW | comfy/ops.py | 909 | except Exception as e: |
| LOW | comfy/model_detection.py | 516 | except Exception: |
| LOW | comfy/utils.py | 142 | except Exception as e: |
| LOW | comfy/sd.py | 1065 | except Exception as e: |
| LOW | comfy/sd.py | 1150 | except Exception as e: |
| LOW | comfy/multigpu.py | 41 | except Exception as e: |
| LOW | comfy/multigpu.py | 57 | except Exception as e: |
| LOW | comfy/samplers.py | 536 | except Exception as e: |
| LOW | comfy/text_encoders/ace.py | 82 | except Exception as e: |
| LOW | comfy/weight_adapter/loha.py | 294 | except Exception as e: |
| LOW | comfy/weight_adapter/glora.py | 139 | except Exception as e: |
| LOW | comfy/weight_adapter/lokr.py | 362 | except Exception as e: |
| LOW | comfy/weight_adapter/oft.py | 250 | except Exception as e: |
| LOW | comfy/weight_adapter/boft.py | 130 | except Exception as e: |
| LOW | comfy/weight_adapter/lora.py | 284 | except Exception as e: |
| LOW | comfy/ldm/hunyuan3d/vae.py | 324 | except Exception: |
| LOW | comfy/ldm/modules/attention.py | 386 | except Exception as e: |
| LOW | comfy/ldm/modules/attention.py | 570 | except Exception as e: |
| LOW | comfy/ldm/modules/attention.py | 654 | except Exception as e: |
| LOW | comfy/ldm/modules/attention.py | 729 | except Exception as e: |
| LOW | comfy/ldm/modules/sub_quadratic_attention.py | 172 | except Exception as e: |
| LOW | comfy/ldm/modules/diffusionmodules/model.py | 261 | except Exception as e: |
| LOW | comfy/ldm/modules/diffusionmodules/model.py | 318 | except Exception as e: |
| LOW | app/frontend_management.py | 55 | except Exception: |
| LOW | app/frontend_management.py | 219 | except Exception: |
| LOW | app/frontend_management.py | 275 | except Exception as exc: |
| LOW | app/frontend_management.py | 286 | except Exception as exc: |
| LOW | app/frontend_management.py | 430 | except Exception as e: |
| MEDIUM | app/frontend_management.py | 232 | def default_frontend_path(cls) -> str: |
| LOW | app/user_manager.py | 243 | except Exception as e: |
| LOW | app/model_manager.py | 144 | except Exception as e: |
| LOW | app/database/db.py | 172 | except Exception as e: |
| LOW | app/assets/scanner.py | 208 | except Exception as e: |
| LOW | app/assets/scanner.py | 215 | except Exception as e: |
| LOW | app/assets/scanner.py | 248 | except Exception as e: |
| LOW | app/assets/scanner.py | 263 | except Exception as e: |
| 97 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | comfyui_version.py | 1 | # This file is automatically generated by the build process when version is |
| MEDIUM | comfy/lora.py | 384 | # Create a new tensor filled with zeros |
| MEDIUM | comfy/weight_adapter/base.py | 335 | # Create a new tensor filled with zeros |
| MEDIUM | comfy/ldm/lightricks/vae/dual_conv3d.py | 46 | # Define the size of the channels after the first convolution |
| MEDIUM | comfy/ldm/lightricks/vae/dual_conv3d.py | 197 | # Create an instance of the DualConv3d class |
| MEDIUM | comfy/ldm/chroma_radiance/layers.py | 68 | # Create a 2D meshgrid of coordinates. |
| MEDIUM | comfy/ldm/chroma_radiance/layers.py | 76 | # Create a 1D tensor of frequency values from 0 to max_freqs-1. |
| MEDIUM | comfy_execution/progress.py | 89 | # Create a new tqdm progress bar |
| MEDIUM | tests/execution/test_async_nodes.py | 202 | # Create an async node that will error |
| MEDIUM | tests/execution/test_async_nodes.py | 142 | # Create a test node with async validation |
| MEDIUM | tests/execution/test_async_nodes.py | 186 | # Create a node with async check_lazy_status |
| MEDIUM | tests/execution/test_progress_isolation.py | 212 | # Create a simple workflow |
| MEDIUM | tests/execution/test_execution.py | 723 | # Create a processing chain with an OUTPUT_NODE that has socket outputs |
| MEDIUM | tests/execution/test_execution.py | 732 | # Create the final output |
| MEDIUM | tests/execution/test_execution.py | 451 | # Creating the nodes in this specific order previously caused a bug |
| MEDIUM | tests/execution/test_execution.py | 618 | # Create a TestParallelSleep node that expands into multiple TestSleep nodes |
| MEDIUM | tests/execution/test_execution.py | 784 | # Create a chain of OUTPUT_NODEs |
| MEDIUM | …execution/testing_nodes/testing-pack/specific_tests.py | 300 | # Create the cyle |
| MEDIUM | …execution/testing_nodes/testing-pack/specific_tests.py | 365 | # Create a basic image generation workflow using the input model, clip and vae |
| MEDIUM | …execution/testing_nodes/testing-pack/specific_tests.py | 447 | # Create a graph dynamically with three TestSleep nodes |
| MEDIUM | comfy_api_nodes/util/request_logger.py | 137 | # Create a local temp dir for testing if needed |
| MEDIUM | comfy_extras/nodes_save_3d.py | 287 | # Create the GLB header (a 4-byte ASCII magic identifier glTF) |
| MEDIUM | comfy_extras/nodes_wanmove.py | 200 | # Create a single RGBA overlay for all tracks in this frame |
| MEDIUM | comfy_api/v0_0_2/__init__.py | 31 | # Create a synchronous version of the API |
| MEDIUM | comfy_api/internal/async_to_sync.py | 246 | # Create a sync version of this attribute |
| MEDIUM | comfy_api/internal/async_to_sync.py | 268 | # Create an instance of the inner class |
| MEDIUM | comfy_api/internal/async_to_sync.py | 301 | # Create a sync version of this nested class |
| MEDIUM | comfy_api/internal/async_to_sync.py | 150 | # Create the coroutine within the context |
| MEDIUM | comfy_api/internal/async_to_sync.py | 210 | # Create a proper class with docstrings and proper base classes |
| MEDIUM | comfy_api/internal/async_to_sync.py | 368 | # Create the class |
| MEDIUM | comfy_api/internal/async_to_sync.py | 815 | # Create a type tracker for this stub generation |
| MEDIUM | comfy_api/latest/__init__.py | 153 | # Create a synchronous version of the API |
| MEDIUM | comfy_api/latest/_input_impl/video_types.py | 484 | # Create a video stream |
| MEDIUM | comfy_api/latest/_input_impl/video_types.py | 490 | # Create an audio stream |
| MEDIUM | comfy_api/v0_0_1/__init__.py | 28 | # Create a synchronous version of the API |
| MEDIUM | .github/workflows/update-version.yml | 46 | f.write("# This file is automatically generated by the build process when version is\n") |
| MEDIUM | tests-unit/assets_test/test_assets_missing_sync.py | 22 | # Create a file directly under input/unit-tests/<case> so tags include "unit-tests" |
| MEDIUM | tests-unit/assets_test/test_assets_missing_sync.py | 188 | # Create a second on-disk copy under the same root but different subfolder |
| MEDIUM | tests-unit/assets_test/test_tags_api.py | 50 | # Create a short-lived asset under input with a unique custom tag |
| MEDIUM | tests-unit/assets_test/test_crud.py | 91 | # Create a second reference to the same asset via from-hash |
| MEDIUM | tests-unit/assets_test/services/test_ingest.py | 122 | # Create a preview asset and reference |
| MEDIUM | tests-unit/server/utils/file_operations_test.py | 7 | # Create a temporary directory structure |
| MEDIUM | …s-unit/prompt_server_test/system_user_endpoint_test.py | 115 | # Create a file in System User directory |
| MEDIUM | tests-unit/prompt_server_test/user_manager_test.py | 280 | # Create a directory with a space in its name and a file inside |
| MEDIUM | tests-unit/folder_paths_test/misc_test.py | 9 | # Create a nested folder structure |
| MEDIUM | tests-unit/folder_paths_test/misc_test.py | 20 | # Create the folders |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | comfy/sd.py | 636 | self.first_stage_model = comfy.ldm.genmo.vae.model.VideoVAE() |
| CRITICAL | comfy/sd.py | 658 | self.first_stage_model = comfy.ldm.lightricks.vae.causal_video_autoencoder.VideoVAE(version=version, con |
| CRITICAL | comfy/sd.py | 780 | self.first_stage_model = comfy.ldm.ace.vae.music_dcae_pipeline.MusicDCAE(source_sample_rate=44100) |
| CRITICAL | comfy/sd.py | 811 | self.first_stage_model = comfy.ldm.mmaudio.vae.autoencoder.AudioAutoencoder(mode=mode) |
| CRITICAL | comfy/sd.py | 853 | self.first_stage_model = comfy.ldm.lightricks.vae.audio_vae.AudioVAE(metadata=metadata) |
| CRITICAL | comfy/cldm/mmdit.py | 24 | self.pos_embed_input = comfy.ldm.modules.diffusionmodules.mmdit.PatchEmbed( |
| CRITICAL | comfy/ldm/hunyuan_video/model.py | 224 | self.img_in = comfy.ldm.modules.diffusionmodules.mmdit.PatchEmbed(None, self.patch_size, self.in_channels, self. |
| CRITICAL | tests-unit/comfy_quant/test_mixed_precision.py | 116 | self.assertEqual(model.layer1.weight._params.scale.item(), 2.0) |
| CRITICAL | tests-unit/comfy_quant/test_mixed_precision.py | 117 | self.assertEqual(model.layer3.weight._params.scale.item(), 1.5) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | folder_paths.py | 155 | Get the path to a System User directory. System User directories (prefixed with '__') are only accessible via |
| HIGH | nodes.py | 2171 | Returns the module name based on the given module path. Examples: get_module_name("C:/Users/username/Co |
| HIGH | comfy/ldm/cosmos/predict2.py | 751 | Prepares an embedded sequence tensor by applying positional embeddings and handling padding masks. Arg |
| HIGH | comfy/ldm/cosmos/model.py | 258 | Prepares an embedded sequence tensor by applying positional embeddings and handling padding masks. Arg |
| HIGH | comfy/ldm/lightricks/vae/causal_audio_autoencoder.py | 23 | Convert a string, enum instance, or None to the appropriate enum member. Args: value: Can |
| HIGH | comfy/ldm/hydit/attn_layers.py | 8 | Reshape frequency tensor for broadcasting it with another tensor. This function reshapes the frequency tensor |
| HIGH | comfy/ldm/ace/lyric_encoder.py | 454 | Create mask for subsequent steps (size, size). This mask is used only in decoder which works in an auto-regressive |
| HIGH | comfy/ldm/ace/lyric_encoder.py | 492 | Create mask for subsequent steps (size, size) with chunk size, this is for streaming encoder Args: s |
| HIGH | comfy/ldm/ace/lyric_encoder.py | 890 | Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: length |
| HIGH | app/frontend_management.py | 335 | Args: value (str): The version string to parse. Returns: tuple[str, str]: A tu |
| HIGH | app/frontend_management.py | 356 | Initializes the frontend for the specified version. Args: version_string (str): The versio |
| HIGH | app/assets/api/upload.py | 28 | Parse a multipart/form-data upload request. Args: request: The aiohttp request check_hash_exis |
| HIGH | comfy_api_nodes/nodes_openai.py | 58 | Validates and casts a response to a torch.Tensor. Args: response: The response to validate and cast. |
| HIGH | comfy_api_nodes/util/conversions.py | 20 | Converts image data from BytesIO to a torch.Tensor. Args: image_bytesio: BytesIO object containing the imag |
| HIGH | comfy_extras/nodes_train.py | 643 | Validate conditioning count matches image count, expand if needed. Args: positive: Conditioning list |
| HIGH | comfy_extras/nodes_train.py | 862 | Create optimizer based on name. Args: optimizer_name: Name of optimizer ("Adam", "AdamW", "SGD", "RMSprop") |
| HIGH | comfy_config/config_parser.py | 51 | Extract configuration from a custom node directory's pyproject.toml file or a Python file. This function reads and par |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | comfy_api_nodes/nodes_tripo.py | 830 | $face := (widgets.face_limit != null) ? widgets.face_limit : -1; |
| HIGH | comfy_api_nodes/nodes_tripo.py | 831 | $texSize := (widgets.texture_size != null) ? widgets.texture_size : 4096; |
| HIGH | comfy_api_nodes/nodes_tripo.py | 832 | $flatThresh := (widgets.flatten_bottom_threshold != null) ? widgets.flatten_bottom_threshold : 0; |
| HIGH | comfy_api_nodes/nodes_tripo.py | 833 | $scale := (widgets.scale_factor != null) ? widgets.scale_factor : 1; |
| HIGH | tests-unit/assets_test/test_assets_missing_sync.py | 343 | # one hashed AssetInfo (asset_hash == h) + one seed AssetInfo (asset_hash == null) |
| HIGH | tests-unit/assets_test/test_metadata_filters.py | 136 | # a1: key missing; a2: explicit null; a3: concrete value |
| HIGH | tests-unit/assets_test/test_metadata_filters.py | 318 | # Filtering by unknown key with None should return both (missing key OR null) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | server.py | 289 | # Check if first message is feature flags |
| LOW | server.py | 1003 | # Check if a specific prompt_id was provided for targeted interruption |
| LOW | server.py | 1008 | # Check if the prompt_id matches any currently running prompt |
| LOW | comfy/text_encoders/anima.py | 26 | out["qwen3_06b"] = [[(k[0], 1.0, k[2]) if return_word_ids else (k[0], 1.0) for k in inner_list] for inner_list i |
| LOW | comfy/weight_adapter/bypass.py | 159 | # Check if adapter has custom bypass_forward (e.g., GLoRA) |
| LOW | comfy/weight_adapter/bypass.py | 162 | # Check if it's overridden (not the base class default) |
| LOW | comfy/weight_adapter/bypass.py | 216 | # Check if adapter is an nn.Module (WeightAdapterTrainBase) |
| LOW | app/user_manager.py | 88 | # Check if filename is url encoded |
| LOW | app/user_manager.py | 269 | # Check if it's the base user directory that's missing (new user case) |
| LOW | app/database/db.py | 141 | # Check if we need to upgrade |
| LOW | …ecution/testing_nodes/testing-pack/async_test_nodes.py | 235 | # Check if resource is already in use |
| LOW | comfy_api_nodes/nodes_topaz.py | 360 | # Check if width exceeds standard bounds (for ultra-wide e.g., 21:9 ARs) |
| LOW | comfy_api_nodes/nodes_topaz.py | 368 | # Check if height exceeds standard bounds |
| LOW | comfy_api_nodes/nodes_topaz.py | 680 | # Check if width exceeds standard bounds (for ultra-wide e.g., 21:9 ARs) |
| LOW | comfy_api_nodes/nodes_topaz.py | 688 | # Check if height exceeds standard bounds |
| LOW | comfy_api_nodes/nodes_veo2.py | 240 | # Check if video is provided as base64 or URL |
| LOW | comfy_api_nodes/nodes_hitpaw.py | 140 | # Check if we can downscale input by at most 2x to fit |
| LOW | comfy_api_nodes/nodes_ideogram.py | 684 | # Check if both image and mask are provided for editing mode |
| LOW | comfy_extras/nodes_wan.py | 507 | # Check if we have a single track (dict with x,y) or a list of tracks |
| LOW | comfy_api/generate_api_stubs.py | 25 | # Check if module has ComfyAPISync (the sync wrapper) |
| LOW | comfy_api/internal/__init__.py | 142 | # Check if the original method is async |
| LOW | comfy_api/internal/async_to_sync.py | 241 | # Check if this attribute needs a sync wrapper |
| LOW | comfy_api/internal/async_to_sync.py | 263 | # Check if the type is defined as an inner class |
| LOW | comfy_api/internal/async_to_sync.py | 582 | # Check if module has __all__ defined |
| LOW | comfy_api/internal/async_to_sync.py | 590 | # Check if this type was actually used in annotations |
| LOW | comfy_api/internal/async_to_sync.py | 946 | # Check if there's a mapping from annotation |
| LOW | .github/workflows/check-line-endings.yml | 27 | # Check if the file exists and is a text file |
| LOW | tests-unit/utils/extra_config_test.py | 107 | # Check if add_model_folder_path was called with the correct arguments |
| LOW | tests-unit/utils/extra_config_test.py | 113 | # Check if yaml.safe_load was called |
| LOW | tests-unit/utils/extra_config_test.py | 116 | # Check if open was called with the correct file path |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | execution.py | 267 | # if is just a class, then assign no state, just create clone |
| MEDIUM | .spectral.yaml | 70 | # Custom rules: best practices |
| MEDIUM | nodes.py | 407 | #grow mask by a few pixels to keep things seamless in latent space |
| LOW | comfy/hooks.py | 414 | # if only 1 hook, just return itself without cloning |
| LOW | comfy/sd.py | 1070 | #So we just set a flag for tiler fallback so that tensor gc can happen once the |
| LOW | comfy/sd.py | 1155 | #So we just set a flag for tiler fallback so that tensor gc can happen once the |
| LOW | comfy/ldm/modules/diffusionmodules/mmdit.py | 852 | # just use a buffer already |
| MEDIUM | comfy/ldm/sam3/tracker.py | 73 | """Max of IoU and IoM (intersection over minimum area). More robust to size differences.""" |
| LOW | comfy/ldm/ace/lyric_encoder.py | 113 | # It's better we just return None if no cache is required, |
| LOW | comfy/ldm/chroma_radiance/model.py | 331 | # If x0 variant → v-pred, just return this instead |
| LOW | app/node_replace_manager.py | 82 | # just use the first replacement |
| LOW | comfy_extras/nodes_video.py | 196 | # Instead of hashing the file, we can just use the modification time to avoid |
| LOW | comfy_api/internal/async_to_sync.py | 900 | # If we can't get the signature, just add a simple stub |
| LOW | tests-unit/utils/extra_config_test.py | 238 | return path # For absolute base, we just return path directly |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | comfy/ldm/lightricks/vae/causal_audio_autoencoder.py | 708 | # Step 1: Crop first to avoid exceeding target dimensions |
| LOW | comfy/ldm/lightricks/vae/causal_audio_autoencoder.py | 713 | # Step 2: Calculate padding needed for time and frequency dimensions |
| LOW | comfy/ldm/lightricks/vae/causal_audio_autoencoder.py | 717 | # Step 3: Apply padding if needed |
| LOW | comfy/ldm/lightricks/vae/causal_audio_autoencoder.py | 729 | # Step 4: Final safety crop to ensure exact target shape |
| LOW | comfy_api/internal/async_to_sync.py | 294 | # we need to check if it needs a sync wrapper |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | script_examples/basic_api_example.py | 101 | # If the workflow contains API nodes, you can add a Comfy API key to the `extra_data`` field of the payload. |
| MEDIUM | script_examples/websockets_api_example.py | 42 | # If you want to be able to decode the binary stream for latent previews, here is how you can do it: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | comfy_api_nodes/nodes_vidu.py | 37 | async def execute_task( |