Tainted flow: 'save_path' from os.getenv (line 240, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
# 写入文件 downloaded_bytes = 0 with open(save_path, "wb") as f: for chunk in response.iter_content(chunk_size=8192): if chunk: f.write(chunk)- Confidence
- 92% confidence
- Finding
- with open(save_path, "wb") as f:
