Guides For buyersDue diligence
What to check in the software before you buy your first company
For searchers, first-time buyers and their advisers. No code reading required.
You're buying a company, not a codebase. But almost every business you'll look at runs on software someone else built: the booking system, the customer portal, the app customers pay through, the field-service tool a contractor wrote in 2019. If you're a searcher[1], the software is rarely what you set out to buy, which is exactly why it gets skipped.
Other Holdfast guides cover what to ask a seller and what to check first in the accounts and bills. This one covers the deal: when to look, what to ask for, and how to turn what you find into terms. You don't need to read code for any of it.
Every business you look at is partly a software business.
1. Draw the software map before you make an offer
Twenty minutes with the seller, before the offer letter, is enough. List every system the business depends on and fill in one row each:
| System | What it does for the business | Bought or built? | Who built it | Whose account is it in? | What if it stopped for a week? |
|---|---|---|---|---|---|
| e.g. Booking app | Takes every customer booking and deposit | Built | A freelancer, 2021; changes since by the owner with AI tools | Owner's personal email | No new bookings |
What to look for: anything built rather than bought that customers touch or money flows through; anything built by one person who isn't staying; and accounts in the owner's personal name. Those are the rows that need a proper look.
2. Decide whether the software needs a proper look
- Bought, off the shelf (Xero, Shopify, Salesforce): no code review. Check the accounts transfer, the licences allow a change of owner, and nothing depends on one person's login.
- Bought but heavily customised or connected (plugins, integrations, automations): review the custom parts and who maintains them.
- Built for the business, especially if customers use it, revenue runs through it, or it was built quickly with AI tools or by one contractor: get it reviewed before you sign. This is where expensive surprises live.
Before you pay anyone, send the seller five questions in writing. The answers tell you how deep the review needs to go.
3. Put it in the offer letter and the data-room request
Technical access is easy to agree before exclusivity and awkward to ask for after. Add one line to your offer letter: read-only access to the source code, hosting and payment accounts for an independent technical review during exclusivity. Then ask the data room for:
- read-only access to the code repository, hosting and database;
- a 12-month export from the payment provider (Stripe, GoCardless or similar)[3];
- a list of every account the business depends on and whose name it's in;
- contracts with anyone who wrote code, including the clause that assigns its copyright to the business[2];
- 12 months of hosting and software bills;
- any security incidents, data breaches or outages in the last two years[4].
Ask for the dependency lockfile as well: it shows how far behind the software is on security fixes, which matters more now that the gap between a fix and an attack is shrinking.
Timing: start the review in the first week of exclusivity, before the lawyers draft the sale agreement, so what it finds can still change the price, the conditions and the warranties.
4. Turn what you find into deal terms
A technical review is only useful if it changes the deal. Most findings fall into one of five kinds, and each has a usual way of being handled:
| What the review finds | The usual way to handle it |
|---|---|
| An account, domain or piece of code the seller can't transfer, or a contractor who never assigned their copyright | Condition A condition of completion. If the seller can't fix it, it's a reason to walk away. |
| Customer data exposed right now | Fix first The seller fixes it before completion and you check the fix. Ask whether anyone has looked at the logs for signs it was used. |
| Fixable problems with an hours estimate | Price A price reduction or a retention: hours times a market rate, held back until the fixes are done. |
| Only the founder can deploy or fix it | Handover A paid handover period, with part of the price deferred until it's done. |
| Revenue in the payment provider doesn't match the figures you were given | Price Back to the price and the financial due diligence. |
Your lawyer decides how these become warranties, indemnities and conditions. The review's job is to give them facts, hours and severities to work with.
5. On day one, take the keys
Most post-completion disasters start with someone who still has access. On the day you take over:
- change every admin password and switch on two-factor login;
- rotate the secret keys for payments, email, AI services and the database;
- remove former staff and contractors from the code, hosting and every tool;
- move the domain, hosting and payment accounts into the company's name, if that didn't happen before completion;
- restore a backup to a test copy and check it works;
- point error and uptime alerts at someone who'll act on them.
One number for your investors
Investors and lenders want to know how much technical risk you're taking on, in a form they can compare. A Holdfast deal review ends with a VeriGrade Score: the risk found today, out of 100, and a projected score once the fix plan is done and checked. The gap between the two numbers, and the hours behind it, is what you negotiate on.
Sources
Research
- Stanford Graduate School of Business. Search funds. www.gsb.stanford.edu/experience/about/centers-institutes/ghces/research/search-funds (what a search fund is; the annual Search Fund Study)
Official guidance
- GOV.UK (Intellectual Property Office). Ownership of copyright works. www.gov.uk/ownership-of-copyright-works (contractors usually keep copyright unless it is assigned)
- Stripe. Stripe reporting. docs.stripe.com/reports
- Information Commissioner's Office. Personal data breaches: a guide. ico.org.uk/for-organisations/report-a-breach/personal-data-breach/personal-data-breaches-a-guide/
Method
Written from Robert's experience of inheriting production systems and Holdfast's deal-review method. Not legal or financial advice: your lawyer decides how findings become warranties, indemnities and conditions.
Robert Udah is principal engineer at Holdfast, which runs fixed-fee technical due diligence for buyers of businesses that run on software. See what a deal review covers or download a sample deal review.