os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
print(f"Saved to: {filepath}") if sys.platform == "darwin": os.system(f'open "{filepath}"') except Exception as e: print(f"Download failed: {e}", file=sys.stderr)- Confidence
- 91% confidence
- Finding
- os.system(f'open "{filepath}"')
