Supabase Security Audit
Conduct comprehensive Supabase security audit with RLS analysis and vulnerability assessment
$ npx claude-code-templates@latest --command="database/supabase-security-audit" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Supabase Security Audit
Conduct comprehensive Supabase security audit with RLS policy analysis and vulnerability assessment: $ARGUMENTS
Current Security Context
- Supabase access: MCP integration for security analysis and policy review
- RLS policies: Current Row Level Security implementation and policy effectiveness
- Auth configuration: !
find . -name "auth" -o -name "supabase" | grep -E "\\.(js|ts|json)$" | head -5authentication setup - API security: Current API key management and access control implementation
Task
Execute comprehensive security audit with vulnerability assessment and policy optimization:
Audit Scope: Use $ARGUMENTS to focus on RLS policies, permission analysis, authentication security, API key management, or comprehensive security review Security Audit Framework:- RLS Policy Analysis - Review Row Level Security policies, test policy effectiveness, identify policy gaps, optimize policy performance
- Permission Assessment - Analyze table permissions, review role-based access, validate permission hierarchies, identify over-privileged access
- Authentication Security - Review auth configuration, analyze JWT security, validate session management, assess multi-factor authentication
- API Key Management - Audit API key usage, review key rotation policies, validate key scoping, assess exposure risks
- Data Protection - Analyze sensitive data handling, review encryption implementation, validate data masking, assess backup security
- Vulnerability Scanning - Identify security vulnerabilities, assess injection risks, review CORS configuration, validate rate limiting
Related Claude Code Commands
Supabase Schema Sync
Synchronize database schema with Supabase using MCP integration
Supabase Data Explorer
Explore and analyze Supabase database data with intelligent querying and visualization
Supabase Performance Optimizer
Optimize Supabase database performance with intelligent analysis and recommendations
Supabase Migration Assistant
Generate and manage Supabase database migrations with automated testing and validation
Supabase Type Generator
Generate TypeScript types from Supabase schema with automatic synchronization and validation
Supabase Backup Manager
Manage Supabase database backups with automated scheduling and recovery procedures
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.