Open source licence due diligence checks which open-source components a product uses and whether their licences allow the company to sell and host it as the deal assumes. Almost every modern codebase contains open source, so the question is never whether it is there. It is whether anyone knows what the licences require, and whether the answer matches the way the business makes money.
This guide is for deal teams who want to know what a reviewer checks, and for sellers and CTOs who would rather find the problems first. It is not legal advice: licence interpretation turns on the facts and on the text of each licence, so a solicitor should confirm anything that matters to a price.
An open-source finding is rarely fatal. It becomes expensive when the buyer finds it before you do.
How common is open-source licence risk?
Very. Black Duck audited 947 commercial codebases submitted between November 2024 and October 2025 and reported open source in 98% of them and licence conflicts in 68%, which it describes as the highest rate in the history of its annual report [1]. Press coverage of the same report says the rise is partly driven by "licence laundering", where AI assistants generate code snippets derived from copyleft sources [3].
The same report is a reminder that licences are one risk among several. It found 78% of codebases with high-risk vulnerabilities, 93% with components showing no development in two or more years, and a mean of 581 vulnerabilities per codebase, up from 280 a year earlier [1][2]. A buyer who reads the headline will ask for a scan on day one, and a seller who has one ready looks like a team in control.
A caveat on these numbers: Black Duck sells scanning tools, and its sample is codebases submitted for audit, so it does not describe every company. We use it to show how routinely the issue arises, not to size it for any one target.
How do the main licence families differ?
There are hundreds of licences, but a buyer sorts them into three practical groups, because the groups decide how worried to be.
| Group | Example | What it asks of you | Typical buyer view |
|---|---|---|---|
| Permissive | MIT | Keep the copyright and licence notices. Licensed works and larger works can be distributed under different terms and without source code [4] | Low risk if notices are kept |
| Strong copyleft | GPL-3.0 | Source of the licensed work and modifications, including larger works using it, must be available under the same licence, with notices preserved [5] | Risk depends on whether and how the software is distributed |
| Network copyleft | AGPL-3.0 | The same source obligations, and when a modified version is used to provide a service over a network, the complete source of the modified version must be made available [6] | High risk for hosted software; often a flag for replacement |
These are summaries from GitHub's Choose a License pages, which paraphrase the licence texts. The licences themselves control, and there are in-between families, such as weak copyleft licences, that each need reading on their own terms.
Why does the way you deliver the product matter?
Because obligations depend on what you do with the code. Shipping software to customers is distribution. Running it on your own servers and offering it as a service is something different for most licences, but not for the network copyleft family, whose whole purpose is to reach hosted use [6]. A buyer therefore asks three questions of each component that carries copyleft terms: is it modified, is it combined with proprietary code, and is the result distributed or offered over a network?
A worked example, in the abstract. A company sells a hosted analytics product. It uses an open-source database under a permissive licence, which is fine. It also embeds a charting library under a network copyleft licence and has modified it. The combination can create an obligation to offer source of the modified component to users of the hosted service, and the company has never recorded that. A buyer's scan finds it in week one. The fix, replacing the library, is two weeks of work, and a buyer wants it done before completion or priced into the deal.
This is also why a list of licences is not enough. The review needs the deployment model, the architecture and an engineer who can answer "does this get linked or called as a separate process".
What does a reviewer actually check?
In a full review we cover the licence strand in five steps, and each is a request you can prepare for.
- Inventory. A software bill of materials: every component, version and licence, from the package manifests and from a scan of the code, because manifests miss copied snippets.
- Classification. Sort every licence into the three groups above and flag unknown, custom or missing ones.
- Context. For each flagged component, how it is used, whether it is modified and whether it is distributed or hosted.
- Contributor rights. Whether everyone who wrote the code, including contractors and former staff, signed an assignment of IP to the company.
- AI-generated code. Whether engineers use coding assistants, what the policy is and whether output is scanned. Black Duck's report says only 24% of organisations perform comprehensive IP, licence, security and quality evaluations of AI-generated code [1].
We also read contracts for commercial components, because a library licensed per seat or per site, or a dual-licensed one, can carry terms that do not survive a change of ownership.
What happens to the findings?
Most are fixed, a few are priced, and very few stop a deal. A rough guide to how we frame them in a report, from our own practice:
| Finding | Usual response | Who pays |
|---|---|---|
| Permissive component, notices missing | Add the notices | Seller, before completion |
| Copyleft component, not distributed or isolated | Document the analysis; lawyer confirms | Seller |
| Copyleft or network copyleft component inside a distributed or hosted product | Replace, isolate, buy a commercial licence or disclose source | Seller before completion, or price adjustment |
| Missing IP assignment from a contributor | Obtain a signed assignment | Seller, as a condition |
| Unknown or custom licence | Legal review of the text | Shared, depending on size |
| Un-scanned AI-generated code | Scan, then treat as above | Seller |
The pattern is that findings become expensive in proportion to how late they are found. Replacing a library before exclusivity is an engineering ticket. Replacing it after is a negotiation, a specific warranty or indemnity, and sometimes a retention.
How should a seller prepare?
Start a year before the sale, and do it in this order. Generate a software bill of materials and a licence scan, and keep both current. Triage the results with an engineer and a lawyer. Replace or isolate anything that conflicts with your delivery model. Get IP assignments signed from everyone who contributed code. Write a one-page policy on open source and on AI coding assistants, and make sure engineers follow it. Then have the evidence ready in the data room.
This is the open-source slice of a wider exercise. A vendor technical due diligence report covers it alongside architecture, security and the team, and our free technology exit readiness checklist lists the items by workstream. For the review as a buyer runs it, see our technology due diligence checklist and the timetable for the process.
What this means for your deal
If you are buying, ask for the bill of materials and the scan in the first data request, and have a solicitor read the five or six components that matter. If you are selling, find them first. If you want an independent view of either, our technical due diligence includes the open-source and licence strand, and the first call is free.
Questions people ask
What is open source licence due diligence?
It is the part of technical due diligence that identifies every open-source component in a product, the licence each carries and whether the company complies with it. The aim is to establish that the business can sell, host and transfer the software as the deal assumes, and to cost any remediation before completion.
What is a software bill of materials?
A software bill of materials, or SBOM, is a list of every component in a product, including open-source libraries, with their versions and licences. It is the starting point for licence and vulnerability checks. Sellers who can produce a current one on request save days of review and show the engineering team is in control.
Is using GPL code always a problem?
No. The GPL's conditions bite when you distribute the code or larger works that include it, and the obligation is to release source under the same licence. Internal use, or a component kept at arm's length, may be fine. The risk is not knowing, so a buyer will ask for the evidence, and a lawyer should confirm the answer.
Does AI-generated code create licence risk?
It can. Black Duck's 2026 report attributes part of the rise in licence conflicts to what it calls licence laundering, where AI assistants generate snippets derived from copyleft sources without the original licence information. Treat AI-generated code like any third-party code: scan it, record it and have a policy on how teams may use assistants.
How much does an open-source audit cost?
A scan can run in days, and the cost is mostly the time to triage the results. Our own technical due diligence includes the open-source and licence strand, and a seller can commission a vendor report that covers it before a sale. Fixing findings costs more than finding them, which is the case for starting early.
Sources
- Open Source Security and Risk Analysis (OSSRA) report 2026, Black Duck, 2026 (page marked March 2026).
- Open-source security debt grows across commercial software, Help Net Security, by Mirko Zorz, 26 February 2026.
- Report: Open source licensing conflicts hit an all-time high as organizations struggle to audit AI-generated code for IP risks, SD Times, by Jenna Barron, 26 February 2026.
- MIT License, Choose a License (GitHub), page read 30 November 2026.
- GNU General Public License v3.0, Choose a License (GitHub), page read 30 November 2026.
- GNU Affero General Public License v3.0, Choose a License (GitHub), page read 30 November 2026.