run_vibe_audit
Audit a local Next.js + Supabase project for exposed env vars, RLS gaps, unauthenticated API routes, client-side secrets, and injection risks; get a scored report with file paths and fix code.
Instructions
Run a comprehensive security audit on a local project (Vibe Audit). Internally chains 5 security checks (env exposure, Supabase RLS config, API route auth, client-side secrets, injection risk) and returns a scored report (0-100) with per-finding severity (critical: -20, high: -10, medium: -5, low: -2), exact file paths, evidence snippets, and copy-pasteable fix code. Designed for vibe-coded projects using Next.js + Supabase. Use only on projects you own or manage.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "run_vibe_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Absolute path to the project directory to audit. Must be a directory you own or manage. |