Artificial intelligence is becoming remarkably good at finding vulnerabilities in software.

Only a few years ago, AI-based vulnerability discovery was largely a research exercise. That is changing quickly. Google’s OSS-Fuzz project reported in 2024 that AI-generated and enhanced fuzzing targets had uncovered 26 previously unknown vulnerabilities in mature open-source projects, including a vulnerability in OpenSSL that Google said may have existed for two decades.

Google’s Big Sleep agent subsequently discovered another 20 vulnerabilities in widely-used open-source projects, including FFmpeg and ImageMagick. By 2026, Google was deploying AI agents against Chrome itself and reported finding vulnerabilities that had survived conventional security engineering for years.

This raises an uncomfortable question for open source. If AI can read millions of lines of publicly available source code, reason about it continuously and search for vulnerabilities at machine speed, does publishing source code become a security disadvantage? And could this eventually push companies back towards proprietary software?

The argument is not ridiculous. When source code is public, an AI vulnerability researcher has an enormous advantage. It can inspect every function, trace data flows, identify unusual boundary conditions and generate potential inputs without first reverse-engineering the application.

With proprietary software, an external researcher usually does not have that same source-level visibility. There are still binaries to analyze, interfaces to probe and applications to test, but an important source of information has been removed. In an era where AI dramatically lowers the cost of analyzing code, therefore, keeping the source private could appear increasingly attractive.

The argument resembles an old security debate, but AI changes its scale. Human beings have always been able to inspect open-source code. What they could not do was give every project what amounts to thousands of hours of additional security research at negligible incremental cost.

An AI agent potentially can. That might seem to make proprietary software the safer choice. Except there is a rather large problem with that conclusion: proprietary software is overwhelmingly built from open source.

Black Duck’s 2026 Open Source Security and Risk Analysis report examined 947 commercial codebases across 17 industries and found open source in 98% of them. The previous year’s research found open source in 97% of audited commercial codebases, with open-source code accounting for about 70% of the code examined on average.

So, the commonly quoted assertion that roughly 95% of commercial or proprietary applications contain open source actually understates the latest findings. Modern proprietary software is rarely a sealed box containing millions of lines of code written exclusively by employees of one company. It is more like a privately constructed building assembled from thousands of publicly available parts.

There may be a proprietary user interface, proprietary algorithms and proprietary business logic sitting on top. Underneath them are operating-system components, frameworks, cryptographic libraries, web servers, databases, compression libraries, logging packages, networking libraries and hundreds or thousands of other dependencies.

Closing the application’s own source code therefore does not close the software supply chain beneath it. This becomes even more important because dependencies are dependencies regardless of the license of the final product.

If AI discovers a serious vulnerability in an open-source image-processing library, the fact that a commercial application using that library is proprietary does not make the vulnerability disappear. Once researchers understand the vulnerable component, they can look for products containing it.

In many cases organizations do not even have particularly good visibility into those dependencies themselves. The 2025 Black Duck research found an average of 911 open-source components in the applications it examined, while 64% of open-source components were transitive dependencies – dependencies introduced indirectly through something else the developer chose to use.

AI is also increasing the rate at which this complexity is created. Black Duck’s 2026 research found that the average number of open-source components in audited codebases increased 30% in a single year, while the mean number of open-source vulnerabilities found per codebase increased 107%.

That does not mean AI caused every vulnerability. It does illustrate the scale problem: software is being assembled faster, from more components, while increasingly powerful automated systems are simultaneously becoming better at finding weaknesses in those components. The answer cannot simply be to hide the source.

Indeed, open source has an important advantage in the AI era too.

The same code available to an attacker is available to defenders, maintainers, cloud providers and security researchers. Google’s AI discoveries demonstrate precisely that point. AI found vulnerabilities in OpenSSL and other projects, but those findings were reported to maintainers so that the vulnerabilities could be fixed before they were widely exploited.

AI therefore changes both sides of the equation. It makes vulnerability discovery cheaper for attackers, but it also makes continuous vulnerability discovery practical for defenders.

The real competitive question may consequently be less about open source versus proprietary software and more about which organizations can find and remediate vulnerabilities fastest.

Companies need accurate software bills of materials (SBOMs), continuous understanding of their dependencies, rapid patching processes and the ability to determine quickly whether a newly discovered vulnerability exists anywhere across their products.

That requirement applies equally to open-source and proprietary vendors.

There may still be applications where keeping particularly sensitive algorithms or implementation details private creates a meaningful security obstacle for an attacker. But returning wholesale to proprietary development would not solve the coming AI vulnerability-discovery problem.

We have already built a software economy in which almost every commercial application rests on open source. AI is not going to reverse that architecture. What it will do is expose weaknesses within it much faster.

The challenge is therefore not to make software harder to see. It is to make vulnerabilities faster to find, faster to understand and, most importantly, faster to fix.

Recent Articles By Author