Metrics:
Total lines of code: 232
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/cg-image-picker/image_chooser_preview.py
Line number: 30
More info: https://bandit.readthedocs.io/en/1.7.9/blacklists/blacklist_calls.html#b311-random
26	        }
27	
28	    @classmethod
29	    def IS_CHANGED(cls, mode, id, **kwargs):
30	        if (mode[0]!="Repeat last selection" or not id[0] in cls.last_ic): cls.last_ic[id[0]] = random.random()
31	        return cls.last_ic[id[0]]
32	
33	    def func(self, id, **kwargs):