os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
try: # Try notify-send (Linux) urgency_map = {'low': 'low', 'normal': 'normal', 'critical': 'critical'} os.system(f'notify-send -u {urgency_map.get(urgency, "normal")} "{title}" "{message}"') except: print(f"[NOTIFICATION] {title}: {message}")- Confidence
- 98% confidence
- Finding
- os.system(f'notify-send -u {urgency_map.get(urgency, "normal")} "{title}" "{message}"')
