An Enterprise ZDR user opened Claude Code and saw responses from someone else's session — a Minecraft temple build. The bug is now public, and it raises real questions about isolation promises.
What happened
On July 4, 2026, a developer logged into Claude Code on an Enterprise Zero Data Retention (ZDR) workspace. Within minutes, the assistant started answering questions about building a Minecraft temple — except the developer had never asked about Minecraft. The content was clearly from a different user's session, bleeding across the isolation boundary.
They filed it as issue #74066 on the anthropics/claude-code GitHub repo. It reached the front page of Hacker News the same day. Anthropic has not published a public root-cause analysis yet.
Why Enterprise is supposed to mean something
ZDR — Zero Data Retention — is Anthropic's strongest privacy tier. Customers in finance, healthcare, and defense pay a premium for the promise that prompts and responses are not stored, logged, or used for training. The architecture is supposed to enforce strict isolation between workspaces.
When that wall breaks, the marketing promise breaks with it. A single confirmed leak of a stranger's session into a corporate workspace is the kind of incident that forces a legal review and a procurement pause.
Three plausible causes
The community discussion has converged on three likely failure modes:
- A shared cache layer. Two different workspaces could hit the same cache entry if the cache key was computed from something less specific than the workspace ID — for example, a model version and prompt prefix. The user sees a stranger's response, but the system thinks it served from a local cache.
- A routing bug after authentication. A misrouted request to the wrong workspace queue would return a response that is technically valid for that queue but belongs to a different tenant.
- A session-handling regression in the CLI itself. If the local session pointer got cross-wired with another open session on the same machine, the conversation framing would be wrong even though the response came from Anthropic's servers.
The cache hypothesis fits the reported pattern most cleanly.
What this means for everyday users
If you are not on an Enterprise plan, this still affects you. The Enterprise workspace is usually a configuration on top of the standard product, not a fork. Bugs that cross workspace boundaries in ZDR often hint at softer issues in regular sessions.
The broader lesson: never paste anything into an AI tool that you would not want surfaced in another user's session. Treat every prompt as if it might appear in someone else's terminal tomorrow.
⚡ Try it yourself
- Open Claude Code with the `--no-cache` flag if available in your version.
- Audit your `.claude/` directory and session logs. Delete anything containing real customer data, internal URLs, or secrets.
- For teams, add a pre-commit hook or CI check that greps your local AI session files for credential patterns. Treat the local session directory like an `.env` file.
Do this once, today, before you forget.
📚 Sources
- GitHub issue #74066 — anthropics/claude-code
- Hacker News discussion thread
- Anthropic Zero Data Retention documentation
- TechCrunch coverage
Arabic version
Claude Code سرّب سيشن غريب جوّا مساحة Enterprise — شو صار
مستخدم ع Enterprise ZDR فتح Claude Code وشاف ردود من سيشن حدا غريب — بناء معبد ماينكرافت. الخلل صار معلن، وبيطرح أسئلة جدّية عن وعود العزل.
شو اللي صار
بتاريخ 4 تموز 2026، مطوّر فتح Claude Code ع مساحة عمل Enterprise Zero Data Retention (ZDR). خلال دقايق، المساعد بلّش يجاوب عن بناء معبد Minecraft — مع إنو هالمطوّر ما سأل أبداً عن Minecraft، ولا حدا من فريقه سأل. المحتوى كان واضح إنو من سيشن مستخدم ثاني، تسرّب عبر حد العزل المفترض.
المطوّر رفع الموضوع كـ issue #74066 ع مستودع anthropics/claude-code. خلال يوم، الموضوع وصل لـ 14 تعليق وتصدّر الصفحة الرئيسية لـ Hacker News. Anthropic لحد هلأ ما نشرت تحليل سبب جذري رسمي، بس الموضوع لسا مفتوح وعم ينحكى.
ليش كلمة Enterprise لازم تعني فعلاً
ZDR — Zero Data Retention — هي أعلى مستوى خصوصية عند Anthropic. الشركات بالقطاع المالي والصحي والدفاعي بيدفعوا زيادة ع الوعد الصريح إنو البرومبتات والردود ما بتتخزّن، ما بتُسجّل، وما بتُستخدم للتدريب. المعمارية مفروض تفرض عزل صارم بين مساحات العمل، بحيث سيشن A بمساحة X ما بيقدروا يأثّروا ع سيشن B بمساحة Y ولا يتسربوا إلها.
لمّا هالجدار ينكسر، الوعد التسويقي بينكسر معه. عملاء Enterprise ما بيشتروا Claude Code لأنه ذكي — بيشتروه لأنو حدلهم إنو بياناتن بتضل بصندوق مقفول. تسرّب واحد مؤكّد لسيشن غريب جوّا مساحة عمل شركة هو نوع الحادثة يلي بتخلّي الفريق القانوني يعمل مراجعة وبتوقّف المشتريات.
ثلاث احتمالات منطقية لازم تعرفها
النقاش بالمجتمع توجّه لثلاث احتمالات مرجّحة، مرتّبة حسب الاحتمال:
- طبقة كاش مشتركة. لتوفير تكلفة الحساب، كتير منتجات AI بتخزّن ردود جزئية ع مستوى البنية التحتية. إذا كان مفتاح الكاش محسوب من شي أقل دقة من رقم مساحة العمل — مثلاً نسخة النموذج وبادئة البرومبت — ممكن مساحتي شغل مختلفين يضربوا نفس مدخل الكاش. المستخدم بشوف رد الغريب، بس النظام فاكر إنو خدم من كاش محلي.
- خطأ توجيه بعد المصادقة. إذا لود بالانسر أو بروكسي وحّه الطلب لطابور مساحة شغل غلط، الرد بيكون صالح تقنياً لهالطابور بس يعود لمستأجر ثاني بالكامل.
- تراجع معالجة سيشن بالـ CLI نفسه. Claude Code بيشتغل محلياً؛ إذا مؤشّر السيشن المحلي التفّ ع سيشن مفتوح آخر ع نفس الجهاز، رد النموذج لسا بييجي من سيرفرات Anthropic، بس تأطير المحادثة بيكون غلط.
مهندسين Anthropic ما أكّدوا أي واحد من هدول. بس النمط — معبد Minecraft يظهر بمساحة عمل شركة — بيناسب فرضية الكاش أكتر من غيرها.
شو يعني هاد لمستخدمن عادي
إذا إنت مش ع خطة Enterprise، ممكن تفكّر إنو هالشي ما بيهمّك. بيهمّك بطريقتين.
أولاً، نفس فرق الهندسة بتطلق نفس مسارات الكود. مساحة الـ Enterprise غالباً هي إعدادات فوق المنتج الأساسي، مو مفترق. الأخطاء يلي بتتخطّى حدود مساحات العمل بـ ZDR غالباً بتلمّح لمشاكل أخف بالحدود بالسيشنات العادية — مو دراماتيكية، بس حقيقية.
ثانياً، الدرس الأوسع: لا تلصق بأي أداة AI شي ما بدّك يطلع بسيشن مستخدم آخر. مقتطف مخزّن، أثر تسجيل، رد مغلوط التوجيه — أي واحد من هدول ممكن يطلّع محتوى كنت فاكر إنو خاص. تعامل مع كل برومبت متل لو ممكن يظهر بطيرفية حدا غريب بكرا.
⚡ جرّبها بنفسك
أسرع طريقة تحمي حالك فيها هلأ:
- افتح Claude Code مع `--no-cache` إذا متوفّر بنسختك، أو تأكّد من إعدادات الـ client عندك بند مكافئ.
- راجع مجلد `.claude/` وأي ملفات سيشنات ع جهازك. امسح أي شي فيه بيانات عملاء حقيقية، روابط داخلية، أو أسرار. إذا لصقت مرة مخطط قاعدة بيانات production بسيشن، هاللصق ممكن لسا عايش بملف محلي.
- لسير عمل الفريق، أضف pre-commit hook أو فحص CI بيفحص ملفات سيشنات AI المحلية عن أنماط بيانات حسّاسة (مفاتيح API، توكنات، أسماء أجهزة داخلية). تعامل مع مجلد السيشنات المحلي متل ما بتتعامل مع ملف `.env`.
- إذا كنت بتدير فريق بيشتغل على كود حسّاس، اطلب منهم يفتحوا سيشن جديد ونظيف من الـ CLI بعد ما يخلصوا من أي شي فيه أسرار. عادة بسيطة، بس بتفرق كتير.
اعمل هالشي مرة، هلأ، قبل ما تنساه. وقصة تسرّب السيشنات بتذكّرنا إنو الأمان الرقمي ما بيوقف عند الجدار يلي الشركة بتقولك عنّا — إنت كمان مسؤول عن الفلترة قبل ما ترسل.
📚 المصادر
- GitHub issue #74066 — anthropics/claude-code
- خيط نقاش Hacker News عن تسرّب Claude Code
- توثيق Anthropic لـ Zero Data Retention
- نقاش Hacker News للحادثة (48785485)