Tainted flow: 'filepath' from requests.post (line 363, network input) → open (file write)
Medium
- Category
- Data Flow
- Content
response = requests.get(url, timeout=30) response.raise_for_status() with open(filepath, 'wb') as f: f.write(response.content) return (True, filepath) except Exception as e:- Confidence
- 88% confidence
- Finding
- with open(filepath, 'wb') as f:
