Open Source, Open Threats? Investigating Security Challenges in Open-Source Software
summary
The gist
Open-source software (OSS) has become increasingly more popular across different domains, but this rapid development and widespread adoption come with a security cost.<ref:2506.12995#pg2>.
In short
The study analyzed vulnerability data across 14,675 packages in 10 languages to show that vulnerability growth (98% annually) far outpaces package growth (25%). It found vulnerabilities persist longer and are concentrated in specific ecosystems, highlighting an urgent need for better security governance and automated detection tools.
Key concepts
- Vulnerability Dynamics
- This concept tracks how quickly new security flaws are being reported versus how fast software packages are being released. The research found that vulnerabilities are increasing much faster than the software itself, suggesting a growing security crisis.
- Vulnerability Lifespan
- This refers to the average amount of time a specific vulnerability remains in an ecosystem before it is fixed or patched. The study showed this time has increased by 95% between 2017 and 2024, indicating that security issues are taking much longer to resolve.
- Vulnerability Concentration
- This describes how many vulnerabilities are found in a single package within a specific platform. Some platforms, like Composer, showed high concentration (4.92 per package), while others were more spread out (NPM at 1.75 per package). This shows where security risks are most densely packed.
- CWEs and Ecosystem Specificity
- Common Weakness Enumerations (CWEs) categorize types of flaws, and the study found that only seven CWEs cause over half of all reported vulnerabilities. Furthermore, certain flaws appear more often in specific languages or ecosystems due to their unique coding structures.
Terminology used across episodes
This episode discusses
- Open Source, Open Threats? Investigating Security Challenges in Open-Source Software · Paper Radio
- FinGPT: Open-Source Financial Large Language Models
- Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages
- Can Large Language Models Find And Fix Vulnerable Software?
The paper
Open Source, Open Threats? Investigating Security Challenges in Open-Source Software · Read on arXiv
Northeastern University · Florida International University
Open-source software (OSS) has become increasingly more popular across different domains. However, this rapid development and widespread adoption come with a security cost. The growing complexity and openness of OSS ecosystems have led to increased exposure to vulnerabilities and attack surfaces. This paper investigates the trends and patterns of reported vulnerabilities within OSS platforms, focusing on the implications of these findings for security practices. To understand the dynamics of OSS vulnerabilities, we analyze a comprehensive dataset comprising 31,267 unique vulnerability reports from GitHub's advisory database and Snyk.io, belonging to 14,675 packages across 10 programming languages. Our analysis reveals a significant surge in reported vulnerabilities, increasing at an annual rate of 98%, far outpacing the 25% average annual growth in the number of open-source software (OSS) packages. Additionally, we observe an 85% increase in the average lifespan of vulnerabilities across ecosystems during the studied period, indicating a potential decline in security. We identify the most prevalent Common Weakness Enumerations (CWEs) across programming languages and find that, on average, just seven CWEs are responsible for over 50% of all reported vulnerabilities. We further examine these commonly observed CWEs and highlight ecosystem-specific trends. Notably, we find that vulnerabilities associated with intentionally malicious packages comprise 49% of reports in the NPM ecosystem and 14% in PyPI, an alarming indication of targeted attacks within package repositories. We conclude with an in-depth discussion of the characteristics and attack vectors associated with these malicious packages.
DOI: 10.1007/978-3-032-42939-1_3
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "Open Source, Open Threats? Investigating Security Challenges in Open-Source Software".
Paper summary: Elias: To get into the details of this paper, they're analyzing a comprehensive dataset of thirty-one thousand two hundred sixty-seven unique vulnerability reports coming from GitHub’s advisory database and Snyk <ref:2506.12995#pg1,from GitHub’s advisory database and Snyk>.io <ref:2506.12995#pg1>. They are focusing on fourteen thousand six hundred seventy-five packages across ten different programming languages to see if the growth in software is keeping up with the growth in security issues > <ref:2506.12995#pg1>
Nadia: What they claim right off the bat is that while open source software is getting used way more, the rate at which vulnerable packages are being reported is growing much faster >
Priya: They point out this ninety-eight percent annual increase in vulnerable packages compared to just a twenty-five percent growth in total open source packages across those platforms <ref:2506.12995#pg2>.
Elias: That difference suggests that as package managers expand and pull in more code, the security risks associated with them are growing disproportionately >
Nadia: They also noted something about the age of these problems, showing an eighty-five percent increase in the average lifespan of vulnerabilities across those ecosystems over time <ref:2506.12995#pg8>.
Priya: That means that once a vulnerability shows up, it's taking way longer to get fixed before someone actually patches it.
Elias: They look at how long these issues stick around and also check where they are concentrated, finding that some platforms have a really high density of vulnerabilities in just a few key packages.
Nadia: For instance, they compared Composer and NPM, showing Composer had a much higher average number of vulnerabilities per vulnerable package than NPM did <ref:2506.12995#pg9>.
Priya: And when looking at what kinds of weaknesses are causing all this, they found that just seven common weakness enumerations or CWEs were responsible for over fifty percent of all the reported vulnerabilities across those platforms <ref:2506.12995#pg8>.
Elias: They gave examples like CWE-one thousand three hundred twenty-one called Prototype Pollution showing up in NPM because of how JavaScript handles prototype inheritance <ref:2506.12995#pg3>.
Nadia: And then there's the flip side, like CWE-one hundred twenty-two Heap-based Buffer Overflow being the top reported weakness for C and C plus at one hundred thirty-five reports <ref:2506.12995#pg9>.
Priya: They tracked intentionally malicious packages or CWE-five hundred six and it went from just thirty-eight reports in two thousand eighteen to a total of two thousand one hundred sixty-eight reports in two thousand twenty-four <ref:2506.12995#pg8>.
Elias: That concentration is really telling because they found that NPM and PyPi ecosystems together account for ninety nine percent of all those malicious package reports <ref:2506.12995#pg8>.
Nadia: And almost half of all reported vulnerabilities stem from packages that were actually designed to cause harm, which points to a serious supply chain issue.
Conclusion: Priya: So, looking at the paper "Open Source, Open Threats? Investigating Security Challenges in Open-Source Software," they're really pushing for changes in how we handle open source ecosystems because things aren't keeping up anymore.
Elias: And they suggest that focusing mitigation efforts on the common weakness enumerations or CWEs could actually improve overall open source security.
Nadia: So what this means for us is that we have to seriously rethink how we govern these open source projects because the risks are scaling up faster than the software itself.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04