Guide
Technical due diligence: a checklist for buying or investing in a software business
What to check in the codebase before you buy or invest in a software business: architecture, security, data, resilience, key-person risk, dependencies and licences, with the red flags that change the price.
1Before you start
A software business is mostly its code, and the code is the part a financial model cannot see. Technical due diligence answers three questions: does the system do what the seller says, what will it cost to keep running, and what could go wrong badly enough to change the deal.
Agree three things before anyone reads a line:
- Read-only access to the real repository, including its history. A zip file of the current code hides who wrote what and how it got there.
- Which branch is production. Reviews of the wrong branch are more common than they should be.
- A short written description of hosting and deployment: where it runs, how releases happen, and where the data lives. The code shows a lot of this, but not all of it.
2What the system actually is
Start by checking the system against the pitch. A product sold as a platform is sometimes a thin layer over another company's service, and a product sold as AI is sometimes a set of rules.
- The shape of it: the main modules, what each owns, and which depend on which. A tangle of two-way dependencies is a cost you will pay on every change.
- Every way in: web routes, APIs, scheduled jobs, queues and command-line tools. Each is something to secure and keep working.
- Every outside service it calls: payment providers, email, AI models, analytics. Each is a contract, a cost and a point of failure, and some send customer data offshore.
- The README against reality. Instructions that no longer work are a reliable sign of how much else has drifted.
3The seven areas to rate
Rate each of these out of ten, and write down the weakest point of each. A single low score is a negotiation point. Several are a different deal.
- Engineering standards
- Tests that run on every change, linting and type checks, and files and functions small enough to change safely. Look at the largest files: a 3,000-line module that everything touches is where bugs and delays come from.
- Security
- How users sign in and what each can reach, whether input is validated, known vulnerabilities in dependencies, and how the build pipeline itself is protected. A compromised pipeline ships whatever an attacker likes.
- Configuration and secrets
- No passwords or keys in the code or its history, safe defaults, and a clear separation between test and production settings. A key committed once is exposed for good unless it was rotated.
- Data and persistence
- Where customer data lives, how the schema changes over time, what is kept and for how long, and whether personal information is handled as the privacy policy says.
- Error handling and resilience
- Timeouts and retries on outside calls, errors that are logged rather than swallowed, and failures that degrade one feature rather than the whole service.
- Availability and recovery
- Single points of failure, backups that have actually been restored, and monitoring that tells someone before a customer does.
- Performance and scale
- Any evidence the system has been load tested, and the hot paths that will need work if the customer base doubles.
4People and history
The history in the repository says more about risk than any interview. Look for:
- Key-person risk: how much of the code, and how much of the code that changes most, was written by one person. If that person is not staying, price the handover.
- Hotspots: files that are both large and changed often. They are where defects cluster and where new developers will be slowest.
- Activity: whether the code is still moving, and whether changes go through review or straight to production.
5Dependencies and licences
- Licences. A copyleft licence (GPL or AGPL, for example) inside a product sold as closed source can oblige the owner to publish their code. Check every dependency, not just the ones in the README.
- Abandoned packages. A dependency with no release in years is a security fix nobody will ship.
- Pinned and current versions. Unpinned versions mean the product you test is not quite the product that deploys tomorrow.
6Red flags that change the price
These are the findings that usually move a price or a structure, not just a to-do list:
- Live credentials in the code or its history, especially for payment, cloud or customer data systems.
- Customer data with no backups, or backups nobody has ever restored.
- One developer who wrote most of the system and is not part of the deal.
- A copyleft licence at the core of a closed-source product.
- Authentication or payment logic with no tests.
- A system that only one person knows how to deploy.
7Questions for the seller
- Who can deploy to production, and how? When did a release last go wrong, and what happened?
- When was a backup last restored, and how long did it take?
- Which outside services would stop the product if they failed, and what do they cost?
- Who wrote the parts that change most, and are they staying?
- Has the code ever had a security review or a penetration test? What did it find, and what was fixed?
8Where Repo Review fits
Repo Review reads the repository and reports on these points in a form a non-specialist can act on: a health verdict, seven ratings out of ten each with its weakest point, and the findings that matter, every claim checked against the source and read by an architect before it is released. The Snapshot is free, one per repository, and runs in about five minutes. The Full Audit (A$149 a repository at launch) works through every criterion and adds the risk register, a remediation roadmap, the architecture document with diagrams, and key-person, dependency and licence analysis.
It reads the code, not the running system. It does not test production, scan your cloud accounts or replace a penetration test, and it says where the repository cannot answer a question (a backup that lives in a hosting console, for example). The code is not kept: the copy taken for a report is deleted as soon as the run ends.
See what it looks like on real projects: the Flask, Excalidraw and browser-use examples.