Security and local network hardening #14

Open
opened 2026-06-16 21:39:51 +02:00 by vince · 0 comments
Owner

Context:\nThis app can download arbitrary URLs and delete huge model files. It should not be exposed casually.\n\nRequirements:\n- Bind to localhost by default.\n- Require token/password when binding to LAN.\n- Store HF/CivitAI tokens with restrictive file permissions or OS keychain if available.\n- Redact secrets in logs.\n- Add CSRF protection for browser forms.\n- Clearly document threat model and non-goals.\n\nAcceptance criteria:\n- Fresh install is localhost-only.\n- LAN mode requires explicit config.\n- Secrets do not appear in logs, DB debug dumps, or UI job output.

Context:\nThis app can download arbitrary URLs and delete huge model files. It should not be exposed casually.\n\nRequirements:\n- Bind to localhost by default.\n- Require token/password when binding to LAN.\n- Store HF/CivitAI tokens with restrictive file permissions or OS keychain if available.\n- Redact secrets in logs.\n- Add CSRF protection for browser forms.\n- Clearly document threat model and non-goals.\n\nAcceptance criteria:\n- Fresh install is localhost-only.\n- LAN mode requires explicit config.\n- Secrets do not appear in logs, DB debug dumps, or UI job output.
vince added the
mvp
security
labels 2026-06-16 21:42:29 +02:00
vince added this to the v0.1 MVP milestone 2026-06-16 21:42:29 +02:00
Sign in to join this conversation.
No description provided.