{
  "id": 21424870,
  "title": "Auditing OpenAI Codex Desktop: 516-Token Cutoffs, Live 1 MiB Git Diffs, and Unzeroed SQLite",
  "url": "https://urgent.news/2026/11/23/auditing-openai-codex-desktop-516-token-cutoffs-live-1-mib-git-diffs",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-23T16:27:46.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/nehumorist/auditing-openai-codex-desktop-516-token-cutoffs-live-1-mib-git-diffs-and-unzeroed-sqlite-c48"
  },
  "original_language": "en",
  "account": "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.\n\nThe 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.\n\nA 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.",
  "summary": "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…",
  "key_points": [
    "OpenAI Codex Desktop imposes a 516-token token cutoff, ending reasoning abruptly",
    "Software captures 1 MiB of raw Git diff data without user consent",
    "SQLite databases in Codex Desktop contain unzeroed pages, risking data recoverability"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}