Supabase Audit Authenticated

🌐Community
by yoanbernabeu · vlatest · Repository

Helps with Supabase, auditing as part of working with databases and data persistence workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add supabase-audit-authenticated npx -- -y @trustedskills/supabase-audit-authenticated
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "supabase-audit-authenticated": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/supabase-audit-authenticated"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The supabase-audit-authenticated skill enables AI agents to perform security audits on Supabase projects by executing authenticated queries. It allows the agent to inspect database schemas, review row-level security policies, and analyze user access configurations directly within the environment.

When to use it

  • Verifying that Row Level Security (RLS) policies correctly restrict data access for different user roles.
  • Auditing existing database tables and views to identify potential schema vulnerabilities or overly permissive settings.
  • Checking authentication provider configurations to ensure only authorized users can interact with the database.
  • Validating that service role keys are not exposed in application code or environment variables accessible to the agent.

Key capabilities

  • Executes SQL queries using valid Supabase authentication tokens.
  • Retrieves detailed metadata about tables, columns, and indexes.
  • Inspects pg_policies to analyze Row Level Security rules.
  • Queries auth.users and related extension tables for access control insights.

Example prompts

  • "Audit the current Row Level Security policies on the 'users' table and summarize any potential over-permissioning risks."
  • "List all database tables and their associated RLS policies, highlighting which ones are currently disabled or missing."
  • "Check if the service role has access to sensitive columns in the 'payments' table and report your findings."

Tips & gotchas

Ensure the AI agent is provided with a valid API key or connection string with appropriate permissions before running audits. This skill relies on the underlying Supabase infrastructure being accessible; it cannot audit projects where network connectivity or authentication credentials are missing.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
yoanbernabeu
Installs
76

🌐 Community

Passed automated security scans.