July 28, 2026
AI Software Engineering: The End Of Vulnerability Management?
Part 3 of a series exploring how AI is changing software engineering, from the first requirement to long-term maintenance.

By Leon Marks
3 min read
Every year organisations spend billions of pounds finding vulnerabilities.
Static analysis tools scan source code before release. Dynamic scanners probe running applications. Penetration testers attempt to discover weaknesses before attackers do. Bug bounty programmes encourage external researchers to find the defects everyone else has missed. Security Operations Centres monitor production systems looking for signs that something has already gone wrong.
Entire industries have grown around discovering software vulnerabilities after they exist.
It's a remarkable achievement.
It's also a remarkably strange way to build software.
We've Optimised For Finding Defects
Modern software engineering has become exceptionally good at detecting problems. A typical development pipeline may contain multiple security scanners, dependency analysis, Software Composition Analysis (SCA), secret detection, Infrastructure-as-Code validation and container scanning before an application ever reaches production.
Even then, the work doesn't stop. Applications continue to be monitored, rescanned and retested throughout their operational life.
The assumption underpinning all of this is rarely questioned.
Software will contain vulnerabilities and our job is to find as many as possible.
That's been a perfectly rational approach because humans write inconsistent software. Even excellent developers have bad days, misunderstand requirements or make mistakes under pressure. Security tooling evolved to compensate for that reality.
But AI changes the economics of the problem.
Prevention Has Always Been Better Than Detection
Every engineering discipline understands that prevention is cheaper than inspection.
Manufacturers don't build cars expecting every tenth vehicle to fail quality assurance.
Airframe manufacturers don't rely on post-production inspections to discover whether the wings were attached correctly.
Six Sigma wasn't created to improve defect detection.
It was created to reduce variation so defects occurred less frequently in the first place.
Software engineering has largely taken the opposite path.
Rather than reducing opportunities for vulnerabilities to be introduced, we've become extraordinarily good at finding them afterwards.
We've invested heavily in inspection but relatively little in eliminating the causes.
AI Changes Where Consistency Comes From
One of the biggest strengths of AI isn't that it writes code quickly.
It's that it writes code consistently.
Given the same requirements, the same architectural constraints and the same engineering standards, AI doesn't get tired halfway through a sprint. It doesn't forget to validate input on one API because it's rushing to finish before a release deadline. It doesn't accidentally ignore a secure coding guideline because another project used a different framework six months ago.
Humans vary.
Machines repeat.
For decades we've accepted that variation as inevitable because software was a fundamentally human activity. AI offers the possibility of treating software generation more like an industrial process, where consistency becomes the default rather than the exception.
That doesn't eliminate vulnerabilities overnight.
It does begin to reduce the opportunities for introducing them.
The Hidden Cost Of Finding Bugs
Security tooling isn't free.
Static analysis platforms, SCA products, penetration testing, secure code review, bug bounty programmes, vulnerability management platforms and developer security training all consume time and budget. Each provides value, but collectively they represent an enormous investment in discovering problems that already exist.
For large enterprises, those costs are significant.
For SMEs, they are often prohibitive.
Many smaller organisations simply can't afford enterprise-grade application security tooling. They rely on limited scanning, occasional penetration tests and the hope that obvious issues will be discovered before an attacker finds them.
If AI can reliably generate software that conforms to organisational standards from the outset, the economics begin to change. Rather than paying repeatedly to discover defects, organisations can invest more heavily in preventing them from being introduced at all.
The balance shifts from inspection to capability.
This Doesn't Eliminate Security
Security professionals sometimes react defensively to discussions like this, as though suggesting fewer vulnerabilities somehow diminishes the importance of application security.
I think the opposite is true.
The goal of security has never been to create more work for vulnerability management teams.
The goal has always been to reduce risk.
If software contains fewer vulnerabilities by construction, security teams become more valuable, not less. Their expertise moves further upstream into defining secure engineering standards, governance policies and architectural guardrails that AI applies consistently across every project.
Instead of discovering insecure software, they increasingly help prevent insecure software from being produced.
That's a far more strategic role.
The Question Changes
This isn't a prediction that vulnerability scanners, penetration testing or red teams disappear. Independent assurance will always matter, particularly for critical systems where verification must remain separate from implementation.
What changes is the question we're asking.
Today we ask:
"How quickly can we find vulnerabilities after we've created them?"
Tomorrow we may ask:
"Why are we still creating so many vulnerabilities in the first place?"
Those are not the same conversation.
The first assumes defects are inevitable.
The second assumes they are increasingly optional.
If AI Software Engineering fulfils even part of its promise, vulnerability management won't disappear.
It just simply won't occupy the centre of software security in the way it does today.
Because the most effective vulnerability to manage…
…is the one that was never written.
This article was developed with the assistance of AI to help refine tone and structure, but the core ideas, personal insights, and final edits are my own.