Open source licenses are legal contracts
Every dependency you install comes with license terms. Using a GPL library in a proprietary product is a legal violation. Most teams don't check until it's too late.
Scan your dependenciesFive risk levels
Not all open source licenses are the same. The risk depends on what the license requires when you distribute your software.
Viral obligation
Derivative works must be released under the same license. If you distribute a binary containing copyleft code, your entire project may need to be open-sourced.
GPL-2.0, GPL-3.0, AGPL-3.0, SSPL-1.0
Library-level obligation
Copyleft applies to the library itself, not to your code that uses it. Modifications to the library must be shared, but your project remains yours.
LGPL-2.1, LGPL-3.0, MPL-2.0, EPL-2.0
Minimal restrictions
Use in proprietary and open-source projects. Typically requires attribution (keep the copyright notice). No obligation to share your source code.
MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC
No restrictions
No conditions at all. Use for any purpose. No attribution required. The author has waived all rights.
Unlicense, CC0-1.0, WTFPL
Custom terms
Source-available but not open source. May restrict commercial use, modification, or redistribution. Always read the full license text.
BUSL-1.1, Elastic-2.0, SSPL-1.0
The AGPL trap for SaaS
AGPL-3.0 extends copyleft to network use. If your web service uses an AGPL library, you must release your entire source code to anyone who uses the service — even over the network. This catches many SaaS companies off guard. A single AGPL dependency in your stack can create a legal obligation to open-source your product.
Common licenses at a glance
License compliance checklist
Scan your dependencies now
Gridwork License Scanner classifies 60+ licenses, detects copyleft conflicts, flags AGPL SaaS risk, and identifies unknown licenses. One command.
npx gridwork-license
click to copy
View source on GitHub