os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
try: title = "Backtest Poller" message = f"Backtest {bt.name} finished ({bt.status})" os.system( f"""osascript -e 'display notification "{message}" with title "{title}"'""" ) logger.info(f"Notification sent: {message}")- Confidence
- 98% confidence
- Finding
- os.system( f"""osascript -e 'display notification "{message}" with title "{title}"'""" )
