Rescue your software
Technical Due Diligence Before You Take Over Software: What to Check, and in What Order
Taking over, buying or funding an app? A practical technical due diligence order: access, deployment, data model, authentication, then code quality.
MindForge Engineering3 min read
Technical due diligence on a small product is not a scaled-down version of what an investment bank commissions. It is a short, ordered set of checks that tells you what the software will cost to own: whether it can be deployed, whether its data can be trusted, and which problems will block you first. If you are about to take over, buy or keep funding an application, those are the answers that change the decision.
This is the order we work in when a founder asks us to look at software they are about to inherit.
Start with access, because without it there is nothing to assess
Before anyone reads a line of code, confirm that you can get, and keep, everything the software depends on: the repository with its full history, the hosting account, the domain, the database, and every third-party service the application calls.
Often the first finding is not a bug. It is an account registered to a developer who has gone, or a server nobody has the password for. Until those are in your name, you do not own the product, whatever the contract says.
Check that it can be deployed by someone new
Ask for the software to be deployed from scratch by someone who did not write it, following whatever instructions exist. If that cannot be done, it is the first item on the list, ahead of every code issue.
An application that only its original author can release is a liability with a running cost. Making the build repeatable often comes before any feature work is possible, and it should be priced in before you commit, not discovered after.
Read the data model before the code
The data model is where most of the future cost lives. A confusing controller can be rewritten in an afternoon. A table structure that cannot represent how the business actually works takes months to unpick, because every screen and report depends on it.
Look for the core records the business runs on, such as customers, orders, bookings or invoices, and check that each has one clear home. Duplicated sources of truth are a common pattern in software that has grown by addition. Our post on moving a multi-branch business onto one system of record shows what fixing that involves.
Check authentication and permissions
Who can sign in, how passwords and sessions are handled, and whether one customer can ever see another customer's data. These are the defects with consequences beyond the codebase: a leak is a legal and reputational problem, not only a technical one.
A due diligence review is not a penetration test, and it should say so. But the obvious failures, such as missing permission checks or secrets committed to the repository, are visible in an ordinary source code audit and worth flagging.
Only then, code quality
Code quality matters, but it is the last of the five and the one most often overweighted. Inconsistent style, missing tests and old dependencies are real, and each has a cost. Few of them decide whether to take the software on.
The useful version of a code quality audit ranks what it finds by what it blocks. Anything that prevents a launch comes first, then anything that gets more expensive the longer it is left, and cosmetic issues last, if at all.
Decide what a bounded review must tell you
You rarely need every line read. You need the areas that carry the risk reviewed properly, and a written account of what was not reviewed, so the gaps are a known quantity rather than a surprise.
A good report is written for the person making the decision, in plain language, with file references where they matter. It should be usable by any developer, not only by whoever wrote it.
A checklist you can run yourself
- Every account the software depends on is in your name, or there is a plan to move it.
- Someone other than the author has deployed it from scratch.
- Each core business record has one clear home in the database.
- Authentication and per-customer data separation have been checked.
- Findings are ranked by what they block, not by how they look.
- The review states what it did not cover.
If any of those cannot be ticked, that is what to resolve before you sign. If you want the review done for you, our fixed-price Software Rescue Audit covers these areas in writing, and the findings are yours to take to any developer.
Client details in this post are anonymised to respect confidentiality. The engineering described is from the project listed below.