Pulls JWTs out of client-side code, cookies, and localStorage references when you're pentesting a Supabase app. It decodes the tokens, flags the really bad stuff like hardcoded service role keys or user access tokens with PII baked in, and distinguishes between expected exposure (anon keys are fine) and actual problems (developer tokens left in production bundles). The progressive logging is aggressive by design, writing findings to context files after each discovery so you don't lose data if Claude times out mid-scan. Most useful right after initial Supabase detection when you want to see what secrets made it into the build. Saves everything to a pentest evidence directory with severity ratings from P0 to P2.

skills.sh installs
487
GitHub stars
75
last updated
Aug 21, 2026

Install

$ npx -y skills add yoanbernabeu/supabase-pentest-skills --skill supabase-extract-jwt --agent claude-code

Installs into .claude/skills of the current project.

Files

Supabase JWT Extraction

🔴 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 extracts and analyzes JSON Web Tokens (JWTs) related to Supabase from client-side code.

When to Use This Skill

  • To find all JWT tokens exposed in client code
  • To analyze token claims and expiration
  • To detect hardcoded user tokens (security issue)
  • To understand the authentication flow

Prerequisites

  • Target application accessible
  • Supabase detection completed (auto-invokes if needed)

Types of JWTs in Supabase

Sponsors

Details

Repository
github.com/yoanbernabeu/supabase-pentest-skills
Categories
Backend & APIs, Security, Databases
First seen
Jun 3, 2026

More from yoanbernabeu/supabase-pentest-skills

All 23
1secondsky avatarpayment-gateway-integrationsecondsky/claude-skillsIntegrates payment processing with Stripe, PayPal, or Square including subscriptions, webhooks, and PCI compliance. Use when implementing checkout flows, recurr469skills.sh installs
2jezweb avatargoogle-gemini-apijezweb/claude-skillsIntegrate Gemini API with @google/genai SDK (NOT deprecated @google/generative-ai). Text generation, multimodal (images/video/audio/PDFs), function calling, thi467skills.sh installs
3jezweb avataropenai-apijezweb/claude-skillsBuild with OpenAI stateless APIs - Chat Completions (GPT-5.2, o3), Realtime voice, Batch API (50% savings), Embeddings, DALL-E 3, Whisper, and TTS. Prevents 16 465skills.sh installs
4manutej avatarvector-database-managementmanutej/luxor-claude-marketplaceComprehensive guide for managing vector databases including Pinecone, Weaviate, and Chroma for semantic search, RAG systems, and similarity-based applications460skills.sh installs
5yoanbernabeu avatarsupabase-audit-authenticatedyoanbernabeu/supabase-pentest-skillsCreate a test user (with explicit permission) to audit what authenticated users can access vs anonymous users. Detects IDOR, cross-user access, and privilege es446skills.sh installs
6aj-geddes avatarserver-side-renderingaj-geddes/useful-ai-promptsImplement server-side rendering with template engines, view layers, and dynamic content generation. Use when building server-rendered applications, implementing433skills.sh installs