supabase
1
总安装量
1
周安装量
#76036
全站排名
安装命令
npx skills add https://github.com/yoanbernabeu/supabase-pentest-skills --skill supabase
Agent 安装分布
claude-code
1
Skill 文档
Supabase Security Audit Toolkit
Main entry point for auditing Supabase application security.
Quick Start
# Full guided audit (recommended)
/supabase https://myapp.example.com
# Quick security check
/supabase check https://myapp.example.com
# Help and skills reference
/supabase help
Execution Modes
1. Full Audit (/supabase <url>)
Launches a complete security audit in 7 phases:
| Phase | Description | Skills Used |
|---|---|---|
| 0 | Initialization | supabase-evidence |
| 1 | Detection | supabase-detect |
| 2 | Key Extraction | supabase-extract-* |
| 3 | API Audit | supabase-audit-tables-*, supabase-audit-rls, supabase-audit-rpc |
| 4 | Storage Audit | supabase-audit-buckets-* |
| 5 | Auth Audit | supabase-audit-auth-*, supabase-audit-authenticated |
| 6 | Realtime & Functions | supabase-audit-realtime, supabase-audit-functions |
| 7 | Report | supabase-report |
Action: Equivalent to /supabase-pentest <url>
2. Quick Check (/supabase check <url>)
Performs a rapid security check in 3 steps:
- Detection – Confirms Supabase usage
- Extraction – Retrieves URL and anon key
- RLS Test – Verifies basic security policies
Result: Quick security overview without full report.
3. Help (/supabase help)
Displays the complete reference for all 24 available skills.
Action: Equivalent to /supabase-help
Skills Tree
supabase/ â YOU ARE HERE (entry point)
â
âââ orchestration/
â âââ supabase-pentest â Full guided audit
â âââ supabase-help â Quick reference
â
âââ evidence/
â âââ supabase-evidence â Evidence management
â
âââ detection/
â âââ supabase-detect â Supabase detection
â
âââ extraction/
â âââ supabase-extract-url â Project URL
â âââ supabase-extract-anon-key â Anon key (expected)
â âââ supabase-extract-service-key â Service key (P0!)
â âââ supabase-extract-jwt â JWT tokens
â âââ supabase-extract-db-string â DB connection (P0!)
â
âââ audit-api/
â âââ supabase-audit-tables-list â Table listing
â âââ supabase-audit-tables-read â Data reading
â âââ supabase-audit-rls â RLS policies
â âââ supabase-audit-rpc â RPC functions
â
âââ audit-storage/
â âââ supabase-audit-buckets-list â Bucket listing
â âââ supabase-audit-buckets-read â File reading
â âââ supabase-audit-buckets-public â Public buckets
â
âââ audit-auth/
â âââ supabase-audit-auth-config â Auth configuration
â âââ supabase-audit-auth-signup â Signup testing
â âââ supabase-audit-auth-users â User enumeration
â âââ supabase-audit-authenticated â IDOR testing (with user)
â
âââ audit-realtime/
â âââ supabase-audit-realtime â WebSocket channels
â
âââ audit-functions/
â âââ supabase-audit-functions â Edge Functions
â
âââ report/
âââ supabase-report â Report generation
âââ supabase-report-compare â Report comparison
Severity Levels
| Level | Indicator | Description |
|---|---|---|
| P0 | ð´ CRITICAL | Data exposure, service key leaked, direct DB access |
| P1 | ð HIGH | Sensitive data, security misconfiguration |
| P2 | ð¡ MEDIUM | Minor exposure, best practice violations |
Generated Files
| File | Description |
|---|---|
.sb-pentest-context.json |
Audit state and findings |
.sb-pentest-audit.log |
Chronological action log |
.sb-pentest-evidence/ |
Evidence directory |
supabase-audit-report.md |
Final report |
Common Workflows
Complete Security Audit
/supabase https://myapp.example.com
â Follow guided steps
â Report generated automatically
Pre-Production Check
/supabase check https://staging.myapp.com
â Quick result in ~2 minutes
Storage-Focused Audit
/supabase-detect https://myapp.com
/supabase-audit-buckets-list
/supabase-audit-buckets-public
Comparison After Fixes
# Save previous report
mv supabase-audit-report.md audit-before.md
# Run new audit
/supabase https://myapp.com
# Compare
/supabase-report-compare audit-before.md supabase-audit-report.md
Prerequisites
- Public URL of the target application
- Authorization to test (owner or explicit permission)
- Internet connection
Security Notice
â ï¸ AUTHORIZATION REQUIRED
Unauthorized security testing may violate laws
and terms of service.
Confirm you are authorized to test this application.
Direct Skill Access
Each skill can be invoked individually:
/supabase-detect <url> # Detection
/supabase-extract-anon-key # Key extraction
/supabase-audit-rls # RLS testing
/supabase-report # Report generation
For the complete list: /supabase help or /supabase-help
Support
- Documentation: Check the repository README
- Issues: Open an issue on GitHub
- Each skill has its own detailed documentation