Tainted flow: 'CONFIG_FILE' from os.environ.get (line 12, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
def write_config(data): CONFIG_DIR.mkdir(parents=True, exist_ok=True) with open(CONFIG_FILE, "w", encoding="utf-8") as f: json.dump(data, f, indent=2, ensure_ascii=False)- Confidence
- 84% confidence
- Finding
- with open(CONFIG_FILE, "w", encoding="utf-8") as f:
