Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Understanding Open Source Licenses and Their Legal Framework

An open source license is the legal permission that allows others to use, modify, and share your code, governed by the Open Source Definition and reviewed by the Open Source Initiative.

Share
AI-generated conceptual illustration accompanying: Understanding Open Source Licenses and Their Legal Framework
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

An open source license is the legal permission that allows others to use, modify, and share your code. These licenses are governed by the Open Source Definition, which outlines ten criteria that must be met for a license to be considered open source. The Open Source Initiative (OSI) reviews licenses to ensure they comply with these criteria and maintains a list of approved licenses. In research software, open source licenses play a critical role in managing copyright, which applies automatically to code. Choosing the right license depends on the goals of the project and the rights the creator wishes to grant. The CASRAI dictionary entry on open source software provides a detailed overview of the Open Source Definition, while this page focuses on the practical steps of selecting and applying a specific license. For more information on approved licenses, the OSI website offers a comprehensive list.

Choosing an Open Source License Based on Project Goals

Choosing an open source license depends on the goals of your project. If the aim is to allow others to reuse your code with minimal restrictions, permissive licenses like MIT or Apache-2.0 are suitable, as they only require preservation of copyright and license notices. For projects that require improvements to be shared back as source, copyleft licenses such as GNU GPLv3 or Mozilla Public License 2.0 are appropriate. The GPLv3 enforces strong copyleft, requiring complete source code availability, while the MPL-2.0 applies source-code obligations only to modified files. Network copyleft licenses like GNU AGPLv3 extend these obligations to network use. It is important to note that licenses not reviewed by the Open Source Initiative (OSI) should not be described as open source, even if source code is available. For detailed information on license types, refer to the SPDX License List.

Applying an Open Source License to a Software Project

Applying an open source license to a software project involves selecting a license from trusted sources such as choosealicense.com or the Open Source Initiative (OSI) list. Once selected, the full license text should be copied from the official source and added as a LICENSE file at the top level of the repository. According to SPDX guidance, license identifiers should be included in each file to ensure that downstream users can identify the applicable license even if a file is removed from the original repository. This practice helps maintain clarity and compliance throughout the software lifecycle. GitHub Enterprise Cloud now offers open source license compliance, which includes automatic checks for dependencies in pull requests and the ability to define enterprise-wide license policies. These features help ensure that all dependencies meet acceptable licensing criteria before merging changes into a project.

Trends in open source licensing reveal a growing shift toward less traditional models, with projects increasingly adopting licenses that fall outside the Open Source Initiative’s (OSI) recognized standards. According to recent reports, license changes are becoming more frequent, often moving from OSI-approved permissive or copyleft licenses toward “source-available” licenses that lack OSI recognition. For example, Loki Mode transitioned from the MIT License to BSL 1.1, effective March 19, 2026, while MiniMax faced backlash after moving its M2.7 AI model from MIT to a non-commercial license. These shifts highlight a broader trend where projects may impose initial restrictions before transitioning to open-source licenses after a set period, such as four years. However, permissive licensing still shows growth, indicating open source is not in decline. As Elsie Rainee notes, trust remains central to open source, and due diligence is now essential. Projects that provide early warnings, maintain open versions with clear timelines for security fixes, and use tools like ScanCode or FOSSA in CI pipelines help users manage license changes more effectively.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more