Writing software is often a collaborative process, even if it might not immediately appear so. To accelerate development by building off what has been tested and true, developers often incorporate and build out from existing libraries and code as they develop their own software architecture. For founders building their next commercial asset, whether on their own or vis-à-vis paid employees or contractors, a failure to carefully review the terms attributed to such third-party assets may carry consequences for their intended commercial rollout. Similarly, for businesses looking to raise capital or pursue an exit, compromised assets affecting a business’ underlying IP may kill a transaction scrutinized by a prospective investor or acquirer.
In this article, we’ll be looking at some common obligations that flow from popular open-source licenses. The purpose is to highlight how such obligations may affect how the product can ultimately be distributed, whether portions of its source code must be made available to third parties, and to highlight certain rights that B2C or B2B customers receive. This article will also consider questions that may arise when employees build software internally or developers create their own commercial products.
Open-source software, including software under copyleft licences, can be used commercially. What must be scrutinized, however, is whether the applicable terms support the way a business intends to commercialize its product. Understanding those terms during development can help avoid an expensive redesign later.
What is an open source licence?
An open source licence gives users permission to use, modify, and redistribute software, subject to certain conditions. Open source licences permit commercial use, but typically they differ in what they require when code is modified or shared. Commercial use also does not necessarily equate to fulsome proprietary interest. For example, some licences require you to preserve and disclose the original copyright notice and licence terms. If you incorporate an open-source library into your application that is subject to such a license, you may need to include that library’s copyright notice and licence text when distributing your application. Other commonly used licenses may impose obligations concerning source code and the terms under which covered software is distributed.[1]
A separate consideration is whether public access to code must be made available. A repository being visible on GitHub does not, by itself, establish permission to copy its code into a product. Developers should identify the applicable licence rather than assume that accessible code is available for unrestricted use.
Likewise, some software is described as “source available” because its source can be inspected, but its licence may actually restrict certain kinds of commercial use. Such terms differ from the definition ascribed to open source licences by the Open Source Initiative, a nonprofit organization that establishes the predominant standard for open-source software.[1]
What is a copyleft licence?
A copyleft licence allows developers to build on existing code while requiring them, in certain circumstances, to let others do the same. Depending on the licence and how the code is used, this may mean providing access to the relevant source code (the human-readable instructions behind the software) and may require that recipients are allowed to use, modify, and share such source code under the same licence.
Permissive licences generally provide more flexibility to incorporate code into proprietary software without requiring the proprietary source to be shared. For example, the MIT licence permits broad reuse, subject to retaining its copyright and permission notices. Apache License 2.0 also allows broad reuse, with its own notice, modification, and other requirements.[2][3]
The following comparison provides a high level (non-comprehensive) overview:
| Approach | Examples | Principal consideration |
| Permissive | MIT, Apache 2.0 | Generally allows you to incorporate the code into a commercial product while keeping your own source code private. This does not remove the obligation to still comply with requirements such as including copyright notices and licence terms. Some licences impose additional conditions; Apache 2.0, for example, requires notices identifying modified files. |
| Limited copyleft | MPL 2.0, LGPL | Generally impose requirements on particular files or libraries.
For example, under MPL 2.0, distributing software containing MPL-covered files requires the disclosure of the source of such files, including modifications, under the MPL. Similarly, LGPLv3 allows proprietary applications to use covered libraries, subject to conditions including source access and enabling users to modify or replace the library. Other parts of your application can remain proprietary if the conditions are met. |
| Strong copyleft | GPL | When distributed, software combining GPL code and your proprietary code may need to be licensed under the GPL, and access may need to be provided to the corresponding source code. Recipients receive rights to modify and redistribute it. Simply bundling separate, independent programs together does not automatically extend the GPL to every program. |
| Network copyleft | AGPL | Includes distribution obligations and an additional requirement relevant to hosted products and SaaS platforms. If you modify an AGPL-covered program and users interact with that version over a network, you must prominently offer those users access to its corresponding source code at no charge (even if you do not distribute copies of the program to them). |
Evidently, although each of these licences permits commercial use, they prescribe very different obligations. In shorthand: under MPL 2.0, distributing your application generally requires you to make the source code of files containing MPL-licensed code available to recipients. Other files can remain proprietary. The LGPL can allow you to use an open source library as a reusable collection of code while keeping your application’s own source code private, provided you meet prescribed license conditions such as enabling users to modify or replace such library. You should therefore check the specific licence version and any additional permissions granted by the respective copyright owner(s).[4][5]
Can you sell software that incorporates copyleft code?
Yes, with important caveats. Copyleft does not inherently prohibit the sale of software or charging for related services. For example, the GPL expressly permits charging for copies, support, and warranty protection.[10] However, the ability to charge does not necessarily provide the kind of exclusivity that a business might expect. Recipients of GPL-covered software have rights to modify and redistribute such software, including the right to distribute copies without paying the original distributor.[10]
Consider a company planning to distribute a software application under its own licence that seeks to prohibit copying and which mandates that all source code is kept confidential. If incorporating GPL code makes that application a covered combined work, those intended restrictions may conflict with the GPL when the application is distributed. A company must therefore assess the scope of the covered work and the obligations that actually follow to determine if its business interests are aligned and preserved.
Further, copyleft does not automatically transfer copyright ownership, and it does not require every repository belonging to a business to be published. By way of an example, MPL 2.0 can require access to the source of covered files while allowing other files in a larger application to remain proprietary.[4] The practical concern then is not title, but rather, the rights granted in the affected code and their compatibility with the business’s commercial objectives.
When do licence obligations become relevant?
Copying code into an application, modifying a library, and using a standalone development tool can each have different consequences depending on the applicable license(s). The interaction between components also matters. For these reasons, obligations become acutely relevant in different contexts. Below are some examples of the types of software products commonly deployed by developers, and common effects caused by integrated open source code.
Downloadable Applications. There can be distribution obligations borne upon delivery of software to end users, even if the delivery is free. For example, a GPL license will require compliance with specific provisions which address the corresponding source code, such as the passing on of the same rights enjoyed by the developer, the provision of source code, and visibility to the GPL terms. [6]
Hosted SaaS Platforms. Under GPLv3, network interaction alone, without transferring a copy, is not considered a conveyance of the software. A separate important consideration is attributed to an AGPLv3 license: if covered software is modified, the modified version must prominently offer its corresponding source to users interacting with it remotely over a network, in the manner more particularly specified in the licence.[6][7]
A SaaS label also does not mean that no code is distributed. JavaScript sent to a user’s browser, for example, is delivered to that user and needs its own licensing assessment.[4]
Internal Development Tools. Using a tool licensed under the GPL license to develop an application does not automatically make the application subject to the GPL by consequence. Rather, the GPL addresses output according to whether its content actually constitutes a covered work. For this reason, generated output that contains covered code should be scrutinized by a technical lead or their advisors to assess whether such outputs are, in turn, liable to be considered covered works that are subject to the license.[6]
Such an assessment should also scrutinize dependencies. For example, a selected library may bring in other packages with their own licences, and the combination of components may raise questions about whether sometimes contrasting obligations can be satisfied together.
What if a developer uses AI to write code?
Now that we have some clarity on what open source licenses are generally about, it is worth considering a new sphere of complexity: the use of AI for the writing of code. AI coding tools add another reason to carefully review the code entering a product by a proficient developer or an advisor. This is especially the case where code suggested by a tool may match existing public code, and where AI-assisted development may introduce third-party libraries whose licences need context-appropriate assessment.
There are a number of tools which offer features to flag matching code and identify associated licences. For example, GitHub Copilot provides references for certain matches, but even then, its checks have limits. An absence of warnings should not be treated as confirmation that code is clear for the intended use.[8] For businesses that have their code at the core of their commercial offering or value proposition, the importance afforded to an appropriate level of care cannot be overstated.
A tool’s own terms also warrant separate review. Recall that these terms govern the relationship between a developer and the tool provider. They do not, by themselves, necessarily resolve third-party rights in code subject to development or deployment. By way of an example, GitHub’s Generative AI Services Terms for services purchased directly from GitHub under a volume licensing agreement expressly leave customers responsible for evaluating licensing requirements applicable to resulting applications.[9]
Similarly, an AI model having been trained on open-source code does not, on that fact alone, establish that every output carries a copyleft licence. In all circumstances, code and its use require careful assessment.
Finally, a separate matter of consideration altogether is the actual ownership and copyright protection of AI-generated code, and the treatment of confidential information submitted through prompts. This warrants a wholly separate analysis which is not the focus of this article.
What should founders and employers require from developers?
Founders and employers should, by necessity, care deeply about the provenance of code developed by their teams to ensure visibility on third party obligations (if any) and ownership. It follows that development agreements should address third-party materials alongside the authorship and ownership of newly created code. It also stands to be noted that an assignment of a developer’s rights does not necessarily provide exclusive ownership of someone else’s library or override its licence, as certain assignments may be deficient in their purported scope.
For both employees and contractors, businesses should consider requirements to:
- disclose third-party components, versions, applicable licences, and relevant modifications;
- obtain approval before incorporating components whose obligations may conflict with the intended use;
- deliver the notices, licence information, and source materials needed for compliance;
- use approved AI coding tools and review their suggestions and introduced dependencies; and
- allocate responsibility for the regular assessment and auditing of internal processes and software.
As a blanket prohibition on all open-source software can unnecessarily limit development, an approval process can instead provide for flexibility as to whether a product will be distributed to customers, operated as a hosted service, or strictly used internally. Review should also continue as the product changes; as a matter of good practice, a component accepted for an internal prototype may need another assessment when the software is delivered to customers or incorporated into a different offering.
What should developers check before incorporating third-party code?
As a routine exercise, and prior to the integration of third party open source code, developers should consider the intended use of a deliverable and ask:
- What downstream licence may apply to the product, and what dependencies would accompany it?
- Will covered code be modified, combined with other code, distributed, or accessed over a network?
- What notices, source access, or other conditions will be required?
- Has the employer or client approved the proposed use of such third party code?
A component inventory, sometimes called a software bill of materials, can support this process. Licence scanning tools can assist with identification, but the findings still need to be assessed against the implementation and deployment.
Addressing a licence issue before launch and looking to the future
A careful internal review or external audit of a business’ software prior to deployment is an effective way of mitigating future expense and potential catastrophe. If an issue is identified, an appropriate response may involve aligning on the satisfaction of the imposed licence conditions. Or, it may require replacing the affected component, or obtaining an alternative commercial licence where available. These changes may, in turn, also require their own following technical and legal review. It is worth noting of course that merely replacing a component subject to an open source license does not necessarily resolve obligations arising from earlier distribution. A thorough assessment should therefore account for what has already been delivered and what remains in the product.
Around or post-deployment, founders should also be prepared to explain the product’s third-party components during financing or acquisition due diligence, as the provenance of code is typically scrutinized by prospective investors or acquirers. Maintaining clear records can help establish what the business owns, what it uses under licence, and whether such rights actually support its commercial plans.
In short: open-source software can be a valuable part of a commercial product, and understanding applicable licensing requirements early is an important step for enabling businesses to build with clarity about the rights, benefits, and obligations they can offer (or impose upon) customers and investors.
If you have questions about software licensing, development agreements, or IP due diligence, please contact Massimo Orsini at Oziel Law.
Oziel Law communications and legal articles are intended for informational purposes only and do not constitute legal advice or an opinion on any issue. To obtain advice about a specific matter, please contact our lawyers.
References
[1] Open Source Initiative — The Open Source Definition
[2] Open Source Initiative — The MIT License
[3] Apache Software Foundation — Apache License 2.0
[5] GNU Lesser General Public License version 3
[6] GNU General Public License version 3
[7] GNU Affero General Public License version 3
[8] GitHub Docs — GitHub Copilot in IDEs and references to matching public code