When you buy a business that runs on its own software, you buy the software's problems as well. The accounts show what the business earned. They don't show whether the system that earned it will keep working, who is able to change it, or what it will cost to keep for the next three years. Technical due diligence is the review that answers those questions while the price can still move.
Most guides on the subject are written for investment funds buying software companies with large engineering teams. This one is for a smaller and more common deal: a business whose bookings, orders or daily operations run on one custom web application, built over the years by a small team, an agency or a single developer. In a deal of that size, the biggest risks are often not in the code.
What it is, and when to do it
Technical due diligence is an independent review of the software and everything it depends on, written for the person making the decision. The right moment is after the outline of the deal is agreed and before the final terms are, so that the findings can still change the price or the conditions. A review done after signing is still useful as a plan for the first months of ownership. It can no longer protect you.
Agree access early. Nothing can start without it, and how quickly the seller arranges it is the first thing you learn about how the system is run.
Six areas to check
1. Who owns what
Start here. It is cheap to check, and it is the area most likely to stop a deal.
- The code. Who wrote it: employees, an agency, freelancers? Is there a written agreement with each of them that gives the company the rights to the work? The history of the code repository shows who contributed. Whether the paperwork is sufficient is a question for your lawyer.
- The repository. Is it in an account the company controls, or in a developer's personal account?
- The accounts. Domain, DNS, hosting or cloud, app stores, the payment provider, the email-sending service. Each should be registered to the company, on a company email address.
- Licences. Paid components, and open-source ones whose terms restrict commercial use or require you to publish your own code.
- The data. What personal data the system holds, where it is stored and who can reach it.
2. Versions and support dates
Every version of PHP, Laravel, Symfony and MySQL has a published end date, after which security holes are no longer fixed. PHP 8.1 and older already receive no security fixes, PHP 8.2 stops receiving them on 31 December 2026, and MySQL 8.0 reached its end of life in April 2026. An unsupported version is not a reason to walk away. It is a cost with a size: an upgrade project that somebody will pay for.
Sometimes the cost is already on an invoice. AWS charges extra for databases that have passed their support date, and the fee looks like ordinary hosting unless you read the bill line by line. In one case it came to about $900 a month.
3. Code and dependencies
The question is not whether the code is tidy. It is whether the code can be changed safely. Look for automated tests around the parts that earn money, libraries with known security problems, passwords and keys written into the code, pages that change data without a login, and business rules buried where only their author can find them. We have described what a real audit of a legacy PHP application covers in more detail.
4. Infrastructure and operations
- Where the system runs, what it costs each month, and whether the servers are sized to the real load.
- Whether backups exist, where they are kept, and when one was last restored.
- Who finds out when the system is down.
- How a release is made, and whether the previous version can be put back.
- Whether the code on the server is the same as the code in the repository.
On one Laravel platform inherited from a previous vendor, there was no reliable backup, and the server was waiting for a restart that nobody dared to trigger. The application worked every day. None of this was visible from outside.
5. Security and data
Ask who has access to the server, the cloud account, the repository and the admin area, and whether people who left were removed. Ask where secrets are stored, and whether there has been a security incident and what was done afterwards. If a penetration test was ever run, ask to see the report and the list of what was fixed.
6. The people who understand it
How many people can release a change or fix a serious fault this week? Is anything written down? Are those people staying after the sale? If the person who understands the system is the seller, the knowledge leaves on the day the deal completes unless the terms say otherwise.
Which findings change the deal
A list of forty findings is hard to use. Sort them by what each one does to the deal.
- Stop until resolved. Ownership that can't be shown: code written by contractors with no agreement, a domain or cloud account in the name of someone who won't transfer it, the only complete copy of the code on a server the seller doesn't control, a licence that forbids the way the software is used. These belong among the conditions to be met before the deal completes.
- Change the price. Costs with a size: the upgrade from unsupported versions, backups and monitoring that have to be set up, extra support fees on the hosting bill, a part of the system that must be rebuilt before it can carry the growth you plan. Ask the reviewer for a range in working days for each. A cost nobody could estimate should be marked as unknown, not left at zero.
- Change the terms. Risk that sits with people. If the knowledge is in one head, the answer is in the contract: a paid handover period, documentation as a condition, part of the price held back until the handover is complete. Your lawyer drafts this. The technical review tells them what to ask for.
- Plan for the first 90 days. Ordinary debt: missing tests, untidy code, releases made by hand. Every system that has run for years has some. It is not a reason to pay less unless it blocks what you intend to do.
The same finding can fall into different groups depending on your plan. A system that can't handle ten times the traffic matters if you are buying in order to grow tenfold. It doesn't if you intend to run the business as it is. Tell the reviewer what you plan to do with the business, or they will have to guess.
What to ask the seller for before anyone opens the code
- A list of every system the business runs on, where each one is hosted and what it costs each month.
- A list of accounts with the registered owner of each: domain, DNS, hosting, repository, app stores, payment provider, email service.
- Everyone who has written code for the system, and the agreement each of them worked under.
- The versions of the programming language, the framework and the database.
- Hosting invoices for the last 12 months.
- The date of the last test restore from a backup.
- Outages and security incidents in the last two years.
- Third-party services the system depends on, and the licences it uses.
- Who can release a change today, and who has administrator access.
- Whatever documentation exists.
How the seller answers is a finding in itself. A seller who produces this in two days is running the system. A seller who needs three weeks and the developer's help to find out where the domain is registered has told you something the code review would have taken longer to find.
What a useful report contains
- One page for the decision-maker: the three or four findings that matter most, and what each one does to the deal.
- For every finding: what it is, the evidence, what it could cost the business, a range for the work to fix it, and how sure the reviewer is.
- A separate list of what could not be checked, and why.
- A plan for the first 90 days of ownership, in priority order.
Be careful with a single overall score. A number averages a missing backup with untidy code, and the two are not the same kind of problem.
What technical due diligence can't tell you
- It sees what it was given. A copy of the code chosen by the seller is not the system. Ask for read-only access to production too, because the code that is running may differ from the code in the repository. On one long-running website we maintain, years of direct edits on the server had left the two out of step.
- It is a snapshot. It describes the system on the day of the review.
- It is not a legal opinion. It can list who wrote the code and which licences are in use. Whether the rights were properly transferred is for a lawyer.
- It can't prove that the system has no security holes. A penetration test is a separate exercise.
- It can't tell you whether the key people will stay, or whether customers will.
If you are the seller
Run the same check on yourself some months before a buyer does. Move the accounts into the company's name, collect the agreements with everyone who wrote code, test a restore from backup, and write down how a release is made. Each of these is cheap to fix in advance, and each costs more once a buyer's reviewer has found it. Our 12-point check for owners covers most of the list and takes about an hour.
Short answers
What does technical due diligence cover?
Ownership of the code and accounts, software versions and their support dates, the code and its dependencies, infrastructure and backups, security and data, and the people who understand the system.
Who should carry it out?
Someone independent of the seller, who knows the technology the system is built on. Any reviewer has interests of their own: a firm that may later maintain the system gains from finding work. Ask for every finding to come with its evidence, so that you or a second reader can check it.
Can we skip it for a small deal?
You can shorten it. Don't skip area 1. An hour spent confirming who owns the domain, the accounts and the code costs almost nothing, and it covers the findings that stop deals.
Where we fit
We audit, take over and maintain existing PHP, Laravel and Symfony applications, and the six areas above are what we examine when we do. Our System Risk Check is the standard form of that review for an owner: a fixed price, and a written report with the risks in priority order. For an acquisition, we scope the review and quote it separately at a fixed price, because the deal sets the questions and the deadline.
If the purchase goes ahead and the people who built the system don't come with it, application takeover and ongoing PHP application maintenance are the work that follows.





