后端与数据库

supabase-extract-service-key

yoanbernabeu/su…t-skills

CRITICAL - Detect if the Supabase service_role key is leaked in client-side code. This is a P0 severity issue.

  • 488 次安装
  • 72 星标
  • 收录于

安装命令

npx skills add https://github.com/yoanbernabeu/supabase-pentest-skills --skill supabase-extract-service-key

SKILL.md

Supabase Service Key Detection

🔴 CRITICAL: PROGRESSIVE FILE UPDATES REQUIRED

You MUST write to context files AS YOU GO, not just at the end.

  • Write to .sb-pentest-context.json IMMEDIATELY after each discovery
  • Log to .sb-pentest-audit.log BEFORE and AFTER each action
  • DO NOT wait until the skill completes to update files
  • If the skill crashes or is interrupted, all prior findings must already be saved

This is not optional. Failure to write progressively is a critical error.

This skill detects if the service_role key (admin key) is accidentally exposed in client-side code.

When to Use This Skill

  • As part of every security audit (this is critical)
  • When reviewing code before production deployment
  • After detecting Supabase usage to check for this common mistake