This project is public. Follow these rules before every release.
- Never commit
service_rolekeys. - Never commit
.envfiles. - Frontend only uses:
VITE_SUPABASE_URLVITE_SUPABASE_ANON_KEY
- Keep RLS enabled on all user tables.
- Use
security_invokerfor views. - Keep
security definerfunctions with explicitsearch_path. - Restrict function execution grants to
authenticatedonly when needed.
- In Supabase Auth settings, use exact redirect URLs only:
http://localhost:5173- production GitHub Pages URL
- Avoid wildcard redirects.
- Rotate anon keys if exposed in screenshots/chats.
- Rotate immediately if
service_roleis ever leaked.
- Use GitHub Actions secrets for Supabase env variables.
- Do not hardcode credentials in source code.