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

blacklist: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: CWE-78
File: /custom_nodes/efficiency-nodes-comfyui/__init__.py
Line number: 2
More info: https://bandit.readthedocs.io/en/1.7.9/blacklists/blacklist_imports.html#b404-import-subprocess
1	import os
2	import subprocess
3	import importlib.util
4	import folder_paths
5	import shutil
6	import sys
7	import traceback
8	
blacklist: Consider possible security implications associated with the subprocess module.
Test ID: B404
Severity: LOW
Confidence: HIGH
CWE: CWE-78
File: /custom_nodes/efficiency-nodes-comfyui/efficiency_nodes.py
Line number: 17
More info: https://bandit.readthedocs.io/en/1.7.9/blacklists/blacklist_imports.html#b404-import-subprocess
13	from importlib import import_module
14	import os
15	import sys
16	import copy
17	import subprocess
18	import json
19	import psutil
20	
assert_used: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: CWE-703
File: /custom_nodes/efficiency-nodes-comfyui/py/smZ_cfg_denoiser.py
Line number: 112
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b101_assert_used.html
108	
109	        is_edit_model = False
110	
111	        conds_list, tensor = cond
112	        assert not is_edit_model or all(len(conds) == 1 for conds in conds_list), "AND is not supported for InstructPix2Pix checkpoint (unless using Image CFG scale = 1.0)"
113	
114	        if self.mask_before_denoising and self.mask is not None:
115	            x = self.init_latent * self.mask + self.nmask * x
assert_used: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Test ID: B101
Severity: LOW
Confidence: HIGH
CWE: CWE-703
File: /custom_nodes/efficiency-nodes-comfyui/py/ttl_nn_latent_upscaler.py
Line number: 96
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b101_assert_used.html
92	            2 * self.out_channels if use_scale_shift_norm else self.out_channels
93	        )
94	        if self.skip_t_emb:
95	            print(f"Skipping timestep embedding in {self.__class__.__name__}")
96	            assert not self.use_scale_shift_norm
97	            self.emb_layers = None
98	            self.exchange_temb_dims = False
99	        else: