WebpronewsAI & LLMs

OpenAI's Mac App Stored Chat Logs in Plain Text, Exposing Basic Security Flaw

A recent discovery about OpenAI's ChatGPT desktop application for macOS reveals a significant lapse in client-side security engineering. For months after its May 2024 release, the app wrote all user conversations directly to the filesystem as plain text. Stored in an accessible directory, these logs required no special privileges for other processes to read, a design decision that bypassed fundamental platform security practices.

The flaw, highlighted by developer Pedro José Pereira Vieito, underscores a system design trade-off. By distributing the app outside the Mac App Store, OpenAI avoided Apple's mandatory sandboxing. This choice is common for developer tools but necessitates implementing robust, independent data protection—which OpenAI initially omitted. Vieito demonstrated the risk by building a simple application that could read these conversations in real time, showing how any local malware or script could harvest sensitive data.

OpenAI has since released an update that encrypts the stored conversations. However, the company did not issue a formal security advisory or CVE, a move that has drawn criticism from practitioners who value transparent disclosure, especially for enterprise-facing tools. The incident points to a recurring tension in AI application development: teams often prioritize model integration and user experience over the meticulous hardening of the local client environment.

For engineering teams, this serves as a concrete reminder. When handling high-value data like code, business strategy, or personal communications, the architecture must enforce encryption at rest by default, regardless of distribution channel. The fix may be straightforward, but the initial oversight suggests internal security reviews failed to catch a vulnerability that would be flagged in any basic threat model. As AI applications become more pervasive, their attack surface expands, making these foundational security practices non-negotiable.

Source: Webpronews

← Back to News