#512 The offline editor writes a timeline’s title to localStorage
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#512
- issue
- state:closed
**A timeline's title is written to localStorage, which other local pages can read** - **Severity:** Informational. It is a small privacy leak that only happens after a specific user action. - **Location:** `src/app.ts:2380-2382`, where `capacityTimeline()` returns `'memory:' + model?.title`, and `src/app.ts:2478-2489`, where it is stored on dismissal. - **Description:** The guest docs promise "in memory only", and no IndexedDB drafts are written offline (`memoryOnly()`, `src/app.ts:914`, gates `persistDraft`/`showDrafts`; verified). But dismissing the capacity notice stores the timeline's title, so for an 'in memory' timeline the string `memory: |browser…` goes into `och-capacity-dismissed`. In Chromium any file:// page can read it (see finding 1). The notice only appears for large or slow timelines. The other offline keys hold only a theme choice and a view-mode flag. - **Suggested fix:** Key the dismissal by a hash of the title, or keep dismissals in memory in the offline build. - **Confidence:** Confirmed by code. The storage sharing was confirmed in Chromium; the dismissal itself was not exercised. --- From the security review of 2026-11-06 (commit 6776c44), finding I-11: hardening or information, filed publicly because it describes no way in. The exploitable findings are private security advisories. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/512
Related
Open #512 The offline editor writes a timeline’s title to localStorage in the timeline