Severity
Low
Short Description
(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Packages
View packages with this alert.Suggestion
Manually review the license contents.
The Unidentified License alert flags packages where a license appears to be found but Socket was not able to match it with a known license. The risks and obligations of using such a license are unknown.
Having one of these packages among your dependencies may introduce legal uncertainty, compliance issues, due to hidden restrictions and potential incompatibility with other licenses.
LICENSE
file, package.json
) to manually identify the license. This is especially important if the license is custom or uncommon.Here is an example where Socket detected a file that appears to be a license but could not determine a match with a known license. The alert identifies the specific file that caused the package to be flagged.
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.
In the case of the Unidentified License alert, a package is flagged when we were able to find something that is affirmatively license data (the presence of a LICENSE
file, a license
property in the package.json file, etc.) but we were unable to determine what license it is with sufficient confidence to give any additional information. The presence of a totally custom license expression in a manifest file, or the use of an unorthodox license text is a common trigger for this alert.