Two Mastodon posts highlight a security vulnerability in Supabase where tables with Row Level Security (RLS) enabled can still expose all rows to any logged-in user. This occurs when the RLS policy is set to 'authenticated can select' without an additional check for row ownership or tenant ID. The posts suggest implementing owner checks within the policy, such as `auth.uid() = user_id`, to prevent such data leaks and recommend testing by attempting to access data from a secondary account. AI
IMPACT Highlights a potential data security flaw in a popular backend-as-a-service platform, relevant for developers building AI applications.
RANK_REASON The cluster discusses a specific technical vulnerability and its mitigation within a database service, which falls under tooling.
Read on Mastodon — mastodon.social →
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →