AI Project Estimate

Technical Due Diligence for Software: A Checklist, and What Changes When AI Wrote the Code

Alexander Rocket9 min read

Technical due diligence for software is the review an investor or buyer runs on a company’s code, systems and engineering team before money changes hands. An engineer checks six things: architecture, code quality, security, infrastructure and costs, team and process, and who owns the code. If much of your product was written with AI tools, expect five extra questions: old keys in git history, data access rules, untested code, license origins and who can maintain it.

What is technical due diligence, and who asks for it?

In property deals, “technical due diligence” means a building survey. In software deals, it means someone reads your code and asks your team hard questions before a term sheet turns into a wire transfer.

You’ll usually meet it in three places:

  • Seed and Series A rounds. Not every seed investor asks for it, but a lead investor writing a bigger check often asks an engineer, in-house or hired, to look before closing. It usually starts after the term sheet is signed.
  • Acquisitions. A buyer wants to know if the product can be kept, merged into theirs or has to be rebuilt. Here the review goes deeper and the lawyers read the findings too.
  • Your own health check. Founders run the same review on themselves before a raise or a sale. This is called sell-side due diligence, and it gives you time to fix things.

It runs from a few days to a few weeks, depending on the product and the deal, so it looks for risk, not style.

What does the investor’s engineer check?

Most checklists agree on six areas:

AreaWhat they look atWhat they ask you forWhat worries them
ArchitectureHow the parts fit, where data lives, what breaks at 10 times the usersA diagram, the list of outside servicesOne server doing everything, no idea what happens under load
Code qualityCan it be built and run, how much has tests, copied logic, old librariesRead access to the repositoriesNo tests, a build only one person can run
SecurityWho can see whose data, where keys are kept, what is open to the internet, how payments are confirmedAccess to staging, the last security review if anyKeys in the code, admin pages without login, payments trusted from the browser
Infrastructure and costsHosting, backups, monitoring, the monthly cloud bill and how it growsCloud accounts (read only), the last 3-6 invoicesNo backups anyone has restored, a bill growing faster than revenue
Team and processWho knows what, how code gets reviewed and released, how fast bugs get fixedOrg chart, a walk through a recent releaseOne person holds all the knowledge, releases by hand on Friday night
IP and licensesWho wrote the code, contracts with contractors, open source licensesContractor agreements, a license reportCode written by freelancers with no IP assignment, copyleft code inside a closed product
The technical due diligence checklist for a software company

The output is a list of findings, each marked by how much it could hurt the deal. A missing backup is a fix. A product that can’t run without one contractor who left is a price discussion.

What changes when AI wrote the code?

AI tools let a small team ship a lot of code fast. That adds questions, because code nobody typed may also be code nobody read.

Secrets in git history

AI assistants sometimes paste an API key straight into a file to make a feature work. GitGuardian counted 28.65 million new hardcoded secrets in public GitHub commits in 2025, up 34% on the year before. In the same report, commits made with Claude Code leaked secrets at 3.2%, against a 1.5% baseline for all public commits.

Deleting the line doesn’t help: the key stays in git history. GitHub’s own guide says to revoke or rotate the secret first, because rewritten history can still live on in clones, forks and pull requests. A reviewer will scan every commit, not just the latest code, and will ask which keys were replaced.

Data access rules

Many AI app builders connect the browser straight to a hosted database. That’s only safe if each table has rules saying who can read and write which rows. Supabase’s docs put it plainly: enable Row Level Security on every table in an exposed schema. Without it, the table can be read and changed by anyone the database lets in.

In a scan reported by Techzine, research firm Crissy Field looked at 159,041 Lovable projects and found 24,664 sites that showed database records without a login. The article notes some of that data may be meant to be public. A reviewer won’t guess. They’ll log in as one test user and try to read another user’s records.

Generated code nobody tested

AI tools are getting better at safe code, but they aren’t there yet. Veracode’s October 2026 test of 18 models found an average security pass rate of 62%, up from 56%. Put the other way, on average 38% of the generated code still failed the security checks.

The reviewer’s question is simple: how do you know sign-up, login and payments still work after the next change? If the answer is “we click through it”, that’s a finding. Tests for the paths that make you money are the cheapest way to answer it.

