Tainted flow: 'OUTPUT' from os.environ.get (line 31, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
sys.exit(2) # 保存 with open(OUTPUT, 'w', encoding='utf-8') as f: json.dump(all_data, f, ensure_ascii=False, indent=2) sycm_list = all_data.get('data', {}).get('sycm', [])- Confidence
- 84% confidence
- Finding
- with open(OUTPUT, 'w', encoding='utf-8') as f:
