Tainted flow: 'url' from requests.post (line 75, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
def download_file(url, output_path): resp = requests.get(url, stream=True, timeout=60) resp.raise_for_status() with open(output_path, "wb") as f: for chunk in resp.iter_content(chunk_size=8192):- Confidence
- 92% confidence
- Finding
- The script downloads arbitrary URLs returned by the remote Atlas API without validating scheme, host, or destination. If the API is compromised or malicious, this can be abused for server-side request forgery-like behavior from the local machine, unexpected access to internal network resources, or downloading untrusted content from attacker-controlled hosts.
