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#1
Security header scanner for vibe-coded SaaS launches
Build an automated security header and email-auth scanner for indie SaaS founders — paste a URL, get a scored report on CSP, CORS, clickjacking, DMARC/SPF, security.txt and cross-origin isolation, with one-click fix snippets for the most common frameworks (Next.js, Vercel, Cloudflare). Sell it as a one-time scan plus a cheap monthly monitoring tier that re-checks after each deploy and alerts on regressions.
Demand7/10est.Buildability9/10est.Competition5/10est.via Reddit44 competitors - Security#7
Obfuscation tools to blind AI reverse-engineering agents
Build and sell a code-protection toolkit (CLI, SDK, or MCP plugin) specifically designed to defeat AI-driven reverse-engineering agents, using decoy logic, prompt poisoning and context-exhaustion tricks to make automated code analysis fail or hallucinate. Target software vendors shipping Electron apps, JS bundles, Python packages and WebAssembly binaries who want to stop AI agents from extracting or cloning their proprietary business logic.
Demand9/10measuredBuildability5/10est.Competition5/10est.via GitHub44 competitors - Security#9
Affordable wallet screening for DPRK-linked crypto theft
Build a lightweight wallet and address risk-screening tool for small exchanges, DeFi protocols, and retail crypto users who cannot afford enterprise platforms like Chainalysis. Pull public data (OFAC SDN list, known Lazarus Group and DPRK-linked addresses, on-chain clustering heuristics) into a simple API, browser extension, or Telegram/Discord bot that flags risky transfers in real time. Target smaller crypto teams scrambling to add basic sanctions screening after this record hack puts regulators and users on edge.
Demand2/10measuredBuildability7/10est.Competition5/10est.via Hacker News44 competitors