Tainted flow: '_template' from open (line 35, file read) → shutil.copy (file write)
Medium
- Category
- Data Flow
- Content
# ── 复制模板(先删旧文件避免只读属性冲突) ── if os.path.exists(_new_project): os.remove(_new_project) shutil.copy(_template, _new_project) log(u'Copied template -> ' + _new_project) # ── 打开工程,置询等待加载(最长 30s) ──- Confidence
- 89% confidence
- Finding
- shutil.copy(_template, _new_project)
