Severity
Low
Short Description
(Experimental) Contains an SPDX license exception.
Packages
View packages with this alert.Suggestion
License exceptions should be carefully reviewed.
The License Exception alert flags packages that designate a modification to the standard terms of an open-source license. Exceptions provide additional permissions (or sometimes restrictions) that override specific aspects of the base license. These exceptions can affect how the software can be used or how derivative works can be licensed.
Here's an example of a package with a license exception bearing the LLVM-exception ID. It is licensed under the Apache License v2.0 with LLVM Exceptions.
Packages are flagged with a License Exception alert when a license paired with some kind of exception was detected. Because license exceptions are rare and may change the terms of the base license in unpredictable ways, the appearance of an exception is its own alert.
In order to determine a package's licensing, Socket checks a few different sources. The main ones are (1) looking in something that's explicitly a LICENSE file, (2) looking for ecosystem-specific values in manifest files (package.json
, pyproject.toml
, gemfiles
, etc.), (3) checking the license metadata that is available through the package registry, and (4) looking for copyright headers in source code files.
SPDX - List of Known License Exceptions
Understanding License Exceptions: What Developers Need to Know
GNU License Exceptions – A detailed explanation of how license exceptions work in GNU licenses
On Selling Exceptions to the GNU GPL - FSF article by Richard Stallman