Safeguard
Research•

Open source license risk: a quick reference table by license family

A table of MIT, Apache, MPL, LGPL, GPL and AGPL: what each requires, patent terms and network use. Informational, not legal advice. Use SPDX identifiers.

Safeguard Security Team
4 min read

Open source license risk comes down to what a license requires when you distribute or offer software: permissive licenses (MIT, BSD, Apache-2.0) ask for notices, weak copyleft (LGPL, MPL, EPL) asks you to share changes to the covered library or files, and strong copyleft (GPL, AGPL) can reach your whole work. This is a reference, not legal advice.

The table

Data below comes from the comparison at choosealicense.com. All listed licenses allow commercial use, distribution, modification and private use.

LicenseFamilyExpress patent grantNetwork use triggers source sharingMain conditions
MITPermissiveNoNoKeep license and copyright notice
BSD-2-Clause, BSD-3-ClausePermissiveNoNoKeep license notice
Apache-2.0PermissiveYesNoNotice, state changes
MPL-2.0Weak copyleft (file level)YesNoShare source of covered files, same license for them
EPL-2.0Weak copyleftYesNoSource disclosure, notice, same license
LGPL-3.0Weak copyleft (library)YesNoSource disclosure for the library, notice, state changes
GPL-2.0Strong copyleftNoNoSource disclosure, same license, state changes
GPL-3.0Strong copyleftYesNoSource disclosure, same license, state changes
AGPL-3.0Strong copyleftYesYesAs GPL-3.0, plus network users can get the source

Every license disclaims liability and warranty. Apache-2.0 and MPL-2.0 also exclude trademark rights.

How do you read it?

Permissive licenses are rarely a blocker. The work is bookkeeping: ship the notices. Apache-2.0 adds an express patent grant, which some legal teams prefer.

Weak copyleft limits the sharing duty to the library or files you modified. The sharing duty attaches to changes you make to the covered library or files. Where the line sits for linking depends on the license and on your legal advice.

Strong copyleft is where distribution matters. If you distribute a work that is derived from GPL code, the GPL asks that the result be offered under the same license. Offering software only as a hosted service is a different case for GPL than for AGPL, and that gap is the point of the AGPL: it adds a condition that network users can get the source.

How do you identify a license precisely?

Use SPDX identifiers. The SPDX License List gives each license a short identifier such as MIT, Apache-2.0, GPL-3.0-only and GPL-3.0-or-later. For GNU licenses, the suffixes say whether a single version or that version and later ones apply. The older GPL-3.0 and GPL-3.0+ forms are deprecated but still valid. A WITH clause attaches a license exception, for example GPL-2.0-or-later WITH Autoconf-exception-2.0. Exceptions can change the answer, so do not discard them when you normalize data.

What goes wrong in practice?

  • Transitive dependencies. The license of a package you never chose still applies to what you ship. Scan the full dependency tree.
  • Missing or odd licenses. A package with no license is not free to use. Flag unknowns for review.
  • Dual licensing. "MIT OR GPL" lets you choose. "AND" means both apply.
  • Version mismatches. GPL-2.0-only and GPL-3.0 are not interchangeable. Check the -only and -or-later wording.
  • Changed licenses. A project may change its license between versions. Check the version you actually use.

Tools that inventory dependencies can list licenses and flag obligations, as Safeguard's software composition analysis documentation describes for license obligations and incompatibilities across the dependency graph. The decision about what is acceptable is yours, set with counsel, as policy.

What to do

  1. Decide your allowed, review and blocked license lists with legal counsel.
  2. Generate an inventory with SPDX license identifiers for every shipped product.
  3. Flag unknown licenses and AGPL for manual review.
  4. Keep the license text and notices with each release.
  5. Re-check when dependencies change.

Quick check

Does Apache-2.0 include a patent grant?

Yes. Per the choosealicense comparison, Apache-2.0, MPL-2.0, EPL, LGPL-3.0, GPL-3.0 and AGPL-3.0 include an express patent grant. MIT, BSD and GPL-2.0 do not.

Which license in the table covers network use?

AGPL-3.0, which adds a condition that users who interact with the software over a network can get the source.

Sources

Last reviewed: 18 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.