Cross-Platform Forensic Audit · November 2026

We tore open OpenAI Codex. 516-token cutoffs, 1 MiB git diffs, and unzeroed local databases.

In October 2026, Codex Desktop in ultra mode started burning quota faster while dropping reasoning and hiding summaries. Instead of speculating, we unpacked local ~/.codex/ logs, SQLite files, two official EU GDPR exports, and signed Windows and macOS client binaries alongside public Rust source. codex-local-audit is our zero-dependency MIT offline tool so anyone can verify their own machine in 5 seconds.

Co-Authors & Researchers
Denis Vaulin @NeHumorist
Oleksii Mai @alekseimai

The 516-Token Cutoff Wall

Not a rate limit: 71.2% of exact 516 cutoffs happened below 80% quota, with ciphertext correlation r = 0.99538 and harmonics at 518k − 2 (1034, 1552, 2070).

Bucket516 tokens
Calls1,498
8,036 B median ciphertext · 1 block hard wall
Drag or flick across bars · switch datasets mid-motion Quota inflation: +18.9% (5h) · +36.0% (7d) · #30364 closed in 80s with 0 replies

1 MiB Raw git diff While Opted Out

codex_turn_diff_event in signed app.asar collects up to 1,048,576 bytes of raw diffs on turn completion, interruption, or error. Scroll or select each artifact below.

Official OpenAI Export · user_settings.json Server-verified EU account

Binary, Registry & Storage Forensics

Cross-verified across signed Windows (26.1111.2228.0) and macOS (26.1111.71704) packages, live disk artifacts, and public openai/codex source (HEAD 4360c5f8).

tK(e) → {}

Plaintext BIOS Serial & Local Log Redaction

On Windows, eOT calls native readSystemSerialNumber() and sends unhashed systemSerialNumber behind Statsig gate 1259783540, while local sanitizer tK(e) strips the payload to {} before writing the debug log.

Win 0xa9a2aa · 0x1fea9627 · macOS 0x1fe9aa7b (gate inactive on test host)
82 apps

UserAssist ROT13 Scraper & Competitor Scans

Embedded PowerShell decodes Windows Explorer launch history into user-assist.json (82 non-OpenAI programs recorded on disk), alongside 102 live scans of ~/.claude and .cursor and 2,267 devicecheck calls.

app.asar Win 0xd0c1d7 · macOS 0xc9c4bf · Live execution confirmed
98.6%

Zero PRAGMA secure_delete & Broken Deletion

Zero calls to PRAGMA secure_delete across 10,502 files. queue_1.sqlite retains 98.6% unzeroed freelist at 0 live rows (59 carved prompts in WAL); delete_thread skips thread_history_1.sqlite; raw Opus audio sits unencrypted for 54 to 78 days.

threads.rs:1257-1317 · queue_1.sqlite · logs_2.sqlite · dictation-history
66 ports

Plaintext Auth & Broad OS Privileges

credential_masking is hardcoded false and secret auth storage skips Windows, leaving auth.json plaintext. Signed manifests declare 66 inbound Firewall rules and silent Office takeover on Windows, plus no App Sandbox, ATS off, 8 browser hosts, and a persistent root plugin on macOS.

AppxManifest.xml · Info.plist · 0 UI analytics toggles · preventAllNetworkTraffic: !1
0 of 1,500

GDPR Exports: Hidden Profiles & Missing Codex

Two independent EU exports omitted all 1,500 Codex sessions while reporting omissions: [], kept uploaded files at ttl: -1 (394 of 394 on Windows), and revealed 3 undisclosed high-confidence behavioral profiling dossiers per user.

user_settings.json · library_files.json · conversation_summaries.json

Explicitly Ruled Out

Ten alarming symbols and viral claims we source-checked and deliberately excluded.

Verify Your Machine in 5 Seconds

Zero-dependency Node.js and Python 3 scripts with identical JSON parity across all 11 audit sections.

MIT License · Windows, macOS & Linux
git clone https://github.com/NeHumorist/codex-local-audit.git
cd codex-local-audit

# Node.js 22.15+ or 24+ (zero dependencies)
node audit_codex.mjs

# or Python 3.10+ (exact JSON parity)
uv run --with zstandard python audit_codex.py
100% Read-OnlyOpens every SQLite database strictly in read-only mode.
Zero Network CallsRuns strictly offline with zero HTTP or socket imports.
Zero Credential Readsauth.json is never opened or parsed (size check only).
Zero Content LeakageNever prints prompts, code, app names, paths, or emails.