subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
-d '{{"obj_type":"docx","parent_node_token":"{parent_token}","node_type":"origin","title":"{title}"}}' ''' result = subprocess.run(cmd, shell=True, capture_output=True, text=True) if result.returncode != 0: raise Exception(f"Failed to create node: {result.stderr}")- Confidence
- 99% confidence
- Finding
- result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
