← Back to Blog

Your Vendor's AI Wrote 42% of the Code. Who Reviewed It?

Developers say AI now writes 42% of the code they commit, and less than half always check it. Here's what to ask a dev shop about review before you sign.

If you’re hiring a development firm in 2027, some of the code you pay for will be written by AI. That’s not a problem by itself. Good developers use AI tools, and they can be faster for it. The question is what happens between the AI writing the code and that code landing in your product.

Right now, the honest answer at a lot of firms is: not as much as you’d think.

What the Numbers Say

In January, Sonar published its State of Code Developer Survey of more than 1,100 developers. Respondents said AI accounts for 42% of the code they commit, and they expect that to reach 65% by 2027.

The same developers don’t trust it much. 96% said they don’t fully trust that AI-generated code is functionally correct. But only 48% said they always check AI-assisted code before committing it. And 38% said reviewing AI code takes more effort than reviewing code a person wrote.

Put that together: developers don’t fully trust the code, don’t always check it, and find it harder to check when they do. Amazon’s Werner Vogels has a name for that gap: verification debt.

Security is the other half of it. In its 2025 GenAI Code Security Report, Veracode tested code from more than 100 large language models across Java, Python, C# and JavaScript. 45% of the samples failed security tests and introduced a vulnerability from the OWASP Top 10, the standard list of the most common web application security risks. Java was worst at a 72% failure rate. Newer and larger models didn’t do any better on security than older ones.

Veracode’s own conclusion is the one that matters for buyers: AI-generated code is likely already in your stack, including code from third-party vendors and outsourced contractors.

Why This Is a Buying Question

None of this means you should hire a firm that bans AI. That firm probably doesn’t exist, and if it claims to, ask how they enforce it.

It means “do you use AI?” is the wrong question. Everyone will say yes, or they’ll say no and it won’t be true. The useful question is what their process does with AI output before it ships. A firm with a real answer will describe it without much prompting. A firm without one will talk about how fast they are.

Speed is what the demo shows you. As we wrote about vendor demos, what you see in the room is real, just not the whole picture. Review and testing happen after the demo, where you can’t see them, which is exactly why you have to ask.

Questions to Ask Before You Sign

Put these in your RFP or ask them on the call:

  1. Does every change get reviewed by a person before it merges? Not “usually.” Every change. Ask who does the reviewing and whether it’s someone other than the person who wrote it.
  2. How do you handle AI-generated code in review? Look for an answer that treats it like any other code, held to the same standard, not waved through because it looked right.
  3. What automated security scanning runs on our code? Ask for the tools by name and when they run. Static analysis and dependency scanning on every change is a reasonable bar.
  4. What tests do you write, and do they run automatically? Tests that run on every change catch the “looks correct but isn’t” problem before it reaches you.
  5. Which AI tools do your developers use, and on what accounts? Sonar found 35% of developers use AI tools through personal accounts. You want to know where your code and data are being sent, and under whose terms.
  6. Will you put this in the contract? If review and testing are part of how they work, writing them into the statement of work shouldn’t be a big ask.

None of these are gotcha questions. A good firm will be glad you asked, because it gives them a chance to show the part of their work you’d otherwise never see.

Make It Part of the Contract

The contract is where answers turn into obligations. We covered the ownership side in who owns your code: who holds the repository, the accounts, and the rights at the end. Review and testing belong in the same conversation. If the firm commits to code review, automated scanning and test coverage, write it down, along with what you get to see, like access to the repository and the test results.

That’s also what protects you later. If you ever bring in a new team, code that was reviewed, tested and documented as it was written is far easier to take over than code that wasn’t.

The Bottom Line

AI writing a large share of your code is normal now. AI-written code that nobody checked shouldn’t be. Ask how the firm reviews and tests before you sign, and get the answer in writing.

If you want help evaluating a vendor’s process or reviewing a proposal, that’s part of our software consulting work. And when you’re ready to talk about your own build, get an estimate.