[GH-ISSUE #7914] [Feature]: Consistent access defaults across installers, Docker and updates #4347

Closed
opened 2026-10-22 04:05:53 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Gunterlie on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7914

Originally assigned to: @Gunterlie on GitHub.

Parent: #7909 (step 3)

What problem does this solve?

Launchers, installers, .env.example, Docker examples and the remote-access guide each carry access defaults. When they disagree, an install or an update can leave an installation more open than the owner expects.

Proposed solution

  • Review launchers, Windows/Android installers, .env.example, docker-compose.yml and the remote-access instructions together. Make their access defaults consistent where the deployment allows it.
  • Keep Docker's internal listener separate from host port publication. A container can need 0.0.0.0 inside while the published port stays on 127.0.0.1.
  • Keep remote access denied when authentication or trust configuration is incomplete or invalid. An unsafe override stays an explicit owner decision.
  • Give existing installations a clear explanation of unsafe settings and a recovery path through local administration. Do not silently overwrite credentials, firewall rules, proxy settings or deployment files during updates.

Acceptance

  • A fresh local installation works without opening unauthenticated remote access (each launcher/installer).
  • Unauthenticated clients cannot read chats, files, settings or provider data, and cannot trigger generation or host actions. Check direct API and streaming/socket paths, not only the page shell.
  • Invalid or partial auth/allowlist configuration does not broaden access.
  • Upgrade and recovery checks for local, private-network, authenticated remote, Android and PWA flows.
  • Release guidance for existing installations; docs and docs-i18n follow-up aligned.
Originally created by @Gunterlie on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7914 Originally assigned to: @Gunterlie on GitHub. Parent: #7909 (step 3) ## What problem does this solve? Launchers, installers, `.env.example`, Docker examples and the remote-access guide each carry access defaults. When they disagree, an install or an update can leave an installation more open than the owner expects. ## Proposed solution - Review launchers, Windows/Android installers, `.env.example`, `docker-compose.yml` and the remote-access instructions together. Make their access defaults consistent where the deployment allows it. - Keep Docker's internal listener separate from host port publication. A container can need `0.0.0.0` inside while the published port stays on `127.0.0.1`. - Keep remote access denied when authentication or trust configuration is incomplete or invalid. An unsafe override stays an explicit owner decision. - Give existing installations a clear explanation of unsafe settings and a recovery path through local administration. Do not silently overwrite credentials, firewall rules, proxy settings or deployment files during updates. ## Acceptance - [ ] A fresh local installation works without opening unauthenticated remote access (each launcher/installer). - [ ] Unauthenticated clients cannot read chats, files, settings or provider data, and cannot trigger generation or host actions. Check direct API and streaming/socket paths, not only the page shell. - [ ] Invalid or partial auth/allowlist configuration does not broaden access. - [ ] Upgrade and recovery checks for local, private-network, authenticated remote, Android and PWA flows. - [ ] Release guidance for existing installations; docs and docs-i18n follow-up aligned.
Author
Owner

@Gunterlie commented on GitHub (Oct 21, 2026):

@Gunterlie is taking this, with agents. Plan: a read-only audit of launchers, installers, Docker files, .env.example and docs for inconsistent access defaults and missing proxy/tunnel regression cases first; then focused fix PRs from its findings.

<!-- gh-comment-id:6310510660 --> @Gunterlie commented on GitHub (Oct 21, 2026): @Gunterlie is taking this, with agents. Plan: a read-only audit of launchers, installers, Docker files, `.env.example` and docs for inconsistent access defaults and missing proxy/tunnel regression cases first; then focused fix PRs from its findings.
Author
Owner

@Gunterlie commented on GitHub (Oct 30, 2026):

Audit against staging (d3dc9d835): the code side is done — fresh installs, all request paths (API, SSE, media, page shell) and partial/invalid config keep remote clients at 403 without a login.

Remaining:

  • Docs and mobile lockout recovery: #8510 (docs-i18n follow-up #8511).
  • A regression that runs the real buildApp() hook chain: in progress.
  • Docker gateway trust when the port is published beyond loopback: split into #8512.

This issue can close when #8510 and the regression PR merge.

<!-- gh-comment-id:6521797622 --> @Gunterlie commented on GitHub (Oct 30, 2026): Audit against `staging` (d3dc9d835): the code side is done — fresh installs, all request paths (API, SSE, media, page shell) and partial/invalid config keep remote clients at 403 without a login. Remaining: - Docs and mobile lockout recovery: #8510 (docs-i18n follow-up #8511). - A regression that runs the real `buildApp()` hook chain: in progress. - Docker gateway trust when the port is published beyond loopback: split into #8512. This issue can close when #8510 and the regression PR merge.
Author
Owner

@Gunterlie commented on GitHub (Oct 30, 2026):

Done: docs and mobile lockout recovery in #8510, real access-chain regression in #8515, translations in #8519. Docker gateway trust when the port is published beyond loopback continues in #8512.

<!-- gh-comment-id:6522742761 --> @Gunterlie commented on GitHub (Oct 30, 2026): Done: docs and mobile lockout recovery in #8510, real access-chain regression in #8515, translations in #8519. Docker gateway trust when the port is published beyond loopback continues in #8512.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4347
No description provided.