The Wayback Machine - http://web.archive.org/web/20211006090824/https://resources.github.com/whitepapers/How-GitHub-secures-open-source-software/
 





Whitepaper

 





How GitHub secures open source software

 








Feb 23, 2021
 


Tags:

opensource  

security  




Download PDF  


GitHub works hard to secure the open source software you use. We provide businesses with best practices to learn and leverage across their workflows. Download this PDF Whitepaper to learn more.
 

GitHubs role in securing open source software


Open source software is everywhere, powering the languages, frameworks, and applications your team uses every day. A study conducted by Synopsys Center for Open Source Research and Innovation found that enterprise software is now comprised of more than 90 percent open source codeand businesses are taking notice. The State of Enterprise Open Source study by Red Hat confirmed that 95 percent of respondents say open source is strategically important for organizations. Making code widely available has changed how software is built, with more reuse of code and complex dependenciesbut not without introducing security and compliance concerns. Open source projects, like all software, can have vulnerabilities. They can even be the target of malicious actors who may try to use open source code to introduce vulnerabilities downstream, attacking the software supply chain. These threats expose your organization to additional risk.

At GitHub, we see security as an issue we need to address as a community: one that affects all software, regardless of how much proprietary code it contains. Similarly, a safe and healthy open source community isnt just good for open source software. It also benefits the millions of businesses that depend on it. Thats why weve built tools and processes that allow organizations and open source maintainers to code securely throughout the entire software development lifecycle. Taking security and shifting it to the left allows organizations and projects to prevent errors and failures before a security incident happens.

GitHub works hard to secure our community and the open source software you use, build on, and contribute to. Through features, services, and security initiatives, we provide the millions of open source projects on GitHuband the businesses that rely on themwith best practices to learn and leverage across their workflows.

Making open source more secure

GitHub Advisory Database, vulnerable dependency alerts, and Dependabot


One of the key elements of identifying security issues is working with a rich database of vulnerabilities. GitHubs dependency vulnerability detection tools use a combination of data directly from GitHub Security Advisories and the National Vulnerability Database (NVD) to create a complete picture of vulnerabilities in open source. This combined dataset lives in the GitHub Advisory Database and powers Dependabot alerts and security updates. The Advisory Database is also under a Creative Commons Attribution 4.0 license, meaning its freely available for anyone to use as long as they attribute GitHub as the data source.

To generate automated fixes, we start with the CVE alerts, which describe vulnerable and remediated versions, then identify susceptible repositories using their respective language dependency management definitions. This allows us to parse a repositorys manifest and alert their administrators to vulnerable dependencies and, specifically, to the versions they need to update to in order to remediate these issues. Since the launch of security alerts in 2017, weve sent alerts on more than 89 million vulnerabilities found in open source repositories.