Vibe Check

Finds what breaks in production, before your users do. Every finding comes with evidence.

Live v0.1 Runs locally Product page
Overview

Run it

Deterministic checks only. No AI guessing, nothing uploaded. Each finding says what was detected, why it matters and what to do.

Run it from your project root (or pass --cwd <dir>). It reads files, package.json and config; it never runs your code. Add --no-audit to skip the npm audit step.

Checks

What it looks at

CheckLevelFix
Secrets in code (redacted in the report)restrictedRotate the key. Never edited for you.
.env committed to gitrestrictedManual
.env files not ignoredautomaticdoctor.env-ignore
Env vars missing from .env.exampleautomaticdoctor.env-example
No Content-Security-Policyrecommendeddoctor.csp-report-only (Netlify)
Node version not pinnedrecommendeddoctor.engines
No automated testsrecommendedManual
API routes without rate limitingrecommendedManual
No error monitoringrecommendedManual
High/critical vulnerable dependenciesrecommendedRun npm audit fix and re-test

If Vibe Accounts is installed (a vibe-id.config.json exists), Vibe Check also checks its files, dependencies, endpoint wiring and which pages load the client.

Fix

Fix and undo

Findings with a fix id can be applied in one command. You see the diff and approve it first.

  • --yes approves without the prompt (CI, agents). Restricted changes still need --confirm "I understand".
  • After applying, it re-scans and confirms the finding is resolved.
  • Every change is journaled with a backup of each file it touches.

Run revert with no id to list what can be undone. Prefer a UI? Vibe Settings shows the same findings with one-click fixes.

CI

Exit codes

CodeMeaning
0No blocking problems. Recommendations are listed as warnings but don't fail the run.
1A restricted problem (leaked secret, committed .env), Node below 20, or a broken Vibe Accounts install.

Need machine-readable output? vibe-tools scan --json prints the project profile and every finding.

Format

Anatomy of a finding

{
  id: 'doctor.env-ignore',
  title: '.env files are not ignored',
  detected: '.env exists but .gitignore doesn\'t cover it.',
  why: 'One `git add .` away from publishing your secrets.',
  action: 'Add .env* (keeping .env.example) to .gitignore.',
  level: 'automatic', confidence: 'high', impact: 'high',
  evidence: [{ file: '.env', match: 'not ignored' }],
}

Fixes follow the safety levels. Findings and your decisions are saved to .vibe/state.json.