Tainted flow: 'raw_text' from requests.post (line 109, network input) → pathlib.Path.write_text (file write)
Medium
- Category
- Data Flow
- Content
raw_text = json.dumps(data, indent=2) path = Path(config["raw_output_path"] or "/tmp/gnomad-graphql.json") path.parent.mkdir(parents=True, exist_ok=True) path.write_text(raw_text, encoding="utf-8") raw_output_path = str(path) if "errors" in data:- Confidence
- 92% confidence
- Finding
- path.write_text(raw_text, encoding="utf-8")
