Vibe code audit and hardening

Your AI built it. Let’s make sure it’s valid.

You got it this far with Cursor, Claude Code, Replit, or Lovable. Now an engineer with 30 years of experience will review your code, explain what’s wrong in plain English, and fix it, so you can trust it with real customers.

Reuven Lerner, smiling, in a white shirt

Reuven Lerner · MIT, PhD · O’Reilly and Manning author

Sound familiar?

It works on your laptop. But can you trust it?

Vibe coding is a smart way to get started. It’s also easy to end up with an app you’re nervous to launch, show investors, or hand to customers.

  • “Is this secure? Did the AI leave API keys or a database wide open?”
  • “What happens when 100 users hit it at once?”
  • “There are no tests, and I’m scared to change anything.”
  • “I don’t actually understand how this code works.”
  • “Will a real developer laugh at this when I hire one?”
  • “Could this run up a surprise bill?”

These are reasonable questions, and you deserve straight answers. That’s what a code review from an experienced human using modern tools gives you.

How it works

From “it works on my laptop” to “I trust this in production”

  1. You share your repo

    Give me access to a private GitHub or GitLab repository, or send a zip file. I’ll sign an NDA if you need one.

  2. I audit it and send a report

    You get a written report: every finding rated by severity, explained in plain English, with a recommended fix and a prioritized action plan.

  3. We fix what matters

    If you’d like, I harden the code: closing security holes, adding tests, and refactoring the riskiest parts. Or hand the report to any developer you choose.

What the audit covers

Six areas where AI-written code tends to go wrong

  • Security

    Secrets in code, authentication and authorization, injection risks, exposed endpoints, and vulnerable dependencies.

  • Correctness

    Bugs, edge cases, error handling, and data integrity: the things that work in a demo and break with real data.

  • Tests

    What exists, what’s missing, and which tests matter most, so you can change code without fear.

  • Architecture and maintainability

    Structure, duplication, dead code, and readability. Could another developer take this over?

  • Dependencies and deployment

    Pinned versions, environment configuration, reproducible setup, and hosting.

  • Cost and performance risks

    Inefficient queries, runaway API usage, and scaling problems that could surprise you on your next bill.

What a report looks like

Example findings

Illustrative examples, not from a client project.

Critical

An API key is committed to the repository

Your OpenAI key is in settings.py. Anyone who ever sees the repo, including a future contractor or a leaked backup, can run up charges on your account.

Fix: rotate the key today, load it from an environment variable, and add a secret scanner so it can’t happen again.

High

Any logged-in user can read any invoice

The /invoices/<id> endpoint checks that someone is logged in, but not that the invoice is theirs. Changing the number in the URL shows another customer’s data.

Fix: look up invoices only within the current user’s account, and add a test that tries to read someone else’s.

Medium

A retry loop can call the LLM forever

When the model returns malformed JSON, the code retries with no limit. One bad response could make thousands of paid API calls overnight.

Fix: cap retries, add a timeout, and set a spending limit with your provider.

Pricing

Clear prices, fixed quotes

Every engagement starts with a free intro call. You’ll get a fixed quote before any work begins.

Audit

From $4,500

Fixed quote after your intro call

A thorough review of all six areas, with a written report: severity ratings, plain-English explanations, recommended fixes, and a prioritized action plan.

Due diligence audit

From $9,500

For investors and acquirers

The same review, written for someone deciding whether to invest in or acquire a product. Adds an executive risk summary, a rough estimate of the effort to fix or rebuild, a dependency-license check, and whether a new team could take it over.

Hardening

Typically $8,000–$25,000

Fixed-price quote from your audit’s action plan

I fix what the audit found: patching security holes, adding tests, refactoring the riskiest parts, cleaning up dependencies, and documenting what changed and why. Follow-up work: $350/hour.

Add-on to an audit

Walkthrough: $950

2-hour recorded Zoom session with your team; add-on to an audit. I walk you and your team through your own code, the findings, and the fixes, so you actually understand what you own.

Audit credit: 50%

50% of your audit fee credited toward Hardening booked within 30 days.

No judgment. The report is yours to keep. Use it with me, with another developer, or on your own.

Reuven Lerner, smiling, in a white shirt

Who you’ll work with

I don’t just fix your code. I can explain it.

I’m Reuven Lerner. I’ve been a Python trainer, consultant, and author since 1995, and teaching people to understand code has been my career. That’s what separates this from a generic dev shop: you’ll come away knowing what you own.

  • MIT computer science degree; PhD in learning sciences
  • Author of AI-Assisted Python for Nonprogrammers (O’Reilly), Python Workout, and Pandas Workout (Manning)
  • Corporate trainer for companies including Apple, Cisco, Intel, and VMware
  • Frequent instructor on the O’Reilly learning platform
  • Speaker at PyCon US and EuroPython every year since 2019
  • Linux Journal columnist for 20 years
  • I run LernerPython and write the Better Developers newsletter

I use Claude Code as a core part of my workflow. It makes me faster and more thorough. But every finding is reviewed, judged, and explained by me. You’re paying for experience, not an automated scan.

Is this a fit?

Built for Python projects

Best fit

Python projects of all kinds: web apps (Flask, Django, FastAPI), data analysis and machine learning (Pandas, Polars, Jupyter, scikit-learn), scripts and automation, and AI/LLM-powered apps. If you need a Python code audit, you’re in the right place.

Possibly a fit

Unix shell scripts, Ruby on Rails applications, and PostgreSQL database apps.

Not a fit

Software written in C, C++, Java, or C#, and mobile apps.

Questions?

Do you use AI to audit my AI-written code?
Yes. Claude Code makes me faster and more thorough, but every finding is reviewed and explained by me.
What if my code is a total mess?
That’s normal, and it’s exactly why this service exists. No judgment.
Do I have to do the hardening with you?
No. The audit report is yours to use however you want.

Read all the FAQs

Ready to make your vibe coded app production ready?

Book a free 20–30 minute intro call. Tell me about your project and what worries you, and I’ll tell you honestly whether an audit makes sense.