low · M3 · MASVS-AUTH-1 · PTKD-LIVE-SUPABASE-ANON-SIGNIN
Supabase anonymous sign-ins are enabled
Anonymous users get the authenticated role. Policies that only check the role let any anonymous visitor through.
How it is exploited
A script calls signInAnonymously(), receives a JWT with role authenticated, and reads tables meant for registered members.
Why it matters
Data meant for real accounts is readable by anyone who can open the app.
How to fix it
- List policies that use the authenticated role.
- Add an is_anonymous check where only permanent users belong.
- Disable anonymous sign-ins if unused.
Does your app have this?
PTKD checks your build or your source project for PTKD-LIVE-SUPABASE-ANON-SIGNIN and every other check in this knowledge base.
Scan your appReferences
Related checks (M3)
- Permissive CORS with credentials
- State-changing request succeeded without authentication
- Weak JWT observed on the wire
- Biometric authentication not bound to a cryptographic key
- Premium access is stored on the phone and trusted (heuristic)
- Firebase rules trust an email address nobody verified
- Firebase security rules open to everyone
- Users can make themselves admin or premium in Firestore