Skip to content
HomeNewsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS

Follow AI Today Brief on LinkedIn for daily AI-engineering updates and the weekly “5 shifts that changed how developers work” PDF.

Explore

NewsDigestsConceptsGuides

Company

SubscribeAdvertiseAbout

Legal

Editorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Tools & releases/
  4. OpenAI Codex Desktop Bug Exfiltrates Private Local Model Chats via Memories Feature
Tools & releases

OpenAI Codex Desktop Bug Exfiltrates Private Local Model Chats via Memories Feature

A bug in OpenAI Codex Desktop app serializes local model chat transcripts and routes them to OpenAI backend servers during background memory syncs. This occurs even when telemetry and analytics are completely disabled. Developers running private models can prevent leaks by setting memories feature to false in their config.

August 31, 2026· 5 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated August 31, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
OpenAI Codex Desktop Bug Exfiltrates Private Local Model Chats via Memories Feature

Impact: High

Why it matters

Set [features] memories = false in your Codex configuration immediately if you use local models for private code.

TL;DR

  • 01Background memory generation in OpenAI Codex transfers local model transcripts to remote OpenAI endpoints.
  • 02Turning off OpenTelemetry or analytics exporters does not stop background memory inference calls.
  • 03Setting [features] memories = false in Codex configuration prevents cross-provider chat leakage.

Key facts

Affected Binary Version
0.150.0-alpha.12.2
Payload Limit Before Truncation
150,000 tokens
Endpoint Targeted
chatgpt.com/backend-api/codex/responses
Tested Mitigation
[features] memories = false

Unbounded Memory Selection Across Providers

The Codex desktop app memory worker (memories/write/src/runtime.rs) queries past rollouts using model_providers: None. Consequently, when an OpenAI session initiates memory synthesis, eligible local provider rollouts are serialized (phase1.rs) and sent through the active OpenAI client. Controlled network captures showed a 38,095-byte WebSocket frame containing 31,000 characters of memory instructions and 3,092 bytes of serialized local chat content sent to OpenAI.

Ineffective Telemetry Toggles and Limited Redaction

Disabling analytics ([analytics] enabled = false) and setting all OpenTelemetry exporters to none fails to block memory sync because memory generation is classified as model inference traffic rather than analytics. Furthermore, the built-in redact_secrets function only filters standard API key prefixes (like sk- or AKIA). It does not filter local file paths, proprietary code, emails, or internal credentials.

Required Configuration Fix

To halt data transmission to remote endpoints when working with air-gapped or local model providers, developers must explicitly disable the memories feature in their local Codex configuration file.

Try it in 2 minutes

[features]
memories = false

toml

✓ When to use

  • Disabling Memories in Codex when working with confidential local models
  • Audit local AI tool telemetry vs model request traffic

✕ When NOT to use

  • Assuming telemetry toggles block model-level background requests

What to do today

  • →Open your local Codex config file and add [features] memories = false.
  • →Review local model chat history for sensitive credentials or internal code.
  • →Verify outbound network connections from Codex desktop binaries using local proxy tools.

What the community says

  • “OpenAI sent me a 'cyber abuse' warning. No OpenAI-directed chat could have caused it... Codex Memories searches old chats without restricting them to their original provider”

    — tmpnode on Hacker News

#OpenAI Codex#ChatGPT

Sources

  • GitHub Issue #41711: Private Chat Thread Exfiltration in OpenAI Codex
ShareShare on XShare on LinkedIn
Next story →Anthropic Unveils Model Hardware Standard for AI Agent Physical Device Control

Related stories

  • Tools & releasesAnthropic Adjusts Claude Code Standard Limits on September 14
  • Tools & releasesDeep Dive Into ChatGPT Work: Persistent Filesystem, Web Browser, and Cloud Deployments
  • Tools & releasesDebian Rejects Generative AI Ban, Permitting Responsible Model Use in Open Source
  • Tools & releasesClaude Code Silently Appends Session URLs to Commit Messages and Pull Requests

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.