Skip to content

Extracts the Supabase project URL and endpoints from client-side code, env vars, and config files.

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

Own this skill? Claim it

What it does

  • Covers scanning JavaScript source, HTML meta tags and inline scripts, and configuration objects for project URLs
  • Recognizes standard, region-specific, and custom-domain URL patterns, and derives REST, auth, storage, realtime, and functions endpoints
  • Validates each extracted URL by format check, REST reachability, and response pattern, and records findings in .sb-pentest-context.json
  • Designed for security testing workflows that need the project URL before running key-extraction or API auditing skills

Install

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

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

Files

Supabase URL 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 the Supabase project URL from a web application's client-side code.

When to Use This Skill

  • After detecting Supabase usage, to get the exact project URL
  • When you need the API base URL for further testing
  • To identify which Supabase project an application uses

Prerequisites

  • Target URL accessible
  • Supabase usage detected (or suspected)

How It Works

The skill scans for URL patterns in:

1. JavaScript Source Code

// Direct URL references
const SUPABASE_URL = 'https://abc123.supabase.co'
createClient('https://abc123.supabase.co', key)

Details

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

Questions

What does the supabase-extract-url skill do?

supabase-extract-url pulls the Supabase project URL out of a web app's client-side JavaScript, environment variables and configuration files. It also lists the REST, Auth, Storage and Realtime endpoints built from that URL, which the next audit steps need.

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

Run npx -y skills add yoanbernabeu/supabase-pentest-skills --skill supabase-extract-url -y in your project. That installs only supabase-extract-url, and the agent can then extract a target's Supabase URL on request.

Which Supabase URL patterns does supabase-extract-url recognize?

supabase-extract-url matches standard project URLs such as abc123.supabase.co and region-specific URLs such as abc123.eu-central-1.supabase.co. It finds them in JavaScript constants, process.env and import.meta.env references, HTML meta tags and config objects.

What should I run after supabase-extract-url?

supabase-extract-url names supabase-extract-anon-key and supabase-extract-service-key as the next steps once the URL is found. The URL alone does not grant access, so the key is still needed for any further testing.

More from yoanbernabeu/supabase-pentest-skills

All 23

Similar to Supabase Extract Url

More Security