This repository is a research and teaching prototype, not a hardened product. It has not been security-audited, has no supported release line, and carries no security guarantee for production use. If you deploy it beyond a local or internal experiment, treat it as your own system: review the code, review the dependencies, and put it behind your own authentication, network and logging controls.
There is no dedicated security mailbox for this project. Please open a GitHub issue and describe the problem. Be aware that issues are public, so for anything you consider sensitive, open a minimal issue asking for a private contact channel and wait for a maintainer to reply before posting details. Reports are handled on a best-effort basis; there is no guaranteed response time.
- Change the default credentials.
.env.exampleshipsCHAINLIT_AUTH_USERNAME=admin/CHAINLIT_AUTH_PASSWORD=adminas a local development convenience. Change them for every deployment, or drop the fallback login entirely and use OAuth. - Set
CHAINLIT_AUTH_SECRETto a long random value, unique per environment. The placeholder in.env.exampleis not a secret. - Keep API keys in
.envonly.LITELLM_API_KEY,QDRANT_API_KEY,OAUTH_GITHUB_CLIENT_SECRETand friends belong in the gitignored.env, never in a YAML config, a commit or a docs example. Rotate anything that has been committed by mistake. - Do not expose Qdrant or Postgres. The bundled
docker-compose.ymlpublishes their ports for convenience on a developer machine. - Mind your corpus. Everything you ingest becomes retrievable by any user who can log in, and chunks are sent to whichever model gateway you configure. Profiles and retrieval filters are a convenience, not an access-control layer.