Tainted flow: 'file_path' from os.getenv (line 529, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
file_name = f"{event_id}.json" file_path = STORAGE_PATH / file_name with open(file_path, 'w', encoding='utf-8') as f: json.dump(file_content, f, ensure_ascii=False, indent=2) upsert_registry_event(- Confidence
- 91% confidence
- Finding
- with open(file_path, 'w', encoding='utf-8') as f:
