Skip to content
Kitbay
Skill

supabase-audit-rls

MITUpdated on Jan 31, 202675GitHub starsNeeds an API key

A skill from a set of Supabase security audit skills that tests whether a project's row level security actually blocks access it should block.

What the skill teaches

A skill from a set of Supabase security audit skills that tests whether a project's row level security actually blocks access it should block. With the project's anon key, and ideally a signed-in user's token, the agent checks each table for disabled security, missing per-operation policies, policies that allow everything and write policies without checks. It then tries reads and writes without a login, reads another user's rows, filter tricks, joins through related tables and function calls, using REST requests. Findings are rated by severity with fix SQL and saved as they happen to a context file, a log, evidence files and a curl script. The README limits use to teams testing apps they own or are authorised to test.

Capabilities

  • Check tables for disabled or missing RLS policies
  • Test anonymous and cross-user access
  • Try filter, join and RPC bypasses
  • Write evidence files and fix SQL