subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def clone_repo(url: str, staging_dir: str): subprocess.run( ["git", "clone", "--depth", "1", url, staging_dir], check=True, capture_output=True, text=True, )- Confidence
- 86% confidence
- Finding
- subprocess.run( ["git", "clone", "--depth", "1", url, staging_dir], check=True, capture_output=True, text=True, )
