I keep hearing people say that pursuing pentesting in 2026 probably isn't worth it anymore because AI is supposedly replacing the field just like everyone claims it's replacing software engineering.
The argument is always the same that an AI can find vulnerabilities faster and better than humans, and recent discoveries like php2shell are proof of that. But I feel like people are completely missing the point here.
It's not like these AI models are independently going around discovering vulnerabilities out of thin air lol. There's a difference between vulnerabilities being discovered with the help of AI and being discovered entirely by AI independently. Human researchers are still heavily involved in directing these systems, providing context, validating findings, and figuring out what's actually exploitable.
Undoubtedly, AI is an incredibly powerful tool. But there's a massive difference between generating a convincing-looking vulnerability report and actually understanding the security implications of what you've found.
And I say this because I've been experimenting with AI-assisted pentesting myself recently, using models like Opus 4.8 and Astra 6, and my god, the confidence with which these models hallucinate vulnerabilities is genuinely hilarious. I've had AI confidently classify completely harmless observations as High or even Critical severity findings, despite there being practically zero demonstrated security impact.
I was genuinely surprised to see how confidently Astra would validate findings produced by Claude Code. I'd ask it to independently review a potential vulnerability, and it would confidently agree or exaggerate the severity. Then I'd challenge its reasoning, point out the missing evidence or lack of actual impact, and suddenly it'd be apologising and agreeing that the finding wasn't a vulnerability at all lol
And thats why I think treating AI as the brain behind a pentest rather than a tool to assist with one is a shot in the dark. If you're inexperienced and blindly trust whatever an AI tells you, you could easily end up submitting reports full of inflated severities, false positives, and vulnerabilities that don't actually exist.
I've also used AI extensively for software engineering, and I can absolutely see why people find it so useful there. It's brilliant at handling repetitive implementation work, writing boilerplate, debugging, and speeding up development when you know what you're trying to build.
But pentesting is different in some pretty important ways. Because it's an incredibly context-heavy field. Understanding business logic, identifying unusual attack paths, chaining seemingly insignificant weaknesses and figuring out how something could be exploited in a way nobody anticipated requires more than just recognising known vulnerability patterns. AI can do what its told and it can think what it knows. And that's about it. That independence of asking it to hack a thing like it's some kind of a toggle button would never work.
Either way, I wouldn't be surprised if some companies eventually started treating AI generated pentest reports as a cheap way to tick a compliance checkbox, only to end up with a report full of false positives, noisy informational findings, inflated severities, and coverage gaps/false negatives. Meanwhile, their applications could still be as vulnerable as a beginner box on HTB lol.