Home/Change of Control/Confidentiality and Code Disclosure
Change of Control and Assignment

Confidentiality clauses and disclosing code to a buyer.

Diligence needs to see the code. The contracts often say it cannot. How to disclose what a buyer needs without breaching the confidentiality clauses that govern it.

Confidentiality clauses and disclosing code to a buyer pull in opposite directions, and a deal team has to hold both at once. Diligence needs to understand the software that powers the target: how it is built, what it depends on, and where the licensing risk sits. The contracts that govern that software frequently forbid exactly the disclosure diligence requires. Vendor agreements bar handing source code or commercial terms to a third party. Customer contracts restrict what can be shared about bespoke work. Partner deals carry confidentiality obligations that survive the transaction. Managing confidentiality clauses and disclosing code to a buyer is the discipline of getting diligence the answers it needs without breaching the obligations the target already owes, because a careless disclosure becomes a liability the buyer inherits at close.

How confidentiality clauses and disclosing code to a buyer interact

Every piece of material a buyer wants to inspect carries its own confidentiality status. Code the target wrote and owns can usually be shown with ordinary deal protections. Third party source code, licensed in under strict terms, often cannot be disclosed at all without the vendor consent. Commercial terms in vendor contracts are frequently marked confidential and sometimes specifically barred from disclosure to competitors or potential acquirers. Customer data and bespoke deliverables carry obligations the target owes downstream. The disclosure plan starts by classifying material into these tiers, because the controls that apply to each are different. A blanket data room with everything in it is the fastest route to a breach. The clause discovery that feeds this classification is the same exercise described in finding change of control clauses before you sign, run with confidentiality and disclosure restrictions added to the read.

Layered controls for disclosing code to a buyer Four nested layers showing controls that protect confidential code during diligence, from a non disclosure agreement on the outside to a clean room review at the centre, with staged access and redaction in between. Disclosing code without breaching confidentiality 1. Non disclosure agreement frames every disclosure 2. Staged access by sensitivity tier 3. Redaction of third party and restricted code 4. Clean room review Independent expert inspects, buyer sees findings
Confidential code reaches a buyer through nested controls, from the non disclosure agreement on the outside to a clean room review at the centre. Illustrative framework.

The controls that make disclosure clean

Disclosure to a buyer is managed through nested controls, each tighter than the last. The outer layer is the non disclosure agreement between buyer and seller, which frames every disclosure but does not override obligations owed to third parties. Inside that sits staged access, where material is released by sensitivity tier as the deal progresses, so the most sensitive items appear only to a small named group late in the process. Inside that sits redaction, where third party code, pricing, or customer identifiers are removed before anything is shown. At the centre sits the clean room, where an independent expert inspects the most sensitive material, such as licensed in source code, and reports findings to the buyer without the buyer ever seeing the raw material. The clean room is what lets a buyer get a real answer on a question like whether the target has embedded restricted third party code, without the disclosure itself breaching the vendor confidentiality clause.

Disclosure controls matched to material sensitivity
Material typeConfidentiality riskControl that fits
Target owned source codeLow, owned by the targetStandard data room under the non disclosure agreement
Vendor commercial termsMedium, often marked confidentialStaged access, redact pricing, named recipients only
Licensed in third party codeHigh, disclosure often barredClean room review by an independent expert
Customer bespoke deliverablesHigh, obligations owed downstreamRedaction of identifiers, consent where required
Open source componentsVariable by licenceBill of materials and licence scan, not raw disclosure

Why a buyer side non disclosure agreement is not enough

A frequent misunderstanding is that the non disclosure agreement between the parties cures any confidentiality problem. It does not. That agreement governs the relationship between buyer and seller, but it has no power over obligations the target owes to a vendor, customer, or partner who is not a party to it. If a software vendor contract states that its source code and terms may not be disclosed to a third party, showing them to a buyer breaches that contract regardless of how robust the buyer side non disclosure agreement is. The breach is the disclosure itself. This matters to the buyer because the consequences of that breach, whether a termination right, a penalty, or a damaged vendor relationship, travel with the business into the buyer hands. The disclosure plan therefore has to respect third party obligations, not just paper over them, which is why the high sensitivity tiers go through redaction and clean rooms rather than the open data room.

Disclosure, structure, and what the buyer inherits

