subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
for cmd in commands: try: proc = subprocess.run( cmd, shell=True, capture_output=True, text=True, timeout=120, cwd=os.path.dirname(contract_path) or os.getcwd() )- Confidence
- 98% confidence
- Finding
- proc = subprocess.run( cmd, shell=True, capture_output=True, text=True, timeout=120, cwd=os.path.dirname(contract_path) or os.getcwd() )
