vibeshield-security-audit
Installation
SKILL.md
VibeShield Pre-Deploy Web & Supabase RLS Audit
When to Use
Use before deploying an AI-built Next.js, Vite, Supabase, or Firebase web app to verify zero secret keys or service_role tokens are bundled into client JavaScript and every public table enforces Row-Level Security.
Checklist & Workflow
- Search client build output (
.next/static/chunks,dist/assets) andNEXT_PUBLIC_*/VITE_*env vars to ensure zero private API keys or Supabaseservice_roleJWTs reach browser bundles. - Verify every
publicschema table in Supabase executesALTER TABLE ... ENABLE ROW LEVEL SECURITY;and avoidsUSING (true)on write/sensitive read policies. - Verify
/.env,/.git/HEAD, and production.js.mapsource maps are not publicly served. - Add
Strict-Transport-Security,Content-Security-Policy,X-Content-Type-Options: nosniff, andReferrer-Policyresponse headers. - Run
npx github:zColdWater/vibeshield-cli scan <url>, gate CI withuses: zColdWater/vibeshield-action@v1, or inspect the live 6-phase 116-check trace at https://vibe-checker.appwrite.network/?ref=skill-vibeshield.