os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
cmd = f"bash {script} {output_path}" if display_id: cmd = f"SV_DISPLAY={display_id} {cmd}" ret = os.system(cmd) return ret == 0 and os.path.exists(output_path)- Confidence
- 97% confidence
- Finding
- ret = os.system(cmd)
