- Replace direct file creation with atomic temp file + rename pattern - Add path validation to prevent writing to sensitive system directories - Set proper file permissions (0644) on exported files - Maintain backward compatibility and JSONL export functionality - Reduce ransomware heuristic triggers through safer file operations
4.4 KiB
4.4 KiB