[Bug] IS_DEMO=1 flag not preventing PII exposure in project context

Resolved 💬 5 comments Opened Jan 17, 2026 by arunsathiya Closed Feb 27, 2026

Bug Description
I have IS_DEMO=1 set, but this project is displaying my email address and name. Another project doesn't leak ~/portfolio. Why is there a difference between projects?

<img width="1544" height="562" alt="Image" src="https://github.com/user-attachments/assets/3b62df19-60ba-4e3f-a24f-c0ef55e21e27" />

<img width="823" height="327" alt="Image" src="https://github.com/user-attachments/assets/db81ab85-9187-46f6-8bcf-93f5058ca5c8" />

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.9
  • Feedback ID: 6bbe89ad-c9c8-4bd1-a51c-2a3295be1a0d

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/arun/.local/share/claude/versions/2.1.9 (expected in multi-process scenarios)\n    at BER (/$bunfs/root/claude:3355:2091)\n    at HFA (/$bunfs/root/claude:3355:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-17T15:57:48.325Z"},{"error":"Error: 1P event logging: 22 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:691:2081)\n    at async doExport (/$bunfs/root/claude:691:1259)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-17T15:57:53.420Z"},{"error":"Error: {\"message\":\"Failed to export 22 events\",\"originalLine\":\"691\",\"originalColumn\":\"1338\",\"line\":\"691\",\"column\":\"1338\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 22 events\\n    at doExport (/$bunfs/root/claude:691:1338)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2354:25029)\n    at <anonymous> (/$bunfs/root/claude:685:36350)\n    at tVD (/$bunfs/root/claude:685:36894)\n    at <anonymous> (/$bunfs/root/claude:686:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-17T15:57:53.420Z"},{"error":"Error: 1P event logging: 1 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:691:2081)\n    at async doExport (/$bunfs/root/claude:691:1259)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-17T15:58:27.414Z"},{"error":"Error: {\"message\":\"Failed to export 1 events\",\"originalLine\":\"691\",\"originalColumn\":\"1338\",\"line\":\"691\",\"column\":\"1338\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 1 events\\n    at doExport (/$bunfs/root/claude:691:1338)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2354:25029)\n    at <anonymous> (/$bunfs/root/claude:685:36350)\n    at tVD (/$bunfs/root/claude:685:36894)\n    at <anonymous> (/$bunfs/root/claude:686:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-17T15:58:27.414Z"}]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