You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
viewer: startup warning when OPENCODE_VIEWER_ALLOWED_HOSTS exposes the store beyond loopback #13
Rescoped 2026-10-26: the documentation half of this issue shipped; the startup warning did not.
Shipped: README now warns loudly — "Listing a non-loopback host serves the store over plain HTTP with no authentication — only do it on a network you control" (Surfaces section), and OPENCODE_VIEWER_ALLOWED_HOSTS is documented in the options table.
Remaining: when the viewer starts with OPENCODE_VIEWER_ALLOWED_HOSTS containing a non-loopback host, emit a visible startup warning (stderr line, same fail-visible convention as the capture-model warning). Today the operator configures exposure with no runtime signal that the store is being served unauthenticated.
Original finding (2026-10-21 security review): the viewer's Host/Origin guards are the only auth boundary; beyond loopback the store becomes readable/writable over plain HTTP by anyone who can reach the port.
changed the title [-]viewer: OPENCODE_VIEWER_ALLOWED_HOSTS beyond loopback is unauthenticated exposure — document loudly[/-][+]viewer: startup warning when OPENCODE_VIEWER_ALLOWED_HOSTS exposes the store beyond loopback[/+]on Oct 27, 2026
Claiming the remaining startup-warning work. I will add a visible stderr warning for non-loopback OPENCODE_VIEWER_ALLOWED_HOSTS entries, with focused coverage of loopback-only and exposed configurations. No access-policy change intended. Please redirect if this overlaps work in progress.
Activity
[-]viewer: OPENCODE_VIEWER_ALLOWED_HOSTS beyond loopback is unauthenticated exposure — document loudly[/-][+]viewer: startup warning when OPENCODE_VIEWER_ALLOWED_HOSTS exposes the store beyond loopback[/+]WhollyMindless commentedon Oct 30, 2026
Claiming the remaining startup-warning work. I will add a visible stderr warning for non-loopback OPENCODE_VIEWER_ALLOWED_HOSTS entries, with focused coverage of loopback-only and exposed configurations. No access-policy change intended. Please redirect if this overlaps work in progress.
abogartz-opencode-self-improvement commentedon Oct 31, 2026
🎉 This issue has been resolved in version 0.14.28 🎉
The release is available on:
Your semantic-release bot 📦🚀