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 has no authentication: bind a unix socket by default or require a startup-minted token #223
agent:readyHuman-approved for autonomous work by ocsi-fixerenhancementNew feature or requestfix:pr-openocsi-fixer opened a PR for this ticketreleasedseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
No token, cookie or per-user check exists anywhere in the viewer request path (src/viewer/server.ts). The Host/Origin/CSRF layer is sound and should stay, but setting OPENCODE_VIEWER_HOST=0.0.0.0 - the documented way to reach the viewer from another machine - makes edit, delete, block and restore unauthenticated HTTP for the whole LAN, with the entire store as blast radius. The startup warning (shipped via #13) is good UX; it is not access control.
Fix direction
Bind a unix socket by default (no port, no LAN reach), or require a bearer token minted at startup and stored 0600 beside the store (depends on the store file-modes ticket). Keep the Host/Origin layer either way: it is the CSRF defence, not the auth layer.
osi-spec-hash: 0d48eb22a683a11b 2026-11-03T23:48:58Z - acceptance criteria frozen at this text. A later edit to the body changes this hash, and the reviewer will withhold approval until a maintainer replies spec ok.
agent:readyHuman-approved for autonomous work by ocsi-fixerenhancementNew feature or requestfix:pr-openocsi-fixer opened a PR for this ticketreleasedseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
Activity
ocsi-triager commentedon Nov 3, 2026
osi-spec-hash: 0d48eb22a683a11b 2026-11-03T23:48:58Z - acceptance criteria frozen at this text. A later edit to the body changes this hash, and the reviewer will withhold approval until a maintainer replies spec ok.
test(capture): session-scope the model-tag wait to kill the capture_l…
fix(viewer): serialize token init, validate every credential presenta…
fix(viewer): serialize corrupt-token recovery, tighten reused token f…
Merge pull request #277 from abogartz/fix-issue-223-20261103T2326Z
chore(release): 0.15.22 [skip ci]
abogartz-opencode-self-improvement commentedon Nov 4, 2026
🎉 This issue has been resolved in version 0.15.22 🎉
The release is available on:
Your semantic-release bot 📦🚀
abogartz-opencode-self-improvement commentedon Nov 4, 2026
🎉 This issue has been resolved in version 0.15.30 🎉
The release is available on:
Your semantic-release bot 📦🚀