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

blacklist: Standard pseudo-random generators are not suitable for security/cryptographic purposes.
Test ID: B311
Severity: LOW
Confidence: HIGH
CWE: CWE-330
File: /custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py
Line number: 1436
More info: https://bandit.readthedocs.io/en/1.7.9/blacklists/blacklist_calls.html#b311-random
1432	                    weights.append(start + (end - start) * math.sin(i / n * math.pi / 2))
1433	                elif timing == "ease_out":
1434	                    weights.append(start + (end - start) * (1 - math.cos(i / n * math.pi / 2)))
1435	                elif timing == "random":
1436	                    weights.append(random.uniform(start, end))
1437	
1438	            weights[-1] = end if timing != "random" else weights[-1]
1439	            if end_frame < frames: