ChatRecordingService creates session files and directories without explicit file permissions, relying on the default umask (typically 0644 for files and 0755 for directories on Linux). This makes conversation history readable by any local user on shared systems.
FileKeychain in the same codebase correctly uses mode: 0o700 for directories and mode: 0o600 for files when handling sensitive data.
ChatRecordingServicecreates session files and directories without explicit file permissions, relying on the default umask (typically 0644 for files and 0755 for directories on Linux). This makes conversation history readable by any local user on shared systems.FileKeychainin the same codebase correctly usesmode: 0o700for directories andmode: 0o600for files when handling sensitive data.