| Version | Supported |
|---|---|
main |
Yes |
If you discover a security issue, please do not open a public GitHub issue.
- Email alberto@resiz.es with a description and reproduction steps.
- Allow up to 7 business days for an initial response.
- We will coordinate disclosure and a fix release when appropriate.
- Session auth via better-auth; admin routes require
role === 'admin'orADMIN_API_KEY. - User API keys stored with AES-256-GCM in
UserSetting; global secrets inSettinguse the same encryption. - Production startup validates required env vars (
server/utils/env-validation.ts). - Rate limits on chat, upload, and search endpoints (optional
REDIS_URLfor multi-instance). - Run
pnpm auditin CI; keep dependencies updated via Dependabot.
- Set strong
BETTER_AUTH_SECRET(openssl rand -hex 32). - Never commit
.env; use.env.exampleas a template only. - Expose only ports 80/443 (Caddy) in production; keep PostgreSQL and Ollama on the internal Docker network.
- Restrict
POST /api/search/inspectto authenticated users (enforced in application code).