supachecker
v1.0.0
Published
CLI tool for Supabase penetration testing and security auditing
Readme
Supachecker
CLI tool for Supabase penetration testing and security auditing.
Installation
npm install -g supacheckerUsage
Configuration
Create a .env file in your project directory:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key
# Optional: for full RLS checks
SUPABASE_SERVICE_ROLE_KEY=your-service-role-keyCommands
# Explore schema (tables, views)
supachecker explore
# Check Row Level Security policies
supachecker check-rls
# Check storage buckets
supachecker check-storage
# Check Edge Functions
supachecker check-edge
# Run all checks
supachecker check-allOptions
-c, --config <path> # Path to .env file
-u, --url <url> # Supabase URL
-k, --anon-key <key> # Anon key
--verbose # Verbose output
--json # JSON outputFeatures
- Schema enumeration via PostgREST OpenAPI spec
- RLS policy testing with anon key
- Storage bucket permission checks
- Edge Functions discovery