Deal structure shapes the disclosure question because it decides who ends up holding the confidential material and the obligations attached to it. In a stock purchase the target entity continues and its confidentiality obligations carry across intact, so the buyer inherits both the material and the duties. In an asset purchase the relevant contracts and code have to be assigned, and the disclosure during diligence has to anticipate which obligations will move. In a carve out the confidential material may be shared with a wider seller group, and disclosure has to separate what belongs to the carved out business from what does not. The structure analysis in stock versus asset purchase and which triggers assignment issues runs alongside the disclosure plan, because the two decisions inform each other. As with every clause question, the legal interpretation of a confidentiality obligation is a matter for the buyer own counsel.

Open source is a disclosure question too

One category sits apart from the confidentiality tiers and trips up deal teams that only think about proprietary code. Open source components carry no confidentiality obligation, so they do not need a clean room, but they carry licence obligations that a buyer must understand, and the way to assess them is not raw code disclosure at all. The right instrument is a software bill of materials and a licence scan that lists every open source component and the terms it travels under. Permissive licences create little risk. Copyleft licences can, in some configurations, carry obligations that extend to the code they are combined with, which is a commercial question the buyer needs answered before close. Because the assessment is done through a scan and a report rather than by handing over code, it fits cleanly alongside the clean room work without adding confidentiality risk, and it closes a gap that a confidentiality focused disclosure plan would otherwise miss.

A worked example

Consider an anonymised composite: a strategic buyer acquiring a 1,400 employee analytics software business. The buyer wanted comfort that the target product did not embed restricted third party code that would create a licensing problem after close. The target source code was partly its own and partly licensed in from two specialist vendors under agreements that barred disclosure of the licensed code to any third party, and explicitly to competitors. A direct disclosure to the buyer, itself a competitor in part of the market, would have breached both vendor agreements and handed the buyer a liability on day one. The deal team set up a clean room where an independent expert inspected the full code base, confirmed the boundaries between owned and licensed code, and reported that the licensed components were used within their terms. The buyer got the assurance it needed, the vendor agreements stayed intact, and no confidential code changed hands. The lesson for buyers is that the answer diligence needs and the raw material it wants are not the same thing, and clean controls deliver the first without the risk of the second.

Key takeaways

  • Confidentiality clauses and disclosing code to a buyer conflict because diligence needs to see material the target is often barred from sharing.
  • Classify material by sensitivity first, because owned code, vendor terms, and licensed in code each call for different controls.
  • A buyer side non disclosure agreement does not override obligations the target owes to third parties, so a careless disclosure still breaches them.
  • A clean room lets an independent expert answer the diligence question without the buyer seeing the raw confidential material.

Recommendations for buyers

  1. Classify before you open the data room. Sort material into owned, vendor confidential, and third party restricted tiers before anything is shared.
  2. Use clean rooms for the high risk tier. Have an independent expert review licensed in code and report findings rather than disclosing the code.
  3. Do not rely on the deal non disclosure agreement alone. Respect third party obligations directly, because their breach travels with the business.
  4. Align disclosure with structure. Build the disclosure plan around the chosen deal structure, with counsel interpreting each confidentiality clause.

Frequently asked questions

Why do confidentiality clauses matter when disclosing code to a buyer?
Because much of the code and contract material a buyer wants to inspect is subject to confidentiality obligations the target owes to vendors, customers, or partners. Disclosing it to a buyer without the right controls can breach those obligations and create a fresh liability the buyer then inherits.
Can a target show third party source code to a buyer in diligence?
Usually not directly. Third party code is typically subject to strict confidentiality and use restrictions, so it is redacted or reviewed through a clean room by an independent expert who reports findings to the buyer without handing over the code itself.
What is a clean room review?
A clean room review is an arrangement where an independent expert inspects sensitive code or contracts and reports conclusions to the buyer, without the buyer seeing the raw confidential material. It lets diligence answer its questions while keeping the confidentiality obligation intact.
Does signing a non disclosure agreement solve the problem?
Not on its own. A non disclosure agreement between buyer and seller governs that relationship, but it does not override obligations the target owes to a third party. If a vendor contract bars disclosure to competitors or acquirers, the buyer side non disclosure agreement does not cure that breach.
How does deal structure affect code disclosure?
Structure affects who ends up holding the obligations and the code after close, which shapes how much can be disclosed and to whom during diligence. The disclosure plan should be built alongside the structure decision, with counsel interpreting each confidentiality clause.

Disclose what the deal needs, safely

We map the confidentiality and disclosure restrictions across the target software estate, design the controls that let diligence see what it needs, and flag where disclosure to a buyer would breach a third party agreement.

Request a change of control clause review