Security fixes land on the default branch of this repository. There are no long-term support branches yet.
Kairi is a local BYOK app. Conversation text and API keys leave your machine only toward the LLM/search providers you configure. There is no Kairi-operated cloud backend for chat content.
Threat model (high level):
- Secrets live in
backend/storage/settings.jsonor environment variables on your machine - Optional
KAIRI_API_TOKENprotects the HTTP API when bound beyond localhost - Workspace / MCP tools can touch the filesystem — treat them as privileged
- Search and news ingest call third-party endpoints you enable
Please do not open a public GitHub issue for sensitive reports.
- Email or DM the maintainer privately (see the GitHub profile linked on this repository)
- Include: affected version/commit, reproduction steps, impact, and any suggested fix
- Allow a reasonable window before public disclosure
- Never commit
backend/storage/settings.json,.env, or real API keys - If a key may have been exposed, revoke it at the provider and mint a new one (see docs/ROTATE_SECRETS.md)
- Public releases of this tree are intended to ship as a fresh squash commit without private git history
This document is not a “production ready / all passed” audit certificate. Independent review is welcome; please share findings privately first.