Build1 publisher3 min readPublished
Auditing an inherited product starts with who owns the accounts and what it costs to run
A developer who does these audits for a living argues that the first questions about software you did not write are contractual and financial, and that the newcomer's favourite answer, rewrite everything, is the costliest one.
The Engineer · Build desk

What happened
- A dev.to post by a developer who audits inherited codebases defines the work as reading what is there, holding it against what the business needs, and delivering a written verdict on what to keep, fix and rewrite.
- That audit covers who owns the accounts, how expensive the product is to keep running and which risks are already live, and the post says several of the most urgent findings are never technical.
- It sorts inherited products into four arrival shapes and says all four end in one place: users are using the software and the team cannot say what it costs to run per month.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
- decision Whether to keep the codebase at all is a spending decision that has to be settled before six months of improvement work goes into software that may not be worth maintaining.
- exposure A key committed to the repository or a database without backups is reachable right now, and neither one shows up in the feature queue the new owner is being asked to work from.
- cost Anyone pricing the first feature on code they have not read is guessing, and the owner absorbs the gap between a twenty-line change and three weeks.
- constraint The cost case is a ratio with no figures behind it, so a buyer cannot test it against a quoted audit fee and a month of development at their own rates.
The three things the post puts at the top of an audit all sit outside the source tree. Who owns the hosting, the domain and the store listings is a contract question. In the agency case the post describes, the contract does not cover what happens to the accounts once the engagement ends [7]. What the product costs to run per month sits in a billing console, and the post's premise is that the inheriting team cannot state the figure [8]. The third item is live risk. The examples given are an access key published in the repository, a database with no backups, and a service that stopped receiving security updates, and none of them appears on anyone's to-do list. Any one of them, the author says, can cost the owner the whole product [10].
The mildest case in the post is the solo developer who kept everything in their head, left no documentation, and still answers messages for a while after going [7].
The author has an interest and declares it. "I am writing this because it is half of my work, and because the decision taken without an audit is almost always the expensive one," the author wrote [5]. The service being recommended is the author's own, so this is an interested argument; the checks it describes can still be run against your own repository.
The estimating claim is the part an engineering manager can test this week. In code you do not know, the post says, a twenty-line change can be twenty lines or three weeks, and anyone who quotes a price without reading the code is guessing [9].
"Rewrite everything from scratch" is, according to the post, the most frequent recommendation from whoever arrives new. It is also the most expensive one for the owner, because there is almost always a core worth keeping and three concrete things to fix [6]. In my view part of the appeal is estimating convenience: nobody gets caught being wrong about the cost of code that is going to be deleted. The alternative output is narrower and harder to write. The post is specific that the audit ends in a document, not a conversation [3].
"An audit costs a fraction of what the first month of blind development costs. That is the entire argument," the post says [12]. There are no figures on either side of that comparison [17]. For it to hold on a particular product, the audit fee has to be small against what a first month of development actually costs at your rates. The written verdict also has to be specific enough that the next contractor prices the work from the document instead of re-reading the repository [2].
The piece ran twice on dev.to, in Spanish and in English, under the same author handle, each version pointing readers to the language-matched half of the author's own blog for the rest [13][14]. The two posts are one practitioner's account, and each is the first half of it [15].
What to watch
- The second half of the walkthrough, promised on the author's blog, would show whether the audit ends in a reusable checklist or a bespoke report.
- A published audit fee set against a month of development at stated rates would make the "fraction" comparison checkable.
- A documented case where the verdict was to stop maintaining the code, and what the owner did with it.