Security
Lighthouse is built for one local user. Nothing is exposed to the LAN or the internet by default. This page covers the boundaries and the known limits.
Local boundary
- The dashboard binds to
127.0.0.1and rejects non-loopback bind addresses. - Mutations use POST forms with a per-process CSRF token, a
SameSite=StrictHttpOnly cookie and same-origin checks. There is no permissive CORS. - The dashboard serves local static assets only. No third-party analytics, fonts or scripts.
API boundary
/api/v1/*bypasses the dashboard CSRF check and instead requires a bearer token, a loopback Host and a same-origin or absent Origin. See Local API and Dock.- Tokens are hashed at rest and scoped by kind. The
dockmodule can only propose records.
Code-call boundary
- Scripts get typed operations only. No raw SQL, shell, filesystem, environment or network.
- Input size, output size, instruction count, result count and wall time are bounded.
- All SQL runs as parameterized queries inside the trusted repository code.
- Writes run in transactions and return a revision.
- Stored agent content is treated as untrusted text and is escaped when rendered.
Audit
Mutations are recorded with actor class and revision. Deletes, scope moves, imports and edits to content, custom fields or memory are flagged as sensitive.
Known limits
Privacy
Database contents stay on your machine. If you configure an embedding provider, only the text needed for that embedding is sent, and the provider is recorded with each embedding. Keyword search always works without one.