Wired→ original

AI Changes Vulnerability Hunting: Arms Race Between Attackers and Defenders

The cybersecurity arms race is entering a new phase. Attackers are using generative AI to rapidly discover vulnerabilities and create working exploits in real a

AI-processed from Wired; edited by Hamidun News
AI Changes Vulnerability Hunting: Arms Race Between Attackers and Defenders
Source: Wired. Collage: Hamidun News.
◐ Listen to article

The cybersecurity arms race has entered a new phase. While vulnerability hunting used to be a manual game—researchers reading code, conducting penetration tests, logging findings—now both sides of the conflict (attackers and defenders) are deploying AI to hunt for bugs across millions of lines of code simultaneously. This has transformed one of the most critical areas of security into a genuine arms race between machines.

How AI Accelerates Vulnerability Discovery

Generative AI has fundamentally changed the pace of exploit development. Where once a specialist would manually hunt for vulnerabilities, analyzing code line by line, now models like GPT-4 can analyze source code, suggest attack vectors, and even generate working exploits. GitHub Copilot, trained on millions of GitHub repositories, knows every typical vulnerable code pattern and can recognize them.

AI-powered fuzzing—using machine learning for intelligent generation of test inputs—finds crash bugs and segmentation faults in hours, where it once took weeks. Tools like CodeQL or Semgrep enable automated vulnerability discovery based on semantic patterns and syntactic rules. If dangerous code like `eval(user_input)` or `SQL injection` is hiding in the source, the system will find it across a million files in seconds.

The problem: these tools work equally well for defense and attack. When an attacker runs the same CodeQL on public npm packages or PyPI, they discover thousands of potential vulnerabilities. And in open source code (GitHub, GitLab, npm registry), there are millions of such attack vectors.

Asymmetry in the Race

There is a fundamental asymmetry between offense and defense. An attacker needs to find one vulnerability in one system. A defender must close all vulnerabilities in all their systems. AI has amplified this asymmetry many times over. When an attacker deploys AI to search through a popular npm package used by millions of developers worldwide, the discovered bug becomes a potential leverage point over the entire internet. A defender, meanwhile, must go through an entire chain:

  • Discover the vulnerability (the attacker may find it first, possibly faster)
  • Create a patch (requires development, testing, validation)
  • Deploy the patch (an organizational process dependent on thousands of developers)
  • Ensure no one is using the vulnerable version (nearly impossible)

The result: an attacker can launch exploitation in hours. A defender will spend days, weeks, sometimes months.

"This creates a window of opportunity, and the window is getting

wider," according to recent research on AI-generated exploits.

Defense Begins to Adapt

But defenders are not sitting idle. Major companies (Microsoft, Google, Apple) are investing in AI for defense: anomaly detection, automatic signature generation, predictive detection systems. The idea is simple: if we can't close all vulnerabilities before an attack, we'll detect them in real time. Automated intrusion detection systems (IDS/IPS) based on ML are beginning to learn to recognize exploitation attempts before they succeed. However, this requires training on real, fresh attacks—and attackers constantly change tactics and signatures.

What This Means

We are entering a critical era when vulnerability discovery tools will become the primary strategic weapon in cybersecurity. The company that teaches AI to find bugs faster than competitors will control the battlefield. For developers, this means the end of the 'we'll fix it later' era: shift-left security practices are no longer a recommendation—they become a matter of survival. Bugs need to be found during the development cycle, not discovered in production.

ZK
Hamidun News
AI news without noise. Daily editorial selection from 400+ sources. A product by Zhemal Khamidun, Head of AI at Alpina Digital.

Want to stop reading about AI and start using it?

AI News is a curated feed of AI/tech news. Hamidun Academy teaches you to use AI systematically in your work.

What do you think?
Loading comments…