For buyers, founders and agencies
Technical due diligence on an AI-built app
The code you are about to buy was probably built fast, by someone who is no longer around, with an assistant doing the typing. That is fine. What matters is whether the next twelve months of change will be cheap or ruinous, and that is a question about structure, not taste.
Separate the product question from the code question
Buyers tend to do this backwards. They spend the diligence budget on whether the app works, which a demo already answered, and then inherit a repository that nobody can change without breaking the demo. Two questions deserve separate answers: does this product serve a market, and can this codebase be maintained at a cost you can live with.
The second question is cheaper to answer first, because a bad answer changes the price you should pay for the first.
What a structural review should establish
- Whether the build is reproducible. One lockfile, one package manager, a clean install from the commit you are buying.
- Whether tests exist and mean anything. Not the count on a badge — the count against the size of the source tree.
- Whether the type system is enforced. Suppression markers and a non-strict
tsconfigboth tell you the compiler has been switched off as a safety net. - Whether credentials have leaked. A committed
.envor key-shaped strings mean rotation before the handover, not after. - Whether the repository is what runs. Committed build output and generated directories break that link.
- How concentrated the risk is. A few enormous files tell you where the next bug will hurt most.
What you should ask the seller for
Read access to the repository, the commit that is deployed, the deployment configuration, and a list of every service the app depends on — database, auth, payments, email, storage. Dependencies are often the real liability: an app can be tidy and still carry a monthly bill and an account nobody controls.
Ask what happens to the code when the original builder stops answering. If the answer is "we would find someone", you are buying an unfinished handover.
Where to spend the expensive hours
Once the structural questions are answered, the hours that need a person are narrow and specific: authorisation logic, payment flows, personal data handling, and the architecture decisions that would be expensive to reverse. Everything else can be counted, and counting should not cost consultant rates.
Do the cheap part in two minutes
Slopcheck reads a public GitHub repository and reports the structural findings with the files behind each one, so a number in a diligence memo can be checked by the person reading it. It is a heuristic scan, not an audit and not a code review: it samples up to 40 files, does not execute anything, and cannot see inside a private repository. For an acquisition, treat it as the first pass that tells you where the second pass should look.
Nothing is uploaded and nothing is stored. Public repositories only.