Technical Due Diligence Prep
Technical due diligence checks architecture, security, IP and licenses, code ownership, scalability and team. A data room prepared before the term sheet answers most of it in days.
5 min read / Updated / Last checked
- Format
- Checklist · Intermediate
- Who it is for
- Founders and the builders they hire
- You leave with
- Build a technical data room, generate a license report and a contributor list from your own repository, and fix the gaps before an investor or acquirer finds them.
The problem
Black Duck's 2026 Open Source Security and Risk Analysis report is built from audits of 947 commercial codebases across 197 merger and acquisition transactions. Open source appeared in 98% of them. 68% had open source license conflicts, up from 56% the year before. 87% contained at least one known vulnerability, with a mean of 581 per codebase, and 8% of components had no detectable license at all [1][2].
These are codebases that were already in a deal, examined because a buyer asked. Each finding of this kind gives the other side something to ask about, and can turn into a delay, a price adjustment or a condition in the contract. A seed or Series A investor's technical review is lighter than an acquirer's audit, and it looks at the same things.
A startup built quickly, often with contractors and AI coding tools, tends to arrive at diligence with gaps it could have closed in a week: a contractor who never signed an IP assignment, a repository in a former employee's account, a copyleft library nobody noticed, no architecture document. The problem is not that these exist. It is finding them during the deal, on the other side's schedule.
How it works
Technical due diligence is a structured review of whether the product is what the company says it is, whether the company owns it, and whether it can grow. Reviewers usually cover six areas.
Architecture. A diagram, a two-page description and the deploy process. The reviewer wants to see that a new engineer could understand the system without its author.
Security. How user data is protected, who has production access, known issues with a remediation plan, and any incidents. A recent self-check or audit report with fixes is stronger than a claim.
IP and licenses. Which open source components the product ships and under which licenses. GitHub can export a software bill of materials (SBOM), a machine-readable inventory of dependencies, in the SPDX format, including versions, licenses and transitive paths [3].
Code ownership. Every person who wrote code has assigned their rights to the company, and the company controls the repositories, cloud accounts and domains. Code written with AI tools adds a question. The US Copyright Office concluded in January 2025 that AI outputs can be protected where a human determined the expressive elements, but that prompts alone are, at this stage, unlikely to be enough [4]. Diligence will ask how much human authorship and review the codebase has. Ask counsel how this applies to you.
Scalability. Current load, headroom, cost per customer, and the known bottleneck. Nobody expects an MVP to handle a million users. They expect the founder to know what breaks first.
Team. Who knows each part of the system, how knowledge is written down, and what happens if one person leaves.
Six areas a technical review covers
Fig. 01| Dimension | Evidence to bring | Common red flag |
|---|---|---|
| Architecture | Diagram, 2-page doc, deploy steps | Only the original author understands it |
| Security | Access list, issue log, test results | Shared admin logins, no issue list |
| IP and licenses | SBOM with license summary | Copyleft or unknown licenses unreviewed |
| Ownership | Signed assignments, account list | Contractor code with no agreement |
| Scalability | Load, cost per customer, limits | No numbers, only claims |
| Team | Runbooks, owner per component | One person holds every password |
By the numbers
- codebases from 197 M&A transactions audited for Black Duck's 2026 report [1]
- 947
- of those codebases had open source license conflicts, up from 56% [2]
- 68%
- contained at least one known vulnerability, a mean of 581 per codebase [2]
- 87%
- of open source components had no detectable license [1]
- 8%
| Audit finding | Share of codebases | Document to prepare |
|---|---|---|
| Contain open source | 98% | SBOM exported from the repository |
| License conflicts | 68% | License summary with each flagged package resolved or justified |
| At least one vulnerability | 87% | Dependency audit output and a dated remediation plan |
| High-risk vulnerabilities | 78% | Fixes merged, or a written reason the path is unreachable |
| Components with no development in two years | 93% | Upgrade or replacement plan for the ones you depend on most |
The table reads as a forecast. If most commercial codebases in M&A audits have license conflicts and known vulnerabilities, yours probably does too. The difference between a finding and a non-event is whether the founder already has the list, the decision and the date. A reviewer who receives a license summary with three packages marked "replaced in March" moves on. A reviewer who finds the same three packages has a new line in the diligence report.
Implementation
Create the data room as a folder (or a shared drive) with the index below at the top. Fill it before fundraising starts, and update it each quarter.
# Technical data room: <company>, updated <date>
## 1. Architecture
- architecture.pdf: one diagram, components and data flow
- ARCHITECTURE.md: 2 pages, written for a new engineer
- DEPLOY.md: how code reaches production, rollback steps
## 2. Security
- access-list.csv: every person and service with production access
- security-issues.md: known issues, severity, owner, target date
- latest self-check or audit report, with fixes linked
- incidents.md: date, impact, cause, fix (or "none to date")
## 3. IP and licenses
- sbom.spdx.json and licenses.txt (generated, see script)
- license-decisions.md: every flagged package and what was decided
- ai-tools.md: which AI coding tools were used, under which terms
## 4. Ownership
- contributors.csv with an agreement on file for every human author
- signed IP assignment or employment agreements (links)
- accounts.md: repo, cloud, domains, app stores, all in company names
## 5. Scalability
- metrics.md: current load, peak, cost per customer, first bottleneck
## 6. Team
- owners.md: one owner and one backup for each component
- RUNBOOK.md: alerts, restore, on-callTwo documents in the index need commands, not writing: the license report and the contributor list. Both come from the repository itself, so they are accurate on the day you run them.
For the license report, the script below asks GitHub to generate an SPDX SBOM, downloads it, counts packages per license and flags the ones that need review. GitHub has moved SBOM export to an asynchronous flow: the older endpoint that returned the SBOM directly closes after November 13, 2026, and the new one returns a URL that answers 202 while generating and redirects with 302 when ready [5]. It needs the GitHub CLI, signed in with access to the repository.
#!/usr/bin/env bash
# sbom-licenses.sh owner/repo : export an SPDX SBOM and summarize licenses
set -euo pipefail
REPO="$1"
TOKEN="$(gh auth token)"
SBOM_URL=$(gh api "repos/$REPO/dependency-graph/sbom/generate-report" --jq .sbom_url)
for _ in $(seq 1 30); do # 202 while generating, 302 when ready
code=$(curl -s -o /dev/null -w '%{http_code}' -H "Authorization: Bearer $TOKEN" "$SBOM_URL")
[ "$code" = "302" ] && break
sleep 5
done
curl -sL -H "Authorization: Bearer $TOKEN" "$SBOM_URL" -o sbom.spdx.json
# Count packages per license; NOASSERTION means nobody knows yet
jq -r '(.sbom // .).packages[]
| (.licenseConcluded // .licenseDeclared // "NOASSERTION")' sbom.spdx.json \
| sort | uniq -c | sort -rn > licenses.txt
cat licenses.txt
# Flag licenses that need a lawyer's eye before a sale or a raise
grep -E 'GPL|AGPL|SSPL|BUSL|NOASSERTION' licenses.txt || echo "No flagged licenses"Run it as ./sbom-licenses.sh your-org/your-repo. A test run on a public open source repository produced a count per license and flagged eight packages marked NOASSERTION, meaning no license was concluded for them. Each flagged line goes into license-decisions.md with a decision: keep (and why the license is compatible with how you ship), replace, or remove. Copyleft licenses such as GPL and AGPL are not automatically a problem, but they need a lawyer's reading against your distribution model.
Test it
The ownership check starts with a complete list of everyone who wrote code. Run the script below in a full clone of each repository.
#!/usr/bin/env bash
# contributors.sh: every author in the git history, for the IP assignment check
set -euo pipefail
out=contributors.csv
echo "commits,name,email,first_commit,last_commit,agreement_on_file" > "$out"
git log --all --format='%aN|%aE' | sort -u | while IFS='|' read -r name email; do
dates=$(git log --all -F --author="<$email>" --format=%as)
n=$(printf '%s\n' "$dates" | wc -l | tr -d ' ')
first=$(printf '%s\n' "$dates" | tail -1)
last=$(printf '%s\n' "$dates" | head -1)
echo "$n,\"$name\",$email,$first,$last," >> "$out"
done
column -s, -t < "$out"
# Co-authors credited in commit trailers (people, and AI tools that add one)
echo
echo "Co-authored-by trailers:"
git log --all --format='%(trailers:key=Co-authored-by,valueonly)' \
| sed '/^$/d' | sort | uniq -c | sort -rnIt writes contributors.csv with each author's commit count and first and last commit dates, and an empty agreement_on_file column for you to fill. On a three-commit demo repository we built for the test, it listed the founder, a contractor and a sync bot, plus one Co-authored-by trailer added by an AI coding tool. Merge rows where one person used two email addresses before counting.
Expected results, checked one by one:
- Every human row in
contributors.csvhas an agreement on file. Bots need a note on which account and tool they belong to. - Every AI tool in the trailers or in
ai-tools.mdhas its terms on file, including who owns the output [4]. licenses.txthas no flagged line without an entry inlicense-decisions.md.- Dependency audit output is attached, with high and critical issues fixed or explained [2].
- Every account in
accounts.mdis owned by the company, not a person. - A new engineer, given only the data room, can explain the architecture back in 15 minutes.
Decision
Prepare the technical data room before the first serious investor conversation, not after the term sheet.
- Budget one to two weeks of a senior engineer's time for a first pass. Most of it is finding and fixing ownership and license gaps.
- Fix ownership first: missing IP assignments and accounts in personal names are the slowest to repair, because they need other people's signatures.
- Resolve every flagged license and known critical vulnerability, or document the decision. A written decision is a non-event in diligence [1].
- Being prepared does not guarantee a funding outcome. It removes avoidable questions. For moving control of code and accounts from a builder, see The AI Coding Handoff Checklist.
Sources
- [1]2026 Open Source Security and Risk Analysis (OSSRA) report (opens in a new tab)Black Duck, March 2026
- [2]Software governance in the AI era: Key findings from the 2026 OSSRA report (opens in a new tab)Black Duck (Corey Hamilton), February 2026
- [3]Exporting a software bill of materials for your repository (opens in a new tab)GitHub Docs, November 2026
- [4]Copyright and Artificial Intelligence, Part 2: Copyrightability (opens in a new tab)U.S. Copyright Office, January 2025
- [5]REST API endpoints for software bill of materials (SBOM) (opens in a new tab)GitHub Docs, November 2026
Technical guidance, not legal or security certification.
Related resources
Need a technical review of an AI-built MVP?
Discuss your build