Skip to main content

SQ12101

Detected presence of software components distributed with copyleft licenses.

priorityCI/CD statusseverityeffortRL levelRL assessment
passlowhighNonelicenses: warning
Reason: copyleft licensed components

About the issueโ€‹

Software license is a legal instrument that governs the use and distribution of software source code and its binary representation. Software publishers have the freedom to choose any commonly used or purposefully written license to publish their work under. While some licenses are liberal and allow almost any kind of distribution, with or without code modification, other licenses are more restrictive and impose rules for their inclusion in other software projects. Copyleft licenses in particular impose substantial restrictions on the licensee. They typically require that any derived works, and even software code that merely interacts with copyleft code, be licensed under the same license. Since copyleft licenses are commonly open source licenses, their inclusion requires that the entire software package becomes open sourced. For commercial applications, this is typically undesirable. Therefore, the inclusion of copyleft code is commonly avoided or even prohibited by the organization policy.

How to resolve the issueโ€‹

  • Investigate if the software publisher provides this component under a non-copyleft license.
  • Consider replacing the software component with an alternative that offers a license compatible with commercial use.
  • Copyleft (External resource - Wikipedia)