In July 2024, the developer Pedro José Pereira Vieito noticed something about OpenAI's ChatGPT app for macOS: it stored users' conversations locally in plaintext, in a location any other app on the machine could read. The press, including The Verge, covered the finding, which bypassed the operating system's own app-data protection.

The subtlety is in why the files were reachable. Apps distributed through the Mac App Store run inside Apple's App Sandbox, which walls their data off from other applications. OpenAI distributed the ChatGPT app directly from its own website, so it was not bound by that sandboxing requirement, and it stored conversation history in ~/Library/Application Support/com.openai.chat without adding encryption of its own.

Why that is a real problem

On a modern Mac, a user reasonably assumes one app cannot rifle through another's data. Here, any process running as the user (a second app, a malicious script, infostealer malware) could read the ChatGPT history from disk. Pereira Vieito described the problem in a Threads post. He also built a small proof-of-concept app that displayed the conversations in its own window.

ChatGPT's macOS App Stored Your Conversations in PlaintextDiagram with these labels, in reading order: CHATGPT APP; LOCAL DISK; THREAT; readable; ChatGPT macOS app; Saves chats in; plaintext,; unsandboxed; Any local app /; malware reads it; Secrets & code; exfiltrated; Bypasses OS sandbox; protection.CHATGPT APPLOCAL DISKTHREATreadableChatGPT macOS appSaves chats inplaintext,unsandboxedAny local app /malware reads itSecrets & codeexfiltratedBypasses OS sandboxprotection
Storing history in plaintext undoes the OS sandbox.
Why it matters: People paste secrets, source code, and confidential plans into chatbots. Storing that history unencrypted, outside the OS sandbox, turns any low-privilege malware on the machine into a data-exfiltration tool.

OpenAI's fix

OpenAI released an update that encrypts the locally stored conversations, and the proof-of-concept stopped working. Coverage mentioned no CVE; this was application behavior and not a cataloged vulnerability. The fix came within days of the public report. The episode shows that AI clients accumulate sensitive local data by default.

The threat model for an AI desktop client includes the network path to the provider, the data at rest on the endpoint, and the other software sharing that endpoint.

AI assistants have created a new kind of high-value local data. Infostealer malware already targets a browser's saved-password store, and conversation histories belong in the same tier: they often contain internal code, unreleased plans and credentials pasted for debugging. Users rarely think of a chat log as sensitive, so they neither clear it nor consider where it lives. Data-loss-prevention tooling tuned to files and attachments may miss a plaintext chat database in an application-support directory.

What defenders should take away

  • Encrypt AI conversation data at rest. Whether you build or buy an AI client, local history should be encrypted and access-controlled, not left in plaintext for any process to read.
  • Do not rely on assumptions the platform is not enforcing. An app distributed outside the App Store is not required to use the sandbox; if you ship one, add that protection yourself.
  • Account for local secrets in DLP and endpoint monitoring. Infostealers already hunt for browser and app data; AI chat histories are a rich new target.
  • Know which AI clients are installed. Unmanaged desktop AI apps are shadow endpoints holding sensitive conversation data you have not inventoried.

The ChatGPT macOS issue was simple in mechanism and broad in implication: an AI tool often keeps a pile of sensitive conversations on disk. Managing that risk begins with knowing which AI applications your people have installed and what they store.

Back to articlesRequest an assessment