Tainted flow: 'raw_text' from requests.post (line 285, network input) → pathlib.Path.write_text (file write)
Medium
- Category
- Data Flow
- Content
) path = Path(config["raw_output_path"] or "/tmp/opentargets-associated-diseases.json") path.parent.mkdir(parents=True, exist_ok=True) path.write_text(raw_text, encoding="utf-8") raw_output_path = str(path) if disease_filter and not filtered_rows:- Confidence
- 93% confidence
- Finding
- path.write_text(raw_text, encoding="utf-8")
