Series 1: Open-Source Security Episode 1: You're Using More Open-Source Than Your Realise Get ready for an eye-opening episode that could change the way you think about your applications. The Open-Source Reality Check Real-World Example: The Log4j Wake-Up Call The Rise of AI in Development The Exponential Growth of Open-Source Usage The Log4j Saga Continues Why Are We Still at Risk? The Hidden Costs of Open-Source Best Practices for Managing Open-Source This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit appsecunlocked.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Welcome to AppSec Unlocked, the podcast that demystifies application security one episode at a time. My name is Edwin Kwan, and I'm your host for today. And we're diving into a topic that might surprise you. You're using more open source than you realize. Get ready for an eye-opening episode that could change the way you think about your applications.
SPEAKER_00Let's start with a reality check. At a recent conference where I presented on open source security, I noticed a common misconception. Most attendees believed their organizations use some open source components, but they estimated it to be around 30% or less of their applications.
SPEAKER_00Boy, were they in for a surprise. The truth is far more staggering. Industry reports suggest that a whopping 85% of modern applications are built from open source components. And if you're working with JavaScript web applications, that number skyrockets to 97%. But hold on to your hats, folks,
SPEAKER_00because my analysis shows that these numbers might even be conservative. For Java applications, I found the percentage of open source software to be around 98%. That's right, 98%. But here's the kicker, about three quarters of these open source components aren't even explicitly incorporated.
SPEAKER_00They're what we call transitive dependencies. Dependencies of dependencies that sneak into your code base without you even realizing it. Let me share a real-world example that illustrates just how pervasive open source is. Remember the Log4j vulnerability that shook the tech world in December 2021? Log4j is a popular Java logging framework.
SPEAKER_00And a critical vulnerability was discovered that could allow attackers to execute arbitrary code on affected systems. What was shocking wasn't just the severity of the vulnerability, but how many organizations were affected without even realizing they were using lock4j. It was often buried deep in their dependency trees. used by other libraries they depended on.
SPEAKER_00This incident was a wake up call for many companies about the true extent of their open source usage. And with the rise of generative AI in software development, that remaining 2% of custom code might not even be written by your developers. It's a brave new world out there, folks. AI-assisted coding tools like GitHub Copilot are becoming increasingly popular.
SPEAKER_00These tools often suggest code snippets based on vast libraries of open source code. So even when developers think they're writing custom code, they might be inadvertently incorporating open source patterns and practices. Now let's talk numbers. According to the 9th Annual State of Software Supply Chain Report, our use of open source software is growing at an exponential rate.
SPEAKER_00last year the number of download requests exceeded 4 trillion that's trillion with a t to put that into perspective it's almost double the number from just two years ago but here's where it gets concerning out of those four trillion requests About 500 billion were for components with known risks. That's roughly one in eight downloads that have one or more identified security vulnerabilities.
SPEAKER_00It's like playing Russian roulette with your application security. Let's take a moment to revisit our friend Log4j. Remember that critical vulnerability we talked about earlier? Well, you think we'll have learned our lessons, right? Wrong. Today, about 35% of download requests from Log4j are still for vulnerable versions.
SPEAKER_00That's one in three downloads. It's like we're handing out security breach invitations with every third lock4j download. So why are we still downloading open source components with known risks, especially infamous ones like lock4j? I believe the root cause is a lack of awareness. Most organizations are simply unaware of their true open source consumption,
SPEAKER_00especially when it comes to those sneaky transitive dependencies we talked about earlier. Now, don't get me wrong. Open source software is fantastic. It drives innovation, speeds up development, and allow developers to stand on the shoulders of giants. but it's not without its costs. You have security risks. As we've discussed, open source components can introduce vulnerabilities into your applications.
SPEAKER_00There's also licensing issues. Not all open source licenses are created equal. Some may have terms that conflict with your business model or intellectual property strategy. Maintenance overhead. When you use open source, you're also taking on the responsibility of keeping those components up to date and secure. And there's complexity. The more open source components you use,
SPEAKER_00the more complex your dependency tree becomes, making it harder to manage and secure. So what can you do to manage your open source usage more effectively? Here are some best practices. First, maintain an inventory. Keep a comprehensive, up-to-date inventory of all open source components used in your applications.
SPEAKER_00Implement automated scanning. Use SCA tools to automatically scan for vulnerabilities and licensing issues. Establish policies. Create clear policies around open source usage, including which licenses are acceptable and how to handle security updates. Educate your team Ensure your developers understand the implications of using open
SPEAKER_00source and how to do so responsibly Lastly, monitor and update Regularly monitor your open source components for new vulnerabilities and update them promptly when issues are found We'll be diving deeper into each of these practices in future episodes. As we wrap up this episode of AppSec Unlock,
SPEAKER_00remember, open source software is a powerful tool that drives innovation and efficiency in software development. But with great power comes great responsibility. The key takeaway is this. you're probably using more open source than you realize. And that's okay. The goal isn't to eliminate open source, but to use it wisely and securely.
SPEAKER_00By taking proactive steps to understand and manage your open source usage, you can harness its power while mitigating the associated risks. Thank you for tuning in to AppSec Unlocked. This is your host, Edwin Kwan. And remember, in the world of application security, what you don't know can hurt you. Stay curious, stay vigilant, and keep unlocking those AppSec mysteries.
Welcome to the last article in this series on Training & Awareness. We're going to finish off the season by looking ahead to the future of security training and awareness. Over the past eleven episodes, we've covered...
In this article we're looking at a challenge that's become increasingly critical: security training for remote teams. We'll explore how to build and maintain a strong security culture when your team is distributed...
In this article we'll be talking about cloud security awareness and exploring why traditional security thinking falls apart in the cloud, and how to build a new security mindset for the cloud era. THE CLOUD SECURITY...
Welcome to AppSec Unlocked. In this article we’ll look into Secure Development Lifecycle training, or SDL. We're going to explore how to build security into every phase of your development process - from initial...
Welcome to AppSec Unlocked. In this article we'll be diving deep into what many consider the most persistent security threat: social engineering. We'll explore why humans are often called the weakest link in security -...