subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
return False, "auto_fix needs job_id, skipped" try: result = subprocess.run( ["powershell", "-Command", auto_fix], capture_output=True, text=True, timeout=30, encoding="utf-8", errors="replace"- Confidence
- 99% confidence
- Finding
- result = subprocess.run( ["powershell", "-Command", auto_fix], capture_output=True, text=True, timeout=30, encoding="utf-8", errors="replace" )
