supabase-security-expert

supabase-security-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 75 tokens per session (2,645 once invoked), scanned A, original, MIT.

A security guide for Supabase applications, covering database access rules, user roles, authentication flows, API keys, and checks for data exposure.

In plain words
What is it for?
Use it to audit Row Level Security policies, set up role-based access, review authentication and API-key usage, run Supabase security checks, and prevent leaks.
Why use it?
It helps find configuration mistakes that could let users see or change data they should not access.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 171 skills, 8 agents, 2 MCP servers shipped together

Good fit Use it to audit Row Level Security policies, set up role-based access, review authentication and API-key usage, run Supabase security checks, and prevent leaks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/supabase-security-expert
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 roedyrustam/vibes-plug --skill supabase-security-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 171 skills, 8 agents, 2 MCP servers.

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 supabase-security-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/supabase-security-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/supabase-security-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/supabase-security-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/supabase-security-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for supabase-security-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/supabase-security-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/supabase-security-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00075 $0.02645
Opus 5.5 $0.00030 $0.01058
Sonnet 5.5 $0.00015 $0.00529
Haiku 4.5 $0.00007 $0.00265

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

Security

Grade A, and why

supabase-security-expert scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/supabase-security-expert/SKILL.md · 259 lines

How it starts

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

Supabase Security Expert (2026 Edition — Auth v3 / PKCE)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Database Architecture & ORM: database-orm-expert, saas-multi-tenant, saas-billing
  • Identity & Authentication: authentication-identity-expert, zero-trust-secret-vault
  • Threat Defense & Pen-Testing: autonomous-red-teamer, rate-limit-abuse-prevention, prompt-injection-firewall
  • Frontend & Storage Integration: senior-frontend, nextjs-app-router-expert, file-upload-media-expert
  • Lifecycle & Governance: production-ready-hardener, brainstorming, zero-to-prod-orchestrator, session-memory-manager

Description

Expert guide for auditing and hardening Supabase applications. Covers Row Level Security (RLS), Supabase Auth v3 (PKCE flow), API key hygiene, data leakage prevention, Supabase Linter, and production security checklists.

Trigger Conditions

  • Auditing RLS policies for correctness and security gaps.
  • Setting up Supabase Auth v3 with PKCE flow (replaces implicit flow).
  • Reviewing API key usage (anon key vs. service role key).
  • Preventing data leakage from misconfigured policies.
  • Running Supabase Linter (supabase lint) for automated security checks.
  • Implementing user roles and access control in a Supabase project.

Supabase Auth v3 — PKCE Flow (2026 Default)

Supabase Auth v3 now uses PKCE (Proof Key for Code Exchange) as the default flow for all OAuth and magic link authentication — replacing the older implicit flow:

// supabase/client.ts — v3 client setup
import { createBrowserClient } from '@supabase/ssr';

export const supabase = createBrowserClient(
  process.env.NEXT_PUBLIC_SUPABASE_URL!,
  process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
  {
    auth: {
      flowType: 'pkce', // Default in Auth v3
      autoRefreshToken: true,
      persistSession: true,
      detectSessionInUrl: true,
    }
  }
);

Read the full file on GitHub · 259 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. 2d ago Changed · +7 lines · +75 tokens per session bbd66d5f579b
  2. 3d ago Changed · +2 lines · -75 tokens per session 525d28e8bbcf
  3. 6d ago Changed 7383724737de
  4. 15d ago Changed 21513969f2a7
  5. 20d ago Changed a088cf517990
  6. 21d ago Changed ec0deedd5e40
  7. 23d ago Changed · -6 lines · +62 tokens per session 82e4d37ac11d
  8. 25d ago Changed · +6 lines · -62 tokens per session c965a4834973
  9. 1mo ago Changed 2ff89b5a93e3
  10. 1mo ago First seen · 250 lines · 75 tokens per session scan A b92d10826c87

Subscribe to this mod's changes

supabase-security-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 2,645 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

postgresql-table-design

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

chidekina/aria-superpowers · 31 tokens

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…

addyosmani/agent-skills · 69 tokens

ai-engineering-toolkit

Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

schema

Designing database schemas, migrations, and multi-tenant architecture: RLS, tenant routing, provisioning, quotas, and isolation. Not for query-plan tuning (Tuner).

simota/agent-skills · 37 tokens

seek

Designing search engines and vector DBs for full-text, vector, and hybrid retrieval, including permission-aware retrieval for multi-tenant or per-role corpora. Use for search design, index optimization, the RAG retrieval layer, or deciding where ACL filtering belongs in the query path.

simota/agent-skills · 59 tokens

system-and-data-design

Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…

AnastasiyaW/codex-claude-code-config · 217 tokens