Skip to content
yoanbernabeu avatar

Supabase Audit Buckets Read

Attempts to list and read storage bucket files with the anon key to verify access controls and flag exposed sensitive data.

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

Own this skill? Claim it

What it does

  • Covers per-bucket testing of listing, metadata, public URL access, and sample downloads, with a status and assessment for each bucket
  • Includes sensitive file detection by filename patterns (*.sql, .env*, *invoice*, *passport*) and content sampling for API keys and database credentials
  • Enforces read-only testing and progressive logging to .sb-pentest-context.json and .sb-pentest-audit.log as each bucket is tested
  • Designed for security reviews of Supabase projects that need to confirm private buckets are protected and public buckets hold no sensitive files

Install

$ npx -y skills add yoanbernabeu/supabase-pentest-skills --skill supabase-audit-buckets-read -y

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

Files

Bucket File Access Test

🔴 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 bucket tested
  • Log to .sb-pentest-audit.log BEFORE and AFTER each file access test
  • 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 tests actual file access in storage buckets to verify permissions.

When to Use This Skill

  • After listing buckets, to verify actual access
  • To test storage RLS policy effectiveness
  • To check for sensitive file exposure
  • To document what files are accessible

Prerequisites

  • Buckets listed (auto-invokes if needed)
  • Anon key available

How It Works

The skill attempts to:

  1. List files in each bucket
  2. Read file metadata
  3. Download sample files (for content type verification)
  4. Check public URL access

Important: This is READ-ONLY. No files are modified or deleted.

Test Approach

Details

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

Questions

What does the supabase-audit-buckets-read skill do?

supabase-audit-buckets-read attempts to list and read files from Supabase storage buckets to verify access controls. It tests public and private buckets, reads file metadata, downloads sample files for content type checks, and checks public URL access. It is read-only, so it does not modify or delete any files.

How do I install the supabase-audit-buckets-read skill?

Run npx -y skills add yoanbernabeu/supabase-pentest-skills --skill supabase-audit-buckets-read -y in a project to install it. Once installed, supabase-audit-buckets-read lets the agent test read access on storage buckets and report which files are exposed.

What does supabase-audit-buckets-read need before it runs?

supabase-audit-buckets-read needs the buckets to be listed first, and it auto-invokes that step if needed. It also needs an anon key for the Supabase project, since its tests use the anon key to check what a public visitor can reach.

Who is the supabase-audit-buckets-read skill for?

supabase-audit-buckets-read is for development teams auditing their own Supabase applications, to check whether storage RLS policies work and whether sensitive files are exposed. Its tests are meant for authorized self-assessment, not for probing other people's systems.

More from yoanbernabeu/supabase-pentest-skills

All 23

Similar to Supabase Audit Buckets Read

More Security