All resources open source | GitHub Security Lab
skip to content Resources Open Source Community Enterprise / Security Lab Research Advisories CodeQL Wall of Fame Resources Open Source Community Enterprise Events Get Involved Resources Open Source Community Keeping your GitHub Actions and workflows secure Part 4: New vulnerability patterns and mitigation strategies While implementing CodeQL support for GitHub Actions workflows, we came across new patterns of insecure workflows.
Learn how to identify and mitigate them. Five easy steps to secure your open source project Enable, with just a few clicks, and for free, GitHub's security tools that will help you write secure code, prevent secret leaks, scan your dependencies for security vulnerabilities, and globally keep your users safe. The GitHub Security Lab’s journey to disclosing 500 CVEs in open source projects The GitHub Security Lab audits open source projects and helps maintainers fix security vulnerabilities.
For our 500th CVE, we took a trip down memory lane with a review of some noteworthy CVEs! What we learned from the Security Lab’s Community Office Hours The GitHub Security Lab provided office hours for open source projects looking to improve their security posture. Here’s what we learned and how you can also participate. Removing the stigma of a CVE Do you worry that a CVE will hurt the reputation of your project?
In reality, CVEs are a tracking number for security vulnerabilities, and nothing more. Here’s how we think of them at GitHub. Coordinated vulnerability disclosure (CVD) for open source projects Vulnerability reporters play an important role for open source security. Read our recommended process and suggestions for vulnerability disclosure to foster a positive experience. Blue-teaming for Exiv2 In this series about hardening the security of the Exiv2 project, we'll share tips that will help you harden the security of your own project.
Keeping your GitHub Actions and workflows secure Part 3: How to trust your building blocks By referencing an external action with the uses directive, you’re running third-party code and giving it access to computing time, secrets, and your repository token. Keeping your GitHub Actions and workflows secure Part 2: Untrusted input Every GitHub Actions workflow trigger comes with a GitHub context. Some of this data might be attacker controlled and should be treated as potentially untrusted input.
Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests Combining the pull_request_target workflow trigger with an explicit checkout of an untrusted Pull Request is a dangerous practice that may lead to repository compromise. Our shared common weaknesses An overview of 2021's most common types of software vulnerabilities, based on an analysis of GitHub's Advisory Database. LiveQL Episode II: The Rhino in the room Run through and lessons learned of our second episode of LiveQL, where we live-coded CodeQL queries to find a Rhino/Nashorn script injection.
Structured fuzzing Android's NFC Man Yue Mo built and open sourced a fuzzer for the Android Near Field Communication (NFC) component. He shares here some design considerations when building the fuzzer. Variant analysis of Web Audio callback vulnerabilities in Chrome Man Yue Mo goes through a series of UAF security vulnerabilities in Web Audio in Chrome and explains how to trigger them by arranging the order of various events.
Last orders at the House of Force When his prank was thwarted by COVID-19, Kevin Backhouse decided to write a glibc heap exploitation tutorial instead. Learners, you're in luck, enter the House of Force! Fuzzing sockets, part 2: FreeRDP Antonio Morales continues his journey on socket-based fuzzing, with FreeRDP, and shares his process from start to finish, and the 12 bugs found as a result. Let's fuzz! Fuzzing sockets, part 1: FTP servers Antonio shares findings and tips from his research on socket-based fuzzing.
Let's start with the audit of three widely-used FTP servers, with details on interesting CVEs found along the way. Hey look ma, I'm doing crypto! Read our beginner's exploration of encryption, focused on identity validation issues in TLS. Utilizing CodeQL, we uncover common pitfalls in hostname validation across various projects. How to escape from the fuzz When Kevin Backhouse became a contributor to the Exiv2 project, he discovered, from the other side, the burden of never-ending fuzzing reports.
How to escape from the fuzzing police? Fuzzing software: advanced tricks (Part 2) Let's dive into advanced fuzzing concepts: sanitizers, feedback-guided fuzzing, structure-aware fuzzing, custom mutators, and uncovering logical bugs with fuzzing. Fuzzing software: common challenges and potential solutions (Part 1) Based on our security audit of VLC Media Player, we share some common fuzzing challenges, and practical ways to address them.
Read on to discover a variety of fuzzing strategies. Review of Chromium IPC vulnerabilities Let's build on each other's work. By analyzing past Chromium IPC vulnerabilities, Man Yue Mo found 6 new CVEs, and gave back to the community with a set of CodeQL libraries for Chromium. Bug Hunting with CodeQL, an Rsyslog Case Study Large and unknown codebases can be daunting to approach. Read our experience with Rsyslog, leveraging CodeQL from threat modeling to variant analysis, to disclose three CVEs.
Anatomy of a Coffee Bean (Wireless Vulnerabilities in Linux Kernel) Work smarter! In this research, we explore a vulnerability in the Linux Kernel, and with CodeQL's variant analysis, we found two more, triggered remotely through the WiFi network. Android Deserialization Vulnerabilities: A Brief history We analyzed past Android deserialization security vulnerabilities and used our SAST CodeQL to easily find, with just one query, the classes responsible for those bugs.