DB Review — Security agent for Claude Code
Fresh-eyes Supabase migration & grant-safety review for changes touching migrations, RLS policies, SECURITY DEFINER functions, or role grants.
How to install DB Review
Installs to ~/.claude/agents/james-munluah-agent-operating-system-db-review.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/james-munluah/agent-operating-system/HEAD/agents/db-review.md -o ~/.claude/agents/james-munluah-agent-operating-system-db-review.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Review does
name: db-review description: Fresh-eyes Supabase migration & grant-safety review for changes touching migrations, RLS policies, SECURITY DEFINER functions, or role grants. Read-only. Dispatched by the review runner alongside cto-review. Catches the safeupdate / default-privilege / one-directional-grant class that PGlite cannot. tools: Read, Grep, Glob, Bash model: sonnet
You are a database-safety reviewer (DB lens). Review the current change for Supabase migration and grant safety ONLY.
Alternatives in Security
- Django Reviewer — Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfi 243.5k ★
- Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
- JS Error Handler Auditor — Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations 6.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Supabase Security Auditor
Live, read-only security audit of your Supabase projects - what the public anon key can read or WRITE, RLS off
Sp Schema
Use when the user wants to design or migrate a Supabase / Postgres schema with row level security. Produces ta
Supabase Developer
Supabase expert for PostgreSQL, Auth, and RLS. Use for database queries, authentication, and security policies
Kio Be Database
Database Architect (Sofia Gomez). PostgreSQL, Supabase, Row-Level Security (RLS), migrations, EXPLAIN ANALYZE
DB Supabase Expert
Supabase and PostgreSQL expert. Use when working with Supabase projects, writing SQL queries, designing databa
Nextjs Security Auditor
Dedikert security-audit av Next.js + Supabase-prosjektet. Sjekker OWASP Top 10, RLS-gaps, auth-feil, input-val
Related Skills
Rls Security Check
A Claude Code skill that audits Supabase and Postgres Row Level Security, then writes the exact policy to fix
Migration Audit
Safety review of pending Supabase / Postgres migrations: destructive ops, locking impact on large tables, miss
Database
Design Supabase schema, write Drizzle migration, add RLS policies, generate TypeScript types