2026-10-11 17:09 UTC

Independent testing and Anthropic’s response will determine whether Claude Code’s plaintext local session logs create a material sensitive-data exposure requiring stronger retention, encryption, or enterprise controls.

state: expiredheat: lowuncertainty: highknownscott: highagentic-security coding-agents agent-memoryAnthropicClaude Code

What is this?

Claude Code is Anthropic’s developer-facing coding agent, whose usefulness depends on access to local project context that may include source code, credentials, logs, transcripts, and configuration. A PSA alleges that Claude Code stores session histories—including pasted material—as plaintext JSON on disk, but the supplied snippets do not independently verify the storage behavior, location, retention period, permissions, or Anthropic’s response. The snippets support the broader concern that local agent environments create customer-side security and DLP obligations, while leaving the alleged exposure’s materiality unresolved.

Why it matters to Scott

Scott already treats coding-agent transcripts as valuable durable records that require deterministic redaction, tokenisation, and controlled storage, notably in “Code What Transcript Why” and the active Search Conversations archive. If confirmed, Claude Code’s plaintext retention directly affects that implementation and sharpens the security trade-off between preserving session history and preventing credentials or pasted sensitive data from becoming an unmanaged local archive.
ip:source.code-what-transcript-why-ebookip:source.observability-for-agentic-systems-what-to-log-how-to-redact-how-to-debug-ebookdev:project.search-conversationsdev:concept.privacy-tokenized-agent-boundaryradar:concept.coding-agent-securityradar:concept.ai-privacyradar:concept.agent-memoryradar:claude-code-denied-read-secret-bypass
queries asked of Scott's wikis
  • coding-agent transcript retention and deletion
  • local agent memory encryption at rest
  • secrets exposure through agent logs
  • enterprise controls for developer agents
  • shared-responsibility boundaries in agent harnesses
  • ephemeral versus persistent coding-agent context

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

no chain yet — the hourly chain pass fills this in

Evidence (5) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐PSA: your claude code sessions are on disk as plaintext json, including everything you ever pasted
ClaudeAI
CoderLuii472129
🟠 redditWilson's Survival Guide for August 7-14, 2026 now available!
ClaudeAI
ClaudeAI-mod-bot80
🟠 redditI built a Mac app to see what Claude Code is actually loading
ClaudeAI
SnooRadishes748109
🟠 redditI built a terminal pane that shows only my prompts and Claude's replies while Claude Code runs, so I stop scrolling back through tool output to find what it said
ClaudeAI
ringarc11
🟧 hnShow HN: Csift – the missing tool to sift your Claude Code sessionswdhwg00120

Interpretation history

Decision trace