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

request_without_timeout: Requests call without timeout
Test ID: B113
Severity: MEDIUM
Confidence: LOW
CWE: CWE-400
File: /custom_nodes/comfy-ui-on-complete-email-me/oncomplete_email_me/nodes.py
Line number: 197
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b113_request_without_timeout.html
193	            pbar.update_absolute(step, images.shape[0])
194	            #when last image is processed, send email
195	            if step == images.shape[0]-1:
196	                if webhook_type == "GET":
197	                    response = requests.get(webhook_url, params={"message": message})
198	                else:
199	                    response = requests.post(webhook_url, json={"message": message})
200	
request_without_timeout: Requests call without timeout
Test ID: B113
Severity: MEDIUM
Confidence: LOW
CWE: CWE-400
File: /custom_nodes/comfy-ui-on-complete-email-me/oncomplete_email_me/nodes.py
Line number: 199
More info: https://bandit.readthedocs.io/en/1.7.9/plugins/b113_request_without_timeout.html
195	            if step == images.shape[0]-1:
196	                if webhook_type == "GET":
197	                    response = requests.get(webhook_url, params={"message": message})
198	                else:
199	                    response = requests.post(webhook_url, json={"message": message})
200	
201	                # Print the status code of the response
202	                print('Status Code:', response.status_code)