Incident report
ChatGPT macOS Desktop App Storing Unencrypted Plaintext Chat Logs Outside Sandbox
On July 3, 2024, developer Pedro Jose Pereira Vieito publicly demonstrated that OpenAI's official ChatGPT macOS desktop application bypassed Apple's App Sandbox and stored complete user conversation histories in unencrypted plaintext JSON files inside `~/Library/Application Support/`. Because the app was distributed outside the Mac App Store without sandbox container protections, any other unprivileged process or commodity info-stealer running on a user's Mac could silently read every past prompt, pasted source file, and private conversation without triggering macOS TCC privacy prompts. OpenAI acknowledged the finding and shipped an immediate update the same day encrypting locally cached conversations.
Incident record
- Reported
- Severity
- Medium
- Vector
- Data Exfiltration
- Affected system type
- Native Desktop LLM Client Applications
- Reference URI
https://www.theverge.com/2024/7/3/24191636/openai-chatgpt-macos-app-plain-text-encryption-update
Defensive lesson
Enforce OS application sandboxing and at-rest Keychain-backed encryption for all local AI client conversation caches and memory databases.
Referenced techniques
- Data from Local System AML.T0037
- Data from AI Services: Conversation Context and Memory AML.T0085.002
- Machine Compromise: Local AI Agent AML.T0112.000