macOS Codex leaks ChatGPT history by bypassing TCC permissions

mer__edith · x · 2026-08-24

Highlights a security and privacy vulnerability in the macOS version of Codex. Although macOS's TCC mechanism should prevent direct access to Messages contents, Codex stores its history in /Users/$USER/.codex/sessions, allowing users to access sensitive content generated by ChatGPT. This reflects deeper security issues in the current Agent hype, where connecting disparate services threatens to break the barrier between the application layer and the OS layer.

Original post →

More from coding & agent

coding & agent channel →