AI Is Finding Real Security Vulnerabilities in Open Source Software
Technology News

AI Is Finding Real Security Vulnerabilities in Open Source Software

AI Is Finding Real Security Vulnerabilities in Open Source Software

Artificial intelligence is becoming increasingly useful in software security — and researchers are now measuring just how capable AI systems can be at discovering real vulnerabilities.

A new benchmark called HoF-Bench evaluates whether AI-based vulnerability analyzers can rediscover previously confirmed security flaws in mature open-source projects.

The results are notable.

A relatively simple LLM-based analyzer was able to rediscover 65 out of 95 real vulnerabilities, achieving a 68% detection rate under the benchmark’s strict evaluation methodology.

From Code Generation to Vulnerability Discovery

AI coding tools are usually associated with generating software.

That is only one side of the technology.

Modern AI systems can also analyze source code and search for suspicious patterns that could lead to security vulnerabilities.

The process can look like:

Source Code
    ↓
AI Analysis
    ↓
Suspicious Code Path
    ↓
Potential Vulnerability
    ↓
Security Validation
    ↓
CVE

This changes the role AI can play in application security.

Instead of only helping developers write code, AI can increasingly help security researchers find problems in existing code.

95 Real Vulnerabilities

HoF-Bench was built around 95 publicly known AI-discovered CVEs across eight open-source repositories.

The benchmark deliberately hides information such as:

  • CVE identifiers,
  • vulnerability descriptions,
  • fixes,
  • expected exploitation mechanisms.

The AI analyzer therefore has to examine the vulnerable source code and determine what is wrong without being told the answer beforehand.

That makes the results considerably more interesting than simply asking an AI model to explain an existing CVE.

A 68% Rediscovery Rate

The minimal LLM-based analyzer managed to rediscover up to 65 of the 95 vulnerabilities.

That represents approximately:

68% detection under the benchmark’s methodology.

This does not mean that AI can currently replace professional vulnerability researchers.

It does demonstrate that relatively lightweight AI-based analysis can uncover a significant number of real security flaws.

AI Is Finding Real Security Vulnerabilities in Open Source Software
AI Is Finding Real Security Vulnerabilities in Open Source Software

Not Every Vulnerability Is Equally Easy

The benchmark also revealed an important limitation.

Some vulnerabilities were consistently difficult for the tested AI systems to identify.

The hardest cases were concentrated particularly in C code, which remains a major challenge for automated vulnerability discovery.

This makes sense.

C provides powerful low-level capabilities but also creates opportunities for:

  • memory corruption,
  • pointer errors,
  • integer problems,
  • race conditions,
  • incorrect bounds handling,
  • use-after-free vulnerabilities.

Understanding the actual security impact often requires more than recognizing a suspicious line of code.

AI Could Change Vulnerability Research

Traditional vulnerability research can require significant time.

A researcher may need to:

Understand Project
       ↓
Read Source Code
       ↓
Identify Attack Surface
       ↓
Trace Data Flow
       ↓
Find Bug
       ↓
Build Proof of Concept
       ↓
Validate Impact

AI can potentially accelerate several of these steps.

Instead of replacing researchers, it can act as an additional analysis layer capable of examining enormous amounts of source code.

Open Source Software Is a Major Target

The implications are particularly important for open-source software.

A vulnerability in a popular project can affect:

Developer
   ↓
Library
   ↓
Application
   ↓
Container
   ↓
Cloud Infrastructure
   ↓
Thousands of Systems

The software supply chain means that a vulnerability discovered in one project can have consequences far beyond the original repository.

AI-assisted vulnerability discovery could therefore become an important part of protecting the open-source ecosystem.

AI Can Help Attackers Too

There is another side to the story.

The same technology that helps defenders find vulnerabilities can potentially help attackers.

AI could assist with:

  • code analysis,
  • vulnerability research,
  • exploit development,
  • reconnaissance,
  • malware development,
  • attack automation.

This creates a technological race.

AI for Defense
      ↕
AI for Offense
      ↕
AI for Vulnerability Discovery

The advantage may increasingly go to the side that can integrate AI into its security workflow most effectively.

Human Validation Is Still Critical

An AI-generated vulnerability report should not automatically become a security finding.

False positives remain an important problem.

A useful workflow is:

AI Finding
    ↓
Security Researcher
    ↓
Code Review
    ↓
Reproduction
    ↓
Impact Analysis
    ↓
Confirmed Vulnerability

Human validation remains critical, particularly for vulnerabilities that could affect production systems.

What This Means for Developers

Developers should expect AI-powered security analysis to become increasingly common.

Code review may increasingly include automated AI analysis alongside:

  • static analysis,
  • fuzzing,
  • dependency scanning,
  • SAST,
  • DAST,
  • software composition analysis.

A modern development pipeline could eventually look like:

Code
 ↓
Tests
 ↓
Static Analysis
 ↓
AI Security Analysis
 ↓
Fuzzing
 ↓
Dependency Scanning
 ↓
Release

This does not eliminate traditional security tools.

It adds another layer.

The Future of AI-Powered Security

The most interesting part of this research is not simply the 68% result.

It is the direction in which the technology is moving.

AI systems are increasingly being evaluated on their ability to discover previously unknown security problems, rather than simply summarize known vulnerabilities.

If this capability continues improving, AI could become a standard component of vulnerability research and software security.

That could have a major impact on both defenders and attackers.

Conclusion

AI is moving beyond code generation and becoming a serious tool for vulnerability discovery.

The HoF-Bench research demonstrates that an LLM-based analyzer was able to rediscover 65 of 95 real, previously documented vulnerabilities under a strict benchmark methodology.

The technology is not ready to replace human security researchers.

But it does show that AI can already perform meaningful security analysis against mature open-source projects.

The next stage of software security may therefore involve a continuous competition between:

AI discovering vulnerabilities faster and AI being used to exploit them faster.

For developers and security teams, that makes automated vulnerability discovery increasingly difficult to ignore.

Polecane wpisy
Cisco FMC Zero-Day Is Being Actively Exploited
Cisco FMC Zero-Day Is Being Actively Exploited

Cisco FMC Zero-Day Is Being Actively Exploited Cisco has warned customers about a zero-day vulnerability in Firepower Management Center (FMC) Czytaj dalej

Windows 11 Zero-Day „ShieldBreak” Gives Attackers SYSTEM Privileges — What We Know
Windows 11 Zero-Day „ShieldBreak” Gives Attackers SYSTEM Privileges — What We Know

Windows 11 Zero-Day „ShieldBreak” Gives Attackers SYSTEM Privileges — What We Know A new Windows zero-day exploit dubbed “ShieldBreak” has Czytaj dalej

Marek "Netbe" Lampart Inżynier informatyki Marek Lampart to doświadczony inżynier informatyki z ponad 25-letnim stażem w zawodzie. Specjalizuje się w systemach Windows i Linux, bezpieczeństwie IT, cyberbezpieczeństwie, administracji serwerami oraz diagnostyce i optymalizacji systemów. Na netbe.pl publikuje praktyczne poradniki, analizy i instrukcje krok po kroku, pomagając administratorom, specjalistom IT oraz zaawansowanym użytkownikom rozwiązywać realne problemy techniczne.