Supabase Audit Realtime

🌐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-realtime npx -- -y @trustedskills/supabase-audit-realtime
2

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

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

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

About This Skill

The supabase-audit-realtime skill enables AI agents to continuously monitor Supabase database activity in real-time, identifying unauthorized access or suspicious patterns as they occur. It leverages Supabase's built-in audit logs to provide immediate visibility into data changes and user actions within the infrastructure.

When to use it

  • Detecting potential security breaches or unauthorized data modifications instantly during active development cycles.
  • Monitoring compliance requirements by tracking who accessed sensitive records and when those accesses occurred.
  • Investigating anomalous behavior, such as bulk data exports or privilege escalation attempts, without manual log review.
  • Validating that role-based access controls (RBAC) are functioning correctly across different user sessions.

Key capabilities

  • Real-time ingestion of Supabase audit logs via WebSockets.
  • Filtering events by specific tables, users, or action types (e.g., INSERT, UPDATE, DELETE).
  • Alerting mechanisms triggered when predefined risk thresholds are exceeded.
  • Integration with existing security dashboards for centralized threat monitoring.

Example prompts

  • "Set up real-time alerts for any DELETE operations on the 'users' table from IP addresses outside our known range."
  • "Analyze the last hour of audit logs to identify all users who accessed the 'payments' collection and flag those with admin privileges."
  • "Create a live dashboard showing active sessions and their associated database query frequencies for the past 30 minutes."

Tips & gotchas

Ensure your Supabase project has audit logging enabled in the dashboard settings before deploying this skill, as it relies on existing log streams. Be mindful of high-frequency event volumes, which could overwhelm downstream alerting systems if not properly throttled or aggregated.

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
83

🌐 Community

Passed automated security scans.