viberaven
v1.6.12
Published
Supabase RLS and security check for AI-built apps on Vercel + Supabase (Lovable, Bolt, Cursor, Claude Code): tables without RLS, using (true) policies, service role keys in client code, unsigned Stripe webhooks. Runs locally. Advice, not a gate.
Maintainers
Readme
viberaven
A successful Vercel deploy does not prove that Supabase keeps one user's rows private. VibeRaven reads an AI-built Vercel + Supabase app's repository for missing RLS, permissive policies, browser-exposed service-role keys, environment names absent from .env.example, and Stripe handlers without raw-body signature verification.
This package launches @viberaven/cli at the same version and forwards arguments and exit status.
Start From Your App
Requires Node.js 20 or newer. Run from your app's project root:
# Open the local Studio
npx -y [email protected]
# Fresh terminal check
npx -y [email protected] checkUse a pass before launch or handoff, after a migration/policy change, or for a production RLS, environment, database connection, service-role or Stripe webhook failure. Studio combines findings, provider context and git comparisons. For chat, select an installed/authenticated coding CLI and use Test connection.
check refreshes .viberaven/agent-tasklist.md, gate-result.json and context-map.json without patching source. Have the agent read tasks/source and recheck after fixes. check --json prints a summary; --json prints the full gate object after a fresh scan.
Default check returns 0 without critical blockers, allowing warnings; 1 with blockers; 2 on scan error. --strict=warning --json also fails warnings, with 2 for errors and 3 for unknown/unavailable results. Unrestricted SELECT can be intentional public content and is a warning.
Scope And Integration
Grants determine access with RLS off. Verify live user access and provider steps separately; repository edits alone cannot complete them. A clear check is not a security audit, build or deployment. The scan needs no VibeRaven login/API key; npm downloads can need network.
MCP hosts use @viberaven/mcp. See the public repository, agent reference and RLS comparison. The maintainer-authored comparison retains published 1.6.3 runs in local databases, not new 1.6.6 scans or independent endorsement. License: MIT.
