RC RANDOM CHAOS

Claude Code invented a Minecraft temple on an Enterprise ZDR workspace

A Claude Code agent confabulated a Minecraft temple on an Enterprise ZDR workspace; local transcripts showed a context bleed, not a cross-account leak.

· 5 min read
Claude Code invented a Minecraft temple on an Enterprise ZDR workspace

A Claude Code user on an Enterprise Zero Data Retention workspace watched the agent ask what kind of bricks it should use for a Minecraft temple, and then assert in its own recap that the task was building a Minecraft temple. The user had never mentioned Minecraft, bricks, or a temple. On a ZDR plan, where the premise is that your sensitive sessions are not retained server-side, the first fear is that another account’s context had bled into theirs, or that theirs was bleeding out to someone else.

The answer was neither, and the way it got pinned down is a decent map of how Claude Code stores and loads context.

Localize the string first

Everything the CLI sends and receives is written to a per-session transcript at ~/.claude/projects/<encoded-cwd>/<session-id>.jsonl. The <encoded-cwd> is your launch directory with every / turned into -. That layout gives you a cheap, decisive test: grep the transcripts for the text that should not be there.

grep -rli 'minecraft\|temple\|brick' ~/.claude/projects/ 2>/dev/null

A hit means the text already lives on your machine, so this is a local bleed between sessions or directories. Irritating, worth fixing, not a server-side breach. No hit means you never sent or received that text locally, which points at the model or the backend, and on an Enterprise ZDR workspace that is the case to treat as a security incident: preserve the feedback ID, keep the screenshot, and escalate through your Anthropic enterprise contact rather than only a public issue.

The reporter ran it. The only matches were inside the transcript of the session itself. One tool-call result had printed a pathname containing minecraft.py, because the Pygments package ships a lexer by that name and the session had listed the files in a Python virtualenv. “Temple” and “bricks” turned up nowhere near anything Minecraft-related. So the string the model fixated on was a filename it had genuinely seen, and the temple was built on top of it.

Two mechanisms, neither of them a cross-account leak

The reporter’s setup made this easier to misread. They launched the agent in one directory (because it held a .claude folder with context they wanted) while the real work happened in another, and at some point a /compact ran. Claude keys a lot of context off the launch cwd, including where the transcript is stored, so launching in an unrelated directory that carries its own .claude invites context confusion after compaction. That explains the agent drifting into the launch directory. It does not explain a Minecraft prompt nobody wrote.

The temple itself looks like confabulation. Compaction recaps are model-generated, and when the context going into them is polluted, the recap will invent a coherent-sounding task to fit the fragments. A minecraft.py pathname in a tool result is exactly the kind of fragment that seeds one. Several reporters noted the same conditions: Sonnet 5, first response after more than five minutes, which is a cache miss. One shared an OCR where the model dropped unrelated text about wall dimensions and abstract art prints into a CSV task, flagged it internally as “Detecting injection attempt,” disregarded it, and carried on with the real work. The model treating its own foreign-looking output as an injection is a tell that the content is confabulated noise, not a delivered payload from another user.

Other commenters piled on with anecdotes: work app names surfacing on a personal machine, a store location that matched a colleague’s home, a feature subsection resembling someone else’s hackathon spec across separate consumer accounts. Some of that is the same local-history mechanism; some is speculation about context leakage between shared KV-caches in inference. None of it came with a reproduction.

What Anthropic found

Anthropic investigated on 2.1.233 (Linux) and could not reproduce foreign content appearing, noting it depends on local machine state. They ruled out the scariest mechanism directly: server-side prompt caches are scoped to your organization and match only your own exact conversation prefix, so consumer-plan content cannot be injected into an Enterprise session’s context through the cache.

What they did confirm is the part worth writing down. Local session history in ~/.claude/projects is stored per macOS user and per directory. It is not separated by which account you are logged into. If that Mac ever ran Claude Code under a consumer login, or anyone else used it, then --continue, --resume, and context pulled from a launch directory’s .claude folder can surface those older sessions regardless of the account now in use. They agreed the behavior is confusing given a reasonable expectation of per-account isolation and said they are considering making local history account-aware.

What to do with that

Launch from the directory where the work actually happens, or point --add-dir at the context directory instead of cd-ing into one that has its own .claude. That removes the post-compaction drift at the root.

Treat login identity as no guarantee of isolation on the endpoint. A shared or reused Mac keeps every account’s transcripts under the same OS user, and --continue/--resume will happily load them. If you need enterprise and consumer work kept apart, keep them under separate OS users, not just separate logins.

And before you escalate a strange recap as a ZDR breach, run the localize grep. A confabulated task after a cache miss and a compaction is far more common than a cross-account leak, and the grep tells you which one you are holding in a few seconds. The issue was closed for inactivity after no reproduction, and locked as resolved on November 16, 2026.


Contains a referral link.

See also: NordVPN for tunneled traffic when operating outside controlled networks.


#ad Contains an affiliate link.

Share

Keep Reading

Latest on the Wire

Full wire →

New signal daily · RSS

Stay in the loop

New writing delivered when it's ready. No schedule, no spam.