subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
""" try: message_json = json.dumps(message, ensure_ascii=False) result = subprocess.run( command, shell=True, input=message_json,- Confidence
- 98% confidence
- Finding
- result = subprocess.run( command, shell=True, input=message_json, text=True, capture_output=True, timeout=30, # 30 seco
