firebase-supabase-attack

firebase-supabase-attack is a skill for Claude Code, Codex from uphiago/recon-skills. It costs 21 tokens per session (4,164 once invoked), scanned B, original, MIT.

A security-testing workflow for checking Firebase and Supabase backends for exposed data caused by configuration leaks or missing access controls. Firebase and Supabase are services that provide databases, file storage, user accounts, and APIs for web applications.

In plain words
What is it for?
Use it to inspect JavaScript bundles for Firebase or Supabase settings and test whether database, storage, or authentication endpoints are improperly accessible.
Why use it?
It helps identify whether a web app has accidentally exposed backend identifiers or allowed unauthorised access. The workflow is intended for confirming security weaknesses in systems within scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to inspect JavaScript bundles for Firebase or Supabase settings and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uphiago/recon-skills/firebase-supabase-attack
About the project

Recon Skills is a pack of security-testing skills covering reconnaissance, web applications, APIs, authentication, vulnerability validation, cloud infrastructure, and reporting. Security professionals use it for authorized assessments of systems they own or have written permission to test. The catalogue entries are individual skills from the pack.

uphiago/recon-skills · 1,242 stars · on GitHub · hiago.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uphiago/recon-skills --skill firebase-supabase-attack
Clone the repo
git clone --depth 1 https://github.com/uphiago/recon-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for firebase-supabase-attack

README.md
[![agentmods](https://agentmods.dev/badge/skills/uphiago/recon-skills/firebase-supabase-attack.svg)](https://agentmods.dev/skills/uphiago/recon-skills/firebase-supabase-attack)
Your own site
<a href="https://agentmods.dev/skills/uphiago/recon-skills/firebase-supabase-attack"><img src="https://agentmods.dev/badge/skills/uphiago/recon-skills/firebase-supabase-attack.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,164 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.04164
Opus 5 $0.00010 $0.02082
Sonnet 5 $0.00004 $0.00833
Haiku 4.5 $0.00002 $0.00416

Measured 7d ago against content hash c5b2e8e0bb10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

firebase-supabase-attack scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl --max-time 30 --connect-timeout 10 -sk -X PATCH "$SUPABASE_URL/rest/v1/profiles?id=eq.$(echo "$SIGNUP_RESP" | python3 -c "import sys,json; print(json.load(sys.stdin)['user']['id'])" 2>/dev/null)" \

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl, nmap, python3, masscan, subfinder, httpx, nuclei
recon/firebase-supabase-attack/SKILL.md · 330 lines

How it starts

The opening of the file, as written. The whole thing — 330 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Firebase & Supabase Attack Skill

Exploit misconfigured Firebase (Firestore, Storage, Auth) and Supabase (REST API, Storage, Auth) backends. These BaaS platforms are the #1 source of massive data breaches in modern web apps when Row Level Security (RLS) is missing and API keys leak in JavaScript bundles. Confirmed on delivery-platform (204K WhatsApp conversations, 173K phone numbers), visa-processing-platform (64K users, 46K reports), fitness-chain (39K users, 5 Firebase projects, 21 credentials), dental-booking (9 clinics, 1,749 leads).

When to Use

  • JavaScript bundle analysis reveals Firebase config (apiKey, projectId) or Supabase URL + anon key.
  • Target uses a modern SPA (React, Vue, Angular) with BaaS backend.
  • After js-secrets-extraction finds Firebase/Supabase identifiers.
  • After source-leak-hunt finds .env with FIREBASE_* or SUPABASE_* variables.

Prerequisites

  • terminal with curl, python3, jq.
  • Firebase project ID or Supabase URL + anon key (from JS bundle, source leak, or recon).
  • For Firebase SA key exploitation: python3 with google-auth library.

How to Run

# Firebase Firestore — list collections (if public)
curl --max-time 30 --connect-timeout 10 -sk "https://firestore.googleapis.com/v1/projects/PROJECT_ID/databases/(default)/documents/"

# Supabase — list users table (if RLS missing)
curl --max-time 30 --connect-timeout 10 -sk "https://PROJECT.supabase.co/rest/v1/users" \
  -H "apikey: ANON_KEY" -H "Authorization: Bearer ANON_KEY"

# Supabase — test signup (if open)
curl --max-time 30 --connect-timeout 10 -sk -X POST "https://PROJECT.supabase.co/auth/v1/signup" \
  -H "apikey: ANON_KEY" -H "Content-Type: application/json" \
  -d '{"email":"[email protected]","password":"Test123!"}'

Quick Reference

Platform What to Find Exploit Path Real Example
Firebase Firestore Public database rules Direct REST API access, list all collections delivery-platform: 204K conversations public
Firebase Storage Public bucket rules Download all files via REST API delivery-platform: 1,000+ WhatsApp audio files public
Firebase Auth Open signup Create accounts, access protected resources fitness-chain: Firebase Auth signup open
Firebase SA Key Service account JSON GCP IAM escalation, access all GCP resources fitness-chain: 5 SA keys → full GCP access
Supabase REST Missing RLS SELECT/INSERT/UPDATE/DELETE on any table visa-processing-platform: 64K users, 46K reports, DELETE confirmed
Supabase Storage Public buckets Download all files, upload malicious content visa-processing-platform: public PDF reports bucket
Supabase Auth Open signup Create accounts, bypass access controls dental-booking: open signup + auto-confirm

Read the full file on GitHub · 330 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 330 lines · 21 tokens per session scan B c5b2e8e0bb10

Subscribe to this mod's changes

firebase-supabase-attack is a skill published in the GitHub repository uphiago/recon-skills (1,242 stars, last pushed 5d ago), licensed MIT. It adds 21 tokens to every session and 4,164 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

explorer

Build and modify Studio Explorer surfaces, including notebooks, chats, SQL snippets, query cells, and their shared toolbar patterns.

supabase/supabase · 27 tokens

firebase

Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…

ericrisco/rsc-harness · 77 tokens

firestore-better-auth

Use Firestore as the database adapter for Better Auth (Firebase Admin SDK). Use when storing Better Auth users, sessions, accounts, and verification tokens in Firestore, migrating from Auth.js/NextAuth Firebase adapter to Better Auth, setting up Better Auth with a Firebase/Firestore backend, upgrading a…

yultyyev/better-auth-firestore · 100 tokens

lintbase

Use this skill whenever you are about to read from, write to, query, or modify a Firestore database. LintBase gives you ground-truth schema context (real field names, types, presence rates) directly from production documents so you never hallucinate field names or create schema drift. Trigger automatically when the…

lintbase/lintbase · 121 tokens

dotcanvas

Author and edit a Grida .canvas board — a .canvas.json manifest plus document files (references, generated images, notes) placed on an infinite canvas. Use when working on a .canvas bundle or arranging visuals/design work spatially. For a linear deck/presentation, use the slides skill instead.

gridaco/grida · 69 tokens

slides

Build a Grida slides deck — a .canvas bundle in slides mode whose pages are SVG documents (16:9, one SVG per slide). Use when creating a presentation, pitch deck, slideshow, or talk.

gridaco/grida · 46 tokens