Dependencies and licenses

Almost all software runs on open source. Black Duck’s 2026 report on audited codebases, many of them from M&A deals, found open source license conflicts in 68% of them, up from 56% the year before. The report blames part of the rise on what it calls “license laundering”: AI tools can produce code that came from licensed projects without carrying the license with it, so dependency scanners don’t flag it.

Expect the reviewer to run a license scan and ask how you check AI-written code for copied snippets.

Who owns it, and who can maintain it

Ownership has a new wrinkle. The US Copyright Office says AI output is protected only where a human author decided enough of the expression, and prompts alone don’t count. Ask your lawyer about it; the reviewer may flag it.

The bigger risk is practical. If nobody on the team can explain a part, the buyer pays for code they’ll have to relearn or rewrite.

What does a technical due diligence report look like?

A good report is short at the top and detailed underneath:

  • A one-page summary. The overall verdict in plain words, readable in a few minutes by a partner who doesn’t code.
  • Findings, worst first. Each one with the evidence (a file, a screenshot, a query) and what it could cost.
  • A rating per area. Often red, amber or green against what a company at your stage should have.
  • Recommendations. What to fix before closing, what to fix in the first 90 days, and what can wait.
  • A read-out call. The engineer walks the investor through it, and sometimes your team too.

Findings rarely kill a deal. They change the price, add closing conditions or set the first jobs for the new money.

How should a founder prepare?

Start a few weeks before the raise or sale, not after the term sheet:

  1. Make a list of every account the product needs (code, hosting, domain, app stores, payments, email, AI APIs) and move each into the company’s name.
  2. Replace every key that was ever in the code, then confirm the old ones no longer work.
  3. Check the database rules by logging in as two test users and trying to read each other’s data.
  4. Write tests for sign-up, login and payment, and make sure they run on every change.
  5. Run a dependency and license scan and fix the worst items.
  6. Turn on backups and restore one to prove it works.
  7. Draw the architecture on one page and write down how to build and release the app.
  8. Collect contractor agreements that assign the code’s IP to the company.

Run the same check before the investor does

You can wait for the investor’s engineer to find the problems, or you can find them first. Our code audit is a fixed $3,500, with a written report 5 working days after we get access. It covers who owns each account, the state of the code and its tests, security worst first (old commits included), outdated libraries and whether a new developer could pick the code up. You get the report, the findings as a spreadsheet and a 60-minute call. The price isn’t taken off later work, so the verdict doesn’t depend on whether you hire us.

FAQ

What is technical due diligence in software?

It’s a review of a company’s code, systems and engineering team, run by or for an investor or buyer before a deal closes. The goal is to find risks that change the price or the terms, such as security holes, missing tests, unclear code ownership or a cloud bill that grows faster than revenue.

How long does a technical due diligence take?

It depends on the size of the product and the deal. A small startup review can take a few days, while an acquisition of a larger company can take several weeks. Most of the time goes into reading code, checking access and interviewing the team.

What is in a technical due diligence report?

A one-page summary with the overall verdict, findings ordered from worst to least with evidence for each, a rating per area and a list of what to fix before and after closing. It usually ends with a call where the reviewer walks the investor through it.

Do seed investors do technical due diligence?

Some do, especially a lead investor writing a larger check, and it is more common from Series A onward. Even when they don’t, a founder who can show a clean audit, tested payments and accounts in the company’s name answers the questions before they are asked.

What changes in due diligence if AI wrote most of the code?

Reviewers add checks for keys left in git history, missing database access rules, code without tests, license origins of generated code and whether anyone on the team understands the code. Using AI tools isn’t a finding in itself. Code that nobody has read or tested is.

Can I run technical due diligence on my own product first?

Yes, and it’s the best way to avoid surprises during the deal. Our code audit runs the same checks for a fixed $3,500 in 5 working days. If the report shows the product needs more than fixes, software project rescue is how we take over and finish the work.

The best of our blog, bi-weekly

Carefully curated content for resourceful Devs, CTOs, and PMs. No spam.

You may also like

Talk to us!

Send us a message and we'll get in touch with you as soon as we can.