Skip to content

Extracts and decodes Supabase JWTs from client code, cookies, and storage, flagging hardcoded user tokens.

CCM score
49 of 100
skills.sh installs
510
GitHub stars
77
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers JWT discovery across static API keys, hardcoded user tokens, and storage key patterns in client-side code
  • Classifies tokens as anon key, service role key, access token, or refresh token, with exposure expectations for each
  • Decodes header and payload claims such as sub, role, exp, ref, and aal, and marks expired tokens
  • Designed for security reviews of Supabase-backed web apps that writes findings to .sb-pentest-context.json as it goes

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

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

Questions

What does the supabase-extract-jwt skill do?

It extracts and decodes Supabase-related JWTs from client-side code, cookies and local storage patterns. It reports the token type, header and claims, flags hardcoded user tokens, and saves the results to the audit context file.

How do I install the supabase-extract-jwt skill?

Run npx -y skills add yoanbernabeu/supabase-pentest-skills --skill supabase-extract-jwt -y in your project. The skill then lets the agent extract and analyze Supabase JWTs from a target application.

Where does supabase-extract-jwt stand in the Security category?

It is one of the skills in the Security category on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. It focuses on Supabase token exposure rather than general security auditing.

Who is supabase-extract-jwt for?

It is for developers and teams doing internal security self-assessment of their own Supabase applications. The skill requires that the target application be accessible and that Supabase detection has been completed, which it runs automatically if needed.

More from yoanbernabeu/supabase-pentest-skills

All 23

Similar to Supabase Extract Jwt

More Security