Home / Claude Code mods / Security / supabase-guard

supabase-guard

supabase-guard is a Claude Code mod by Szotasz that supabase guard: stops Supabase calls aimed at a project other than the current folder's, and asks in a one-key popup before destructive SQL, branch resets or project pauses. /supaor.

Updated 2026-10-07

What is supabase-guard?

supabase-guard is a Claude Code mod by Szotasz that supabase guard: stops Supabase calls aimed at a project other than the current folder's, and asks in a one-key popup before destructive SQL, branch resets or project pauses. /supaor. It is listed under Security and has 6 GitHub stars.

TypeClaude code mod
AuthorSzotasz
RepositorySzotasz/claude-mods
Popularity6 GitHub stars
CategorySecurity
SecurityLow risk (84/100)
Rank#668 of 5,272 Claude Code mods; #93 in Security
Last commit2026-10-07
Stars this week+4
Hooks4 events
SeesBash calls, every tool call
Draws onnothing

Is supabase-guard safe to install?

supabase-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.session.cwd
$.session.repo
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.toastdraws interface

How do I install supabase-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Szotasz/claude-mods
    claude plugin validate ./claude-mods/plugins/supabase-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Szotasz/claude-mods && claude plugin install supabase-guard@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs supabase-guard for you:

Install the "supabase-guard" Claude Code mod from https://github.com/Szotasz/claude-mods/tree/main/plugins/supabase-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Szotasz/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • decision-popup: Decision popup: Claude asks every decision (approve/refuse, A or B, irreversible steps) as a one-key question, drawn in (Low risk)
  • focus-mode: Focus mode: hides tool calls, intermediate text, your prompts and command output; shows only a subtask list with progres (Low risk)
  • project-pane: Side pane for the current repo: git state with a one-press GitHub sync, Netlify deploys, PRs and CI, Supabase project. H (Review before installing)
  • public-repo-guard: Push guard: before a git push to a public GitHub repo (or making one public) it scans what would go out for Supabase pro (Review before installing)
  • snake-pane: Snake in the side pane while Claude works: opens when you send a prompt, pauses when the turn ends, keeps your best scor (Review before installing)
  • tool-hub: Toolbox: a button at the bottom right of the prompt footer (or /eszkozok) opens switches above the prompt for Szabolcs's (Low risk)
  • usage-band: Status line: model, context window, 5-hour and weekly limits with reset times, warning past 90%. Hungarian or English. (Low risk)
  • usage-header: Band above the prompt: context window broken down by category in colours, plus the 5-hour and weekly limits. Hungarian o (Low risk)