AlgoRift uses Supabase Auth for password handling. The application never stores or receives plaintext passwords outside the Supabase authentication request.
- The browser uses only the Supabase project URL and browser-safe anon key.
- No
service_role, secret API key, or database password is shipped to users. - Row Level Security restricts every profile and progress row to its owner.
- Anonymous visitors cannot read or write account data.
- Database constraints validate usernames, level ranges, and XP ranges.
- Guest progress stays in browser local storage.
- Keep email confirmation enabled.
- Set the production Site URL to
https://algorift.vercel.app. - Add
https://algorift.vercel.app/**andhttp://localhost:3000/**as allowed redirect URLs. - Configure custom SMTP before opening account signup to the public. The built-in Supabase sender accepts only project-team addresses and is not a production email service.
- Enable CAPTCHA under Authentication attack protection.
- Review Auth rate limits before launch.
- Never add a service-role key to Vercel or any
NEXT_PUBLIC_*variable.
Run supabase/algorift_setup.sql in the Supabase SQL Editor before enabling cloud accounts.
Please report security issues privately to the repository owner rather than opening a public issue with exploit details.