Technical due diligence checklist before buying software
A technical due diligence checklist for founders and investors who need to prove a codebase, its data, access and recovery story are real before a deal closes.
I once blocked the deletion of a source platform after a migration looked completely finished. The database held properties, inspections, report bodies, PDFs, meter readings, and media, and every import job was green, yet a per-property manifest I built from read-only production SQL and live source API reads caught cover images and meter photos without a UUID that had skipped the earlier download path. We backfilled and verified them, and deletion stayed blocked while a separate actions backfill finished.
Technical due diligence exists to establish what's true before you buy a company, invest, or take over operations after someone leaves. You don't need to read every line of code, you need dated evidence you can check and a plain list of what hasn't been proved yet.
Technical due diligence begins with data you can count
"We ran the import" and "the screens look populated" aren't proof. Start by getting the seller to list every source of record (production database, legacy app, Stripe, CRM, accounting, object storage, operations spreadsheets) and record what arrived, what was excluded, and who signed off on the gaps.
Reconcile by domain instead of relying on total row counts, checking parent records alongside their attachments and PDFs because a row can look fine while its files are missing. On the property inventory agency's migration, the per-property manifest tracked content status and image-backup status separately: 10,195 properties were content-green, 61 were content-amber, and none were content-red, which told the buyer exactly which gaps remained.
Ask for the manifest itself, not a slide summarising it, with stable source IDs, local IDs, check states, failure reasons, and the run timestamp so you can spot-check ten rows against raw source responses. On that same migration, the first image audit found 14,179 cover-image URLs and 42,303 meter-photo URLs missing from local storage; after fixing the UUID filter, the second run verified all 17,595 distinct cover-image URLs and all 42,494 distinct meter-photo URLs. Keeping both counts preserves the decision trail, and any read-only comparison must leave production timestamps, tokens, and webhooks untouched.
A source snapshot makes a claim inspectable later
Reconciliation is much stronger when the app stores raw source payloads before projecting them into canonical tables. Pick a sensitive record yourself (a paid invoice, a customer account, a report) and ask the seller to trace its source ID, first import, subsequent edits, and file location; if that takes half an hour in Slack, you have key-person risk.
An audit trail also needs to survive casual edits and cover deletions, permission changes, exports, billing, and integration writes. updated_at isn't an audit log; append-only domain events are. On a youth education platform I reviewed (with educators, volunteers, admins, and anonymous student feedback), public student links were signed for six months and a GDPR policy existed, yet the repository's safeguarding document was empty and handed off to an external policy. Recording that gap plainly matters far more than ticking a compliance box.
Ask which risks the tests actually cover
High line coverage can still miss integrations, deploy scripts, workers, and permission boundaries. Ask what CI runs and look for tests around login, role changes, billing, tenant isolation, and failed third-party webhooks.
On the property platform, the valuable tests covered paged root selection, resuming from a persisted cursor, leaving the cursor untouched on a failed root, 429 retry accounting, failing optional endpoints, idempotent upserts, and blocking an old import from overwriting a newer webhook update. Even then, tests only check controlled inputs; you still need the read-only production integrity run before deleting a source system. Also check when the suite last ran against real schemas, because a six-month-old run that mocks every provider boundary proves nothing about live OAuth scopes or storage permissions.
A backup is only real after a restore
Every diligence folder mentions backups, yet few contain a dated restore. Database backups without object storage restore broken links, and encrypted backups you can't decrypt haven't been recovered.
Ask for the last restore's date, who ran it in which environment, how long it took, and what failed or passed. "We restored a copy on 12 May, checked row counts, logged in as a test user, opened a private document, and tore down the environment" is evidence; "we could restore if needed" isn't. Make sure the restore stays isolated too, especially where records involve children or anonymous feedback, with outbound emails, payments, and webhooks disabled.
Credentials and vendors decide who can operate on Monday
A company can own its code while a former contractor's personal account owns the domain registrar or cloud billing. Build an access register covering the repository, cloud host, DNS, email, error tracking, database, object storage, payments, app stores, and core APIs, recording the legal owner, admins, MFA status, API key locations, and whether the buyer's operator has actually logged in without needing a code from the seller's phone.
Document third-party rate limits and token rules at the same time. The property platform's source API had a shared 60 requests/minute ceiling with live staff work, so historical backfills stayed at 40 requests/minute, honoured Retry-After, retried transient 5xx responses up to four times, and kept media off webhook queues. During a read-only verification run, two processes once fought over an OAuth refresh token and broke the run before any writes; the fix was a written rule to use the current access token and never let a second process refresh it.
Rehearse the deploy and its rollback
Ask about the last production deploy (revision, approver, config source, database migration, smoke checks, and rollback path), because an ideal architecture diagram tells you nothing about how code actually ships. Shell history on a laptop is operational risk, and destructive migrations don't roll back once new writes land.
That youth education platform had Docker and Kamal configured with PostgreSQL and background jobs running inside the web process, which proved an intention to ship, not a tested production release. Ask for a non-production rehearsal that deploys the current revision, smoke-checks it, deploys a harmless broken revision, rolls back, and records how long it took; if the seller can't run that before closing, price the uncertainty as risk.
If you're weighing a rebuild instead of an acquisition, read what actually drives MVP cost.