A practical guide to open source licences for business: permissive versus copyleft, attribution duties, SBOMs and a simple internal policy.
In this article
Most modern software is built on open source, and every open source component comes with a licence that sets conditions on how you may use, change and distribute it. For a business the working answer is simple: know what you use, know which licence covers each piece, meet the obligations that licence sets, and write down a short policy so decisions are consistent. This guide covers the main licence families, the common obligations, the idea of a software bill of materials (SBOM) and how to set up an internal policy.
Open source is not the same as free of conditions
Open source licences grant broad permissions, and in exchange they ask for something. Often it is only that you keep a copyright notice. Sometimes it is that you share changes under the same licence. A few have extra terms about patents or about network use.
Two common misunderstandings lead to trouble. One is that open source means no rules, so anything found on a public repository is fair game. In fact, code with no licence at all is not open to reuse by default. The other is that open source rules only matter for products you sell. They also matter when you deliver software to a client, merge with another company, or go through a customer's due diligence.
This article is general information, not advice on a specific licence. Always read the licence text for the version you actually use.
Permissive and copyleft licences
Licences are often grouped into broad families.
| Family | What it generally asks | Typical business impact |
|---|---|---|
| Permissive (for example MIT, BSD, Apache 2.0) | Keep notices and attribution; some include patent terms | Easy to use in closed products if you keep the notices |
| Weak copyleft | Changes to the licensed component itself must be shared on the same terms | Your own separate code usually stays yours, depending on how it is linked |
| Strong copyleft | Larger works that include the component may need to be offered under the same licence when distributed | Needs careful design and review before shipping |
| Network copyleft | Obligations can also apply when users interact with modified software over a network | Relevant to hosted services, not only shipped software |
The table is a simplification. The exact wording, the version of the licence and how the component is combined with your code all affect the outcome. Treat the families as a quick triage tool, not a final answer.
Obligations you are likely to meet
Even permissive licences ask for things, and these are the most frequently missed.
- Attribution and notices: keep the copyright notice and licence text, and show them where the licence says, for example in an about screen, a documentation page or a notices file shipped with the software.
- Source offers: some licences require you to provide or offer source code when you distribute binaries.
- Same-licence sharing: copyleft terms may require that modified versions use the same licence.
- Change notices: some licences ask you to state what you changed.
- Patent terms: some licences include a patent grant and conditions that can end it.
- Trademark limits: a licence to the code is generally not a licence to the project name or logo.
It helps to ask when each duty is triggered. Many apply on distribution: shipping an app, delivering a build to a client or putting a binary in an app store. A web application served from your own server raises different questions, though some licences specifically address network use. That is another reason to read the text rather than assume.
If you build mobile apps, bundled libraries are distributed to every user's device, so notices matter there too. Our article on the progressive web app versus native app decision touches on how distribution differs.
The SBOM idea
You cannot comply with licences you do not know you have. A software bill of materials is a structured list of the components in a piece of software: names, versions, where they come from and, ideally, their licences. Think of it as an ingredients list.
It is useful beyond licensing. When a vulnerability is announced in a library, an SBOM tells you quickly whether you use it and where. Our vulnerability management guide explains how to act on that information.
Practical points:
- Generate the SBOM from the build, not from memory. Package managers and build tools can produce one automatically in common formats.
- Include transitive dependencies, the libraries your libraries use. These are often most of the list.
- Store a copy with each release so you can answer questions about an older version.
- Treat the licence field in package metadata as a starting point. It can be missing or wrong, so review anything unusual.
Customers and regulators increasingly ask about software components, particularly in security-sensitive sectors, so an SBOM may be requested of you as a supplier. See NIS2 and supply chain security for the supplier-side picture.
Building a simple internal policy
A policy does not need to be long. One or two pages that engineers actually read beat a binder nobody opens. A workable structure is below.
- Approved list: licences that engineers may use without asking, typically the permissive ones.
- Review list: licences that need a decision before use, such as weak or strong copyleft and network copyleft.
- Restricted list: licences you will not use in a given product type, with the reason.
- Process: who to ask, how long a decision takes and how the answer is recorded.
- Contribution rules: what staff may publish or contribute upstream, and whether approval is needed.
- Client work: how components in delivered software are documented for the client.
Decisions should be recorded, so the same question does not need answering twice. If one team picks a copyleft library for a prototype, the policy should say how it is replaced or cleared before production.
Automating checks in the build
People forget, pipelines do not. Add a licence scan to your continuous integration so that new dependencies are checked whenever they are added.
- Fail or flag the build when a dependency has a licence on the restricted list or no detectable licence.
- Produce the SBOM and notices file as build artefacts.
- Pin dependency versions, and review upgrades, because a licence can change between versions.
- Run the scan on every pull request, not just before release.
Our GitHub Actions pipeline guide shows how to add steps like this, and CI/CD secrets management basics covers keeping the pipeline itself safe. Scanners give false positives and misses, so keep a human review for the unusual cases.
Common mistakes
- Copying snippets from forums or repositories without checking the licence.
- Ignoring transitive dependencies.
- Removing licence headers or notice files during a build cleanup.
- Assuming a licence that was fine for an internal tool is fine for a distributed product.
- Using open source in client deliverables without telling the client what is included.
- Forgetting that a dependency's licence can change in a later version.
What to do next
- Generate an SBOM for your main product and look at what is in it.
- Sort the licences into approved, review and restricted lists.
- Add a licence check and notices generation to your build pipeline.
- Write the one-page policy and name an owner.
- For any copyleft component in a distributed product, or any doubt, take specific advice from a solicitor who knows software licensing. Check the current licence text for your versions.
This is not legal advice.
If you would like help with this, the CloudWiss team in Dublin can talk it through, from dependency checks in your build to how software is structured so licence obligations stay manageable. Read more about our web application development services.
Share this article
General educational information, not legal or professional advice for your specific situation.
