subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: with open(val_path, 'w') as vf: vf.write(value) result = subprocess.run( [python_path, script_path], capture_output=True, text=True, timeout=30 )- Confidence
- 91% confidence
- Finding
- result = subprocess.run( [python_path, script_path], capture_output=True, text=True, timeout=30 )
