There’s a tempting idea making the rounds in boardrooms: eventually, AI will handle everything technical. It’ll write the software, find the bugs, patch the holes and move on to the next thing, all before lunch, without asking for a raise.
Parts of that are already true. AI writes a big share of the world’s code now, and it’s genuinely good at spotting certain kinds of problems. But look at what’s actually happening in real systems and a less comfortable picture shows up. AI isn’t only fixing the security problem. In some measurable ways, it’s adding to it.
That doesn’t make AI the villain. It makes human judgment more important, not less.
AI writes code fast. It doesn’t write it safely.
Every year, the software security company Veracode tests how well AI models write secure code. In its 2026 report, released in July, the models produced code that worked almost every time. But they passed the security checks only about 56% of the time, roughly the same as the year before. Even the best model failed nearly one in three security tasks.
Read that again. The code runs. It just isn’t safe, and the models aren’t getting better at that part even as they get better at everything else. Veracode also found that models built specifically for coding were no more secure than general-purpose ones.
The reason makes sense once you think about it. AI learns from enormous piles of existing code, and existing code is full of old shortcuts and mistakes. A model doesn’t automatically know which examples were written carefully and which were written at 2 a.m. the night before a deadline. So it learns the bad habits along with the good ones.
When one developer makes a mistake, it’s one bug in one program. When a popular AI coding assistant repeats the same kind of mistake across thousands of companies at once, that’s a pattern. And attackers love patterns.
The race between attackers and defenders isn’t even
The same AI that helps security teams find weaknesses helps attackers find them too. Both sides now have tools that scan code faster than any person could.
But the race was never fair to begin with. Defenders have to protect every door and window. Attackers only need one that’s unlocked. AI speeds up both sides, which keeps that imbalance in place.
The clock is getting shorter, too. The vulnerability research firm VulnCheck found that in the first half of 2026, half of newly disclosed flaws that got attacked were hit within 80 days, down from 120 the year before, according to CyberScoop. Less time between “there’s a problem” and “someone’s using it” means less room for slow decisions.
A fair caveat
To be fair, the doom predictions haven’t fully come true. The same VulnCheck report counted more than 1,000 vulnerabilities found with AI’s help in the first half of 2026, and only about 1.3% of them were exploited in the wild. That’s about the same rate as every other kind of vulnerability. AI is finding a lot more problems, but so far the problems it finds aren’t more dangerous than the ones people find.
That’s genuinely good news. It means AI is helping defenders clean up more of the mess. It just doesn’t mean the mess is cleaning itself.
The questions a model can’t answer
Here’s what AI can do well. It can point out that a weakness exists. It can rate how serious it is using standard scoring. It can even suggest a fix.
Here’s what it can’t do. It can’t tell you which customers get hurt if the fix waits a week. It doesn’t know what your contracts promise, what your insurance requires or what your regulator expects. It doesn’t know your two developers are already stretched thin finishing the product launch your biggest client is waiting on. And it can’t decide what the right trade-off is when all of those pull in different directions.
Those aren’t gaps that more training data will close. They’re business decisions, and they need someone who understands the business, not just the code. Security people call this “risk tolerance.” The simpler version is: who is responsible for this decision when real people live with the outcome? That question doesn’t have a machine answer.
The internet is starting to learn from itself
There’s a bigger loop worth noticing. AI now writes a lot of the articles, documentation and code samples that end up online. Those pages then become training material for the next generation of AI. Researchers writing in the journal Nature in 2024 showed that models trained over and over on AI-generated material gradually get worse, losing the rare details and drifting toward bland averages. They called it model collapse.
For security, that’s a quiet problem. When a developer grabs a code snippet from a forum or a how-to page, it’s getting harder to know whether a careful expert wrote it or an AI produced something that looked right and nobody checked. That’s not a reason to stop using AI tools. It’s a reason to keep the human review habits that catch mistakes, and not let them fade just because the tools feel reliable.
What human judgment actually adds
The most underrated security skill right now might be healthy skepticism. It’s the ability to look at a confident, polished answer and ask, “What is this assuming that it shouldn’t?” That doesn’t come from a bigger model. It comes from experience, from having seen things fail and from being willing to push back on something that looks right but feels wrong.
The other thing people add is accountability. When a decision goes badly, someone needs to own it. Companies that hand decisions entirely to automated systems haven’t gotten rid of responsibility. They’ve just made it harder to find. Keeping a person in the loop isn’t only about quality. It’s how decisions stay connected to the people who answer for them. I wrote about a similar trap in what happens when you let AI think for you.
What this means if you run a business
You don’t need to be a software company for this to matter. If you have a website, a customer portal, an online store or a developer who uses AI tools (and most do now), some of your code was probably written with AI’s help. A few practical steps:
- Ask how your code gets reviewed. Whether it’s your team or a vendor, find out if a person checks AI-written code before it goes live, and how.
- Keep everything updated. With attacks landing faster, the old habit of patching “when we get around to it” is riskier than ever. Plugins, themes and software need regular updates.
- Name an owner. Someone specific should be responsible for deciding what gets fixed first. If that’s nobody, it’s nobody’s fault when it goes wrong, and that’s the worst setup of all.
- Use AI tools as a second set of eyes, not the only set. Automated scanning is great. It works best with a person reading the results.
Keeping sites patched, monitored and backed up is exactly what our website maintenance plans do. For bigger decisions about which AI tools to use and where to keep a person in charge, that’s part of our technology consulting.
AI is changing how software gets built and how it gets attacked, mostly for the better. But it’s finding bugs and creating them at the same time, and speeding up the good guys and the bad guys in the same motion. The companies that come out ahead won’t be the ones that distrust AI or the ones that handed it the keys. They’ll be the ones that kept a thoughtful person at the points that matter.
After all, AI can tell you the door is unlocked. It still takes a person to remember who has a key.
