Tainted flow: 'OUTPUT_FILE' from os.getenv (line 15, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
} # 保存 with open(OUTPUT_FILE, "w", encoding="utf-8") as f: json.dump(report, f, ensure_ascii=False, indent=2) print(f"\n✅ 日报已保存: {OUTPUT_FILE}")- Confidence
- 84% confidence
- Finding
- with open(OUTPUT_FILE, "w", encoding="utf-8") as f:
