# What automated due diligence can tell you, and what needs an expert

Source: https://techduediligence.co/insights/automated-vs-expert-due-diligence/

Automated tools can read an entire codebase in hours and report facts about it that no team of reviewers could assemble by hand. They cannot tell you what those facts mean for your transaction. A sound technical due diligence uses each for what it does well, and is clear in the report about which is which.

## Key points

- Rely on tools for what can be counted: components, licenses, known vulnerabilities, exposed credentials and who wrote what.
- Do not take raw tool output to an investment committee, because unverified findings overstate some risks and strip the context from others.
- Bring in human judgment where the answer depends on the business: severity, architecture, the roadmap and the team.
- Ask any provider which parts of its report are machine output and which were verified by a person.

## What tools find reliably

A scanner does not get tired, does not sample and does not take anyone's word for anything. For questions of fact about the code, it is more reliable than a person.

| Subject | What a tool establishes |
|---|---|
| Components | Every third-party library in the product, including those brought in by other libraries, with versions. This list is the software bill of materials (SBOM). |
| Licenses | The license attached to each component, and those whose conditions may conflict with the way the product is distributed |
| Known vulnerabilities | Components that match published vulnerability records (CVEs), with their severity ratings |
| Secrets | Passwords, keys and tokens in the code and anywhere in its history |
| Flaws in the company's own code | Patterns associated with common security weaknesses, found by static analysis |
| Contributors | Who wrote each part of the code, when, and how concentrated that knowledge is |
| Structure and quality | Size, complexity, duplication, test coverage and the dependencies between modules |

The list covers the whole population. A human reviewer with a week can read a small part of a large codebase with care, while a tool reads all of it, including every past version. It also surfaces what management may not know. Nobody at the target may remember that a library four levels down the dependency tree carries a copyleft license, or that a key was committed in 2021 and removed a day later. What the code itself can reveal is described in [what source code analysis reveals that documents do not](/insights/source-code-analysis-due-diligence/).

## Where raw tool output misleads

The weakness of a scanner is that it reports without understanding. That produces three kinds of error.

**False alarms.** A vulnerability rated critical may sit in a library used only to run tests, which never reaches a customer. A "secret" may be a placeholder in sample configuration. A component under the GPL may be a build tool that is never distributed, and GPL obligations are triggered by distribution. The tool reports all three as findings.

**Severity without context.** Ratings come from public databases and describe the worst case in general. They say nothing about whether the flaw can be reached in this product, or what it would cost this business. See [known vulnerabilities: how to read a CVE list](/insights/known-vulnerabilities-cve-due-diligence/).

**Silence about what is not a pattern.** A tool looks for things it has been told to recognize. A design that cannot reach the volumes in the business plan is not a pattern. Nor is a pricing calculation that is simply wrong.

A raw scan of a mature product commonly returns far more items than anyone can act on. Unfiltered, the list buries the few that matter and invites the seller to dismiss all of it.

## What needs judgment

Some questions have no answer in the code alone, because the answer depends on the company and the plan.

- **Context.** A young company that skipped automated tests on an internal administration screen made a reasonable choice. The same omission in the payment path is a risk. Telling a deliberate shortcut from a problem that will cost money takes someone who has made those decisions.
- **Architecture.** A tool can draw the structure of a system. Whether that structure suits what the buyer intends to do with it is a judgment.
- **The roadmap.** Whether the team can build what the business plan assumes, in the time assumed, and whether an aging product should be extended or rebuilt.
- **The team and its process.** How decisions are made, and how well the engineers know their own weak points.
- **Materiality.** What a finding means for price and terms. Where the finding concerns a license or ownership, that question passes to counsel.

License and ownership questions are matters of law that differ by jurisdiction. This article is general information and not legal advice, and counsel should be consulted.

## What experts miss without tools

The reverse is equally true. A review that consists of experienced people holding two days of sessions with the engineering team can form a sound view of the architecture and the people. It will not find the contractor who wrote the billing module and never signed an assignment, because nobody in the room knows. It will not find the license conflict or the credential in the history.

Interview-led reviews also depend on what the target chooses to present. A persuasive chief technology officer can carry a session. Expert judgment is at its best when it begins from complete facts, and tools are how complete facts are obtained in the time a transaction allows.

## Layering the two

The order that works is machine first, then verification, then expert review where the transaction warrants it. Each layer makes the next more effective.

1. **The automated read** produces the full set of facts in days.
2. **Verification** by an analyst removes false alarms, rates what remains in context and attaches a cost.
3. **Expert review** spends senior time on the questions the evidence has raised, in place of a general tour of the system.

AI has moved the line between the layers. Software can now read contracts as well as code, and can attempt tasks that once needed an engineer. The line is still there: someone accountable has to decide what a finding means. The division of labor is discussed in [AI agents in due diligence](/insights/ai-agents-in-due-diligence/).

## How we approach it

Our three levels of [technical due diligence](/tech-due-diligence/) are these layers, and each includes the one below.

The Automated Scan Report arrives within 72 hours of the data room being ready. It covers software composition analysis, license compliance, a full SBOM, security scanning, an architecture map and code quality metrics, IP chain-of-title analysis and GenAI code provenance.

In the Analyst-Verified Report, our standard engagement, an in-house analyst verifies the findings, removes false positives, rates risks in the context of the company's stage and pairs material issues with market-standard remedies. It takes about a week.

The Expert Deep-Dive, for platform acquisitions and contested valuations, adds a senior in-house expert: architecture review sessions, team and process interviews and an assessment of scalability and roadmap risk. The tooling is described on our [technology](/technology/) page.

## Questions we are asked

### Is an automated report enough on its own?

For a first read or a small round, it can be. Where the decision turns on how serious a finding is, what it costs to fix or what terms should follow, the findings need verification, which is why the analyst-verified level is our standard engagement.

### How do you deal with false positives?

On analyst-verified and expert engagements an in-house analyst checks the findings and removes false positives before the report is issued. Every finding that remains opens its source material, so either side can check it.

### Does your analysis send the code to an AI provider?

No. All analysis runs in Codekeeper's private environment, in the region chosen for the transaction. Nothing is sent to AI vendors and nothing is used for training, and code is cloned, built and scanned in sandboxes with no network egress.
