Automated RLS leak-testing tool for Supabase apps
Build an automated RLS security auditor for Supabase projects: it spins up two test accounts, then systematically tries cross-account select, update, insert and delete on every table using the project's own supabase-js client, flagging any table where a policy lets one user touch another's rows. Package it as a pre-launch checklist CLI or dashboard add-on sold to solo Supabase builders and small teams who ship fast and skip manual security review.
What to build
A CLI tool for Supabase projects that spins up two disposable test accounts, then uses supabase-js to run cross-account select, update, insert, and delete probes against every table in the schema, printing a pass/fail security report before launch.
Solo Supabase builders routinely ship without verifying their Row Level Security policies actually isolate user data, and a scripted two-account CRUD probe can catch these misconfigurations automatically before launch.
Demand
Solo developers and small teams shipping fast on Supabase want a quick pre-launch security check they can run without manually writing cross-account test scripts for every table, especially as schemas grow past a handful of tables.
- r/SideProject (Reddit)News
Reddit thread: Testing your RLS with two accounts before launch — builder shares the manual two-account check they run before shipping anything on Supabase.
- Supabase documentation (general knowledge)Context
Supabase relies on PostgreSQL Row Level Security as its primary data isolation mechanism, and misconfigured RLS policies are a commonly cited risk for apps built on Supabase and similar BaaS platforms.
Stack
- supabase-js
- Node.js CLI (Commander or oclif)
- Supabase Admin API (for test account creation/teardown)
- PostgreSQL information_schema queries (to enumerate tables)
- GitHub Actions (for CI integration)
Solo + AI difficulty
The core loop — create two accounts via the Supabase admin API, enumerate tables, attempt CRUD as each account against the other's rows — is straightforward with AI assistance and doable in a few days; the harder part is handling edge cases like views, RPC functions, joins, and storage bucket policies without producing false negatives, which could take another week or two to make trustworthy. Time-to-MVP: roughly 1-2 weeks for a CLI covering plain tables.
- Entry threshold
- Needs only familiarity with Supabase's REST/client API and Postgres RLS semantics; a working CLI or script can be built in days with no capital or licenses, though earning trust for a security tool takes longer than typical micro-SaaS.
- Window
- 6-12 months
Where to find first users
- r/Supabase
- r/SideProject
- Indie Hackers
- Product Hunt launch
- Supabase Discord community
Counter-signals & risks
Solo builders and small teams who already skip manual security review for speed may also be unwilling to pay for or integrate an additional security tool, limiting willingness-to-pay despite the clear need.
Supabase itself or third-party security scanning tools (e.g. existing Postgres/RLS linters, Supabase's own advisors) could add equivalent automated RLS testing natively, commoditizing or eliminating the market for a standalone paid tool.
Automated cross-account testing may produce false negatives for complex RLS policies involving joins, views, functions, or role-based logic that simple CRUD probing across two accounts cannot fully exercise, limiting the tool's reliability guarantee.
Original title: Testing your RLS with two accounts before launch
Related signals
- Security#2
Local face-ID alerts for unauthorized Mac use
Build or productize a lightweight macOS security utility that photographs and identifies unauthorized users of a laptop, aimed at individuals worried about partners, roommates, or coworkers snooping on a shared or unattended machine. Monetize through a one-time lifetime unlock for remote push alerts (Telegram, ntfy, Pushover, webhook) rather than a subscription, and bundle a companion iPhone app as the delivery channel for alerts.
Demand4/10measuredBuildability8/10est.Competition8/10est.via Hacker News11 competitor - Security#6
Lightweight guardrails for autonomous coding agents
Build lightweight security add-ons for coding agents (Claude Code, Cursor, Copilot, autonomous dev bots): a prompt-injection and malicious-dependency scanner, a secrets/exfil guardrail that sits between the agent and shell/network calls, or a drop-in middleware that flags risky tool calls before execution. Sell to solo devs and small teams running agentic coding workflows who are nervous about agents running unreviewed code or leaking credentials.
Demand5/10est.Buildability7/10est.Competition8/10est.via Product Hunt11 competitor - Security#9
Third-party AWS integration permission auditor
Build a lightweight scanner that audits third-party AWS integrations (OAuth connections, IAM roles granted to SaaS tools and marketplace apps) for excessive permissions and anomalous secret-access patterns, aimed at small AWS-using startups and dev teams who cannot afford full enterprise CNAPP platforms like Wiz or Orca.
Demand3/10est.Buildability5/10est.Competition5/10est.via The Register44 competitors