os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
cmd = cmd.replace(f"OFFSET{i}", f"{offset_val:.2f}") print(f" xfade chain: {n} clips, {n-1} transitions") ret = os.system(cmd) if ret != 0: print(" xfade failed -> fallback to simple concat") return concat_simple(clip_paths, output_path, output_dir)- Confidence
- 98% confidence
- Finding
- ret = os.system(cmd)
