Tainted flow: 'html' from pathlib.Path.read_text (line 306, file read) → pathlib.Path.write_text (file write)
Medium
- Category
- Data Flow
- Content
if args.html_path: html = build_html(reports, theme=args.theme) html_path = Path(args.html_path) html_path.write_text(html) print(f"HTML digest written to {html_path} (theme: {args.theme})") if args.json_path: json_payload = build_json_document(reports)- Confidence
- 93% confidence
- Finding
- html_path.write_text(html)
