The problem
Fast-moving teams ship apps on Supabase and forget to lock them down. Tables without row level security, permissive policies and unprotected API routes are easy to miss and costly when found by someone else. Sentinel explores an automated way to find those gaps and explain exactly how to fix them.
Key features
Row level security audit
Detects tables with RLS disabled or policies that let any signed-in user read or write other users' rows.
Endpoint exposure check
Flags API routes and functions that respond without authentication or ownership checks.
Severity-ranked findings
Each issue is rated critical, high, medium or low, with the reason it matters.
Plain-language fixes
Every finding includes a clear explanation and a suggested SQL or code fix.
Read-only by design
Scans run with a limited, read-only connection and never modify the target project.
Shareable PDF report
Export a clean report for a client, a founder or a compliance review.
Architecture
A Next.js dashboard triggers scan jobs that run in Edge Functions. A scanner inspects the target's schema, policies and exposed routes using a restricted read-only credential, stores findings in Postgres, and an LLM rewrites each finding into a clear explanation and fix. Credentials are encrypted at rest and never logged.
Technical decisions
Read-only access only
A security tool must never become a risk itself, so it cannot change anything in the project it scans.
Deterministic checks first, AI second
Rules find the issues reliably, and the LLM is used only to explain and suggest fixes, which keeps results trustworthy.
Severity scoring
Teams act on a short ranked list, not a wall of warnings.
Challenges and solutions
Avoiding false positives that would make users ignore the tool.
Every rule checks the actual policy expression rather than just whether RLS is on, and findings show the evidence behind them.
Handling sensitive connection credentials safely.
Encrypt at rest, scope them to read-only, and redact them from logs and error reports.
What comes next
- Scheduled re-scans with change alerts
- CI integration to block deploys that introduce new issues
- Support for additional databases beyond Supabase