Auditing OpenAI Codex Desktop: 516-Token Cutoffs, Live 1 MiB Git Diffs, and Unzeroed SQLite
Co-authored equally by Denis Vaulin ( GitHub · LinkedIn ) and Oleksii Mai ( GitHub · LinkedIn ). Interactive Forensic Report: nehumorist.github.io/codex-local-audit Offline Read-Only MIT Auditor (Node.js & Python): github.com/NeHumorist/codex-local-audit In October 2026, OpenAI Codex Desktop running in high / ultra reasoning mode started dropping reasoning output and hiding reasoning summaries…
OpenAI Codex Desktop, a locally-run AI coding assistant, exhibited several concerning issues during a forensic audit. The 516-token token cutoff wall appeared to be deliberate rather than a quota limit or tokenizer quirk, with reasoning output abruptly ending at exactly 516 tokens. This pattern persisted across different datasets and environments, spanning both Windows and macOS systems. Additionally, the assistant began hiding reasoning summaries and silently switched to non-detailed summaries without any client updates.
The audit also revealed that the software quietly captures and sends 1 MiB of raw Git diff data between turns, even when users have opted out of telemetry. This information was found in the app.asar file and was consistently captured across different systems. Furthermore, the report found that the program is scraping Windows Explorer's UserAssist keys, cataloging installed applications, and storing this data locally in the Codex directory. This data retention raises privacy concerns, as users were unaware of this activity.
A significant discovery was that SQLite stores within the Codex Desktop directory show no signs of secure deletion. Both queue_1.sqlite and logs_2.sqlite contain large amounts of unzeroed pages, indicating that sensitive data may still be recoverable. This finding is particularly concerning in the context of GDPR compliance, as the official export archives did not include these SQLite databases, despite reporting no omissions.
The report concludes by providing a simple, read-only method for users to perform their own audits on their own machines, ensuring transparency and accountability.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to