Health check for AI-written code Free · Open source · Runs locally

Your AI says it’s done. Is it?

VibeDoctor scans vibe-coded JavaScript, TypeScript and Python apps for leaked keys, broken API routes, swallowed errors, vulnerable packages, and personal data leaking into logs and LLM prompts. Then it tells you, or your coding agent, what to fix first.

npx @neuralaxis/vibedoctor scan --full

Works with Cursor, Claude Code, Codex and GitHub Copilot. Scan apps from Lovable and Bolt.new once the code is in a repo.

Diagnosis Not done

Fix next 13 findings · 5 blockers

  1. high POST /api/user has no matching route src/client.ts:2
  2. high Success returned after a caught failure src/handler.ts:9
  3. critical GitHub token committed to source src/config.ts:1
  4. medium Error swallowed by an empty catch src/handler.ts:4
  5. critical Personal data sent in an LLM prompt src/service.ts
  6. high Email and phone written to logs src/service.ts:6
Real vibedoctor scan output on a demo app built from our test fixtures.
Everything is fine. Probably.
SHIP IT! / 15 seconds of bad decisions
Golden bug = 3 points. Space or Enter catches a focused bug. Just a game, not a code scan.

Watch

Your AI says it’s done. Is it?

What it finds

Six ways AI-written code looks done and isn’t.

None of these fail a build. Most pass the tests the same agent wrote. Each one has its own page with a real example, what VibeDoctor reports, and what it can’t see.

Beyond the linter

The checks a linter won’t run.

VibeDoctor runs the usual tools for you: gitleaks, osv-scanner, TypeScript, Ruff, Biome, knip. These three are its own, and they look at the mistakes AI agents make most.

Flow DoctorBuilt in

Frontend and backend that don’t agree.

Matches your fetch and axios calls to Express, Next.js, FastAPI and Flask routes. Flags wrong methods, routes wired to handlers that don’t exist, and catch blocks that return success after a failure.

PrivacyStays local

Personal data in prompts and logs.

Finds emails, phone numbers and other personal fields going into OpenAI or Anthropic prompts, embeddings and vector stores, and whole user objects written to logs. The scan never leaves your machine.

DPDP Act38 controls

India’s DPDP Act, checked in code.

Maps the personal data your code collects and checks 38 technical controls: consent, logging, retention, erasure, children’s data, and processors. You get a data map, a control matrix, and a review queue for the questions code can’t answer.

Works with your tools

Hand the fix list to the agent that wrote the code.

One command writes instructions your coding agent reads on its own: scan, fix the top issue, verify, repeat. There is also an MCP server for agents that call tools.

npx @neuralaxis/vibedoctor agent init --targets all
  • Cursor .cursor/rules and MCP config
  • Claude Code .claude/skills and a plugin
  • Codex AGENTS.md, skills, and a plugin
  • GitHub Copilot .github/copilot-instructions.md

Built it in Lovable or Bolt.new? Push the project to GitHub, clone it, and run the scan. Securing a Lovable app · Securing a Bolt.new app · Agent setup

No false all-clear

A scanner that didn’t run is never “clean”.

Every report says whether each check actually finished. If one was missing or timed out, the scan is marked partial and tells you how to recover, instead of showing a clean score it didn’t earn.

How scans are scored →

COMPLETE

All required checks completed.

Work through the ranked findings.

PARTIAL

Some checks were skipped, failed, or timed out.

Follow recoveryActions. Do not rely on the score alone.

INVALID

Not enough trustworthy evidence for an authoritative result.

Recover the required scanners and scan again before editing.

Questions

Before you run it.

Is VibeDoctor free?

Yes. VibeDoctor is free and open source under GPL-3.0-or-later. Run it with npx; there is no account, sign-up, or API key.

Does VibeDoctor upload my code?

No. Scans run on your machine and the report is written to .vibedoctor/ in your repository. Installing tools, looking up known vulnerabilities in the OSV database, and the optional AI review can use the network.

Can I scan an app built with Lovable, Bolt.new, Replit or v0?

Yes, once the code is in a git repository. Connect the project to GitHub, clone it, and run npx @neuralaxis/vibedoctor scan in the folder.

Does it work with Cursor, Claude Code, Codex and GitHub Copilot?

Yes. vibedoctor agent init writes instructions each of them reads, so the agent can scan, fix the top-ranked issue, and verify. There is also an MCP server for agents that call tools.

Which languages does VibeDoctor support?

JavaScript, TypeScript, Python, and repositories that mix them. It needs Node.js 18 or later.

How is it different from a linter or a single security scanner?

It runs those tools for you, including gitleaks, osv-scanner, TypeScript, Ruff and Biome, and adds its own checks for broken API routes, errors returned as success, personal data in LLM prompts, AI leftovers, and India's DPDP Act. Everything lands in one ranked list, and a scan is marked partial when a tool did not run.

Is the DPDP scan a compliance certificate?

No. It is technical readiness evidence from your code: a data map, a control matrix, and a review queue. It is not legal advice and not a DPDP compliance certification.

Run it

One command, in the repo you’re about to ship.

Needs Node.js 18 or later. Free and open source under GPL-3.0-or-later. Version 0.3.1.

npx @neuralaxis/vibedoctor scan --full

It detects your languages, runs the checks that apply, and writes a ranked report to .vibedoctor/. After a fix, vibedoctor verify re-checks only what changed.

Want the extra engines installed in the project? Run npx @neuralaxis/vibedoctor setup to see the plan, then setup --apply. Global install: npm install -g @neuralaxis/vibedoctor

GitHub · npm · What stays on your machine

Before you ship

Checklists for vibe-coded apps.

  1. Vibe Coding Security Checklist: 15 Things to Check Before You Ship A vibe coding security checklist for the hour before you deploy an AI-built app: secrets, auth, RLS, APIs, leftovers, and a local scan.
  2. Is Vibe Coding Safe? The Security Risks Nobody Notices Until Production Is vibe coding safe? The security risks in AI-built apps are not sci-fi. They are missing auth, open RLS, and secrets that only show up in production.
  3. How to Secure a Lovable App Before You Deploy It Lovable security checklist: Edge Functions, Secrets, Supabase RLS, auth, public previews, and what to scan after you export the repo.