Tainted flow: 'CONFIG_FILE' from os.environ.get (line 26, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
} STORAGE_PATH.mkdir(parents=True, exist_ok=True) with open(CONFIG_FILE, 'w') as f: json.dump(config, f, indent=2) os.chmod(CONFIG_FILE, 0o600)- Confidence
- 92% confidence
- Finding
- with open(CONFIG_FILE, 'w') as f:
