subprocess module call
- Category
- Dangerous Code Execution
- Confidence
- 70% confidence
- Finding
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
- Content
python def run_tegrastats(): """运行 tegrastats""" try: result = subprocess.run( ['tegrastats', '--interval', '1000', '--stop'], capture_output=True, text=True,
