Metrics:
Total lines of code: 236
Total lines skipped (#nosec): 0

try_except_pass: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: CWE-703
File: /custom_nodes/ComfyUI-Image-Selector/__init__.py
Line number: 93
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b110_try_except_pass.html
89	                else:
90	                    x: int = int(s.strip()) - 1
91	                    if x < len_first_dim:
92	                        selected_index.append(x)
93	            except:
94	                pass
95	
96	        if selected_index:
97	            print(f"ImageSelector: selected: {len(selected_index)} images")
try_except_pass: Try, Except, Pass detected.
Test ID: B110
Severity: LOW
Confidence: HIGH
CWE: CWE-703
File: /custom_nodes/ComfyUI-Image-Selector/__init__.py
Line number: 235
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b110_try_except_pass.html
231	                else:
232	                    x: int = int(s.strip()) - 1
233	                    if x < len_first_dim:
234	                        selected_index.append(x)
235	            except:
236	                pass
237	
238	        if selected_index:
239	            print(f"LatentSelector: selected: {len(selected_index)} latents")