hermes-lekkas

Supalock Rls — Security skill for Claude Code

Security community

Deep PostgreSQL and Supabase Row Level Security (RLS), views, functions, and privilege audit with a table-by-table matrix and SQL remediation templates.

How to install Supalock Rls

Installs to ~/.claude/skills/hermes-lekkas-supalock-supalock-rls/SKILL.md

Terminal
mkdir -p ~/.claude/skills/hermes-lekkas-supalock-supalock-rls && curl -fsSL https://raw.githubusercontent.com/hermes-lekkas/supalock/HEAD/commands/supalock-rls.md -o ~/.claude/skills/hermes-lekkas-supalock-supalock-rls/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Supalock Rls does


description: Deep PostgreSQL and Supabase Row Level Security (RLS), views, functions, and privilege audit with a table-by-table matrix and SQL remediation templates. argument-hint: "[migrations-path-or-table-name]"

`/supalock-rls` — Deep RLS & Postgres Privilege Audit

Follow the `supalock-rls` skill workflow focusing on `${ARGUMENTS:-supabase/migrations}` (or all `.sql` schema files in the repo):

  1. Run RLS & Postgres Static Scan:
    • Run `supalock scan . --category rls --categ

Alternatives in Security

  • Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
  • Postgres — Execute safe read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-d 159 ★
  • Diff Audit — PR / commit-scoped differential audit — audits only changed functions (plus 1-hop callers), flags removed secu 50 ★

Full documentation available on GitHub

View Source Repository