#510 The hosted offline copy shares the openchronology.github.io origin and publishes every main commit
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#510
- issue
- state:closed
**The hosted copy shares the openchronology.github.io origin and is published from every main commit** - **Severity:** Informational. This is about trust and integrity boundaries, not a defect in the code. - **Location:** `.github/workflows/pages.yml:41-71`. It copies `dist/openchronology-offline*.html` to `openchronology/openchronology.github.io` on every push to `main`, not only on releases. - **Description:** - The organization pages origin `https://openchronology.github.io` is also the origin of every project site at `openchronology.github.io/ /`. Any such page is same-origin with the editor. It can read and write its localStorage (see finding 1). It can also script an editor window or frame it opened, including reading a timeline the user imported there. - A meta CSP cannot set `frame-ancestors`, and GitHub Pages sends no `X-Frame-Options`, so any site can frame the hosted editor. This allows clickjacking, though the gain is small because nothing is persisted or sent anywhere. - Users of the hosted copy run unreleased `main`, with no checksum to compare against. - **Suggested fix:** - Keep project Pages disabled for the other repositories in the organization, or serve the editor from a dedicated domain. - Consider publishing only tagged releases. - Optionally add a frame-busting check: `if (top !== self)`, refuse to run or show a warning. - **Confidence:** Likely. Whether other repositories in the organization have Pages enabled could not be checked offline. --- From the security review of 2026-11-06 (commit 6776c44), finding I-9: 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/510