Tainted flow: 'ENV_FILE' from os.environ.get (line 41, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
ensure_dirs() if os.path.exists(ENV_FILE): return with open(ENV_FILE, "w", encoding="utf-8") as f: f.write(ENV_TEMPLATE) print( f"📝 已创建配置文件:{ENV_FILE}\n"- Confidence
- 83% confidence
- Finding
- with open(ENV_FILE, "w", encoding="utf-8") as f:
