Tainted flow: 'image_url' from os.getenv (line 162, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
def download_image(image_url: str, output_path: Path) -> None: output_path.parent.mkdir(parents=True, exist_ok=True) with urllib.request.urlopen(image_url) as response: output_path.write_bytes(response.read())- Confidence
- 94% confidence
- Finding
- with urllib.request.urlopen(image_url) as response:
