Tainted flow: 'git_url' from os.getenv (line 47, credential/environment) → subprocess.run (code execution)
Medium
- Category
- Data Flow
- Content
# 克隆仓库(获取所有分支信息) git_url = f"https://oauth2:{token}@codeup.aliyun.com/{project_path}.git" print(f"📥 正在克隆项目 {repo_name}...") subprocess.run( ['git', 'clone', '--quiet', '--no-tags', git_url, repo_path], check=True, capture_output=True,- Confidence
- 93% confidence
- Finding
- subprocess.run( ['git', 'clone', '--quiet', '--no-tags', git_url, repo_path], check=True, capture_output=True, timeout=120 )
