r/Pentesting • u/BeingChifuyu • 3d ago
Could AI actually replace a junior pentester doing routine web app assessments??
Not trying to start a "AI takes jobs" debate but genuinely curious.
We're building an AI security agent at a hackathon. The idea is it handles the repetitive parts of pentesting, like web app scanning, API fuzzing, standard OWASP checks, and flags anything that looks worth a human looking at.
In your experience, is there a category of pentesting work that's boring enough to automate and valuable enough that automating it actually matters?
Where would you NOT trust AI in this workflow?
15
Upvotes
19
u/Outrageous_Fly_9769 3d ago •
As a internal pentester, I'm sick off reports coming back with no business logic testing.
7
u/Afraid-Flamingo-6273 3d ago
It could and in some places it will, but it shouldnt. Its not there yet. Even if it was itd be stupid. Best pentesting isnt by the book, its when you are creative and smart about things - finding unusual vulns are almost always the best finds.
4
u/GeronimoHero 3d ago
Yeah 100%. Especially something like artex. Being able to do stuff like this at machine speed and then just reviewing the findings is what the future will be for sure.
2
u/Delicious_Crew7888 3d ago
No, for a while people still want to triage manually the AI findings
2
u/FastRelief3222 3d ago
The difference is knowing where to dig deeper and what is an hallucination. Sometimes AI hallucinates based on my mistakes. Sometimes the hallucinations look really convincing but it's just a false positive. Sometimes it wants to 'wrap the test' and I want to dig deeper on something and that's the gold. Also don't spend tokens on dumb things I wasted so much money on AI trying to replicate the login flow when I could have just given it the cookies for each topic.
1
u/0xOkizeme 3d ago
Yes it works and can find critical/high even. Tried some solutions at my work and it’s mad impressive. Can do in 5 hours what a classic mission would done in 5 days.
The future is here
1
u/StandardMany 3d ago
Not to a level you can trust, good for ideas though.
1
u/PM_ME_UR_0_DAY 3d ago
I think AI can be good especially at exploiting CVEs, but apps are so variable, I think they're going to fail to properly assess them autonomously. At work we paid for an AI scanner that truthfully sucks ass. I don't see the contracts, but we probably paid like a million bucks for it too. Legitimately a Burp scan is better than it.
1
u/GlobitechCyber 2d ago
This is where the world is heading. AI-powered penetration testing is the future. I believe the real question should be whether reports generated by AI can be backed by manual verification of the findings.
It is not to replace the actual job but to ease up manual workload
1
u/TrustIsAVuln 2d ago
A junior tester level, absolutly. It already has the ability. For two reasons, 1. its very good at it now and 2. it can cover more ground much faster leading to more ROI.
However, i would say its best to use a human and AI, on different paths. Tokens for a pen test for a week can range from 50$ to 200$ (typically) so let it do the fast grind, and a human can focus on things an AI might trip up one or you feel could use the "human touch".
As for not trusting it? I have fine tuned mine to the point I have zero questions about its quality. I still check it, but have never had to make any course corrections.
1
u/FetchDEX 1d ago
AI Pentesting is generally trusted by large organizations as long as there exists observability, as long as it can run fully on the perimeter of their organization and as long as they can set boundaries and determin what to be tested and how invasive to be tested.
1
u/According-Spring9989 3d ago •
As someone with over 8 years of experience, absolutely, and people saying it won't are living in a bubble.
I've seen "juniors" just pointing Claude at a web app and finding all the low hanging fruits, as well as experienced pentesters with different loaded skills find all the business logic flaws and more complex findings one should search for.
The difference is context, with enough context and a legit use case per each functionality one wants to test with an AI, junior pentesters can easily be replaced. A simple and quick test (that I do NOT recommend in actual engagements) to see the capabilities is burp mcp connected to a playwright browser that the AI has access to, as well as the lateral thinking skill and the user navigating through the app and performing a legit action per each functionality in scope. Then, instruct the AI to find business logic flaws, it may take a couple of minutes to correctly setup everything and the AI to find a working flow, but once it's done, you can easily sweep through web apps without much of an effort. Burp MCP allows the AI to test for flaws, Playwright will allow it to visually "understand" what's happening and lateral thinking will force the AI to be as creative as a junior pentesters, at the very least.
For me, AI can easily automate high recurrence and low complexity tasks, which commonly used to be the junior's role. But any experienced pentester knows that AI can and should develop plans and strategies, but never execute. The problem is even juniors now are delegating everything over to AI.
Very recently, I got assigned a junior on an AD pentest, in theory, the junior was great at AD, had completed a bunch of ctfs and such, but had never done an actual engagement. The funny part is that we had to go to the client's office and work 100% offline due to their internal policies. The poor junior was clueless without Claude, I had to ask for a replacement given that it was a huge scope and not enough time for me to teach him. It was disappointing to say the least. A NUC with a local model and the correct set of skills could easily replace the juniors while I'm focused on more complex checks.
1
u/latnGemin616 3d ago
I feel like all these "we're building an AI agent to do security work" - type of posts fail to recognize that there are tools that already do this:
kiterunner- great for API fuzzing and API pen testing.And this is me barely scratching the surface.
Honestly .. what is the hope? You give the Agent a URL and say "find me vulns?"
1
u/Foxypher 3d ago
Already seen ai doings better pentest as Junior pentester. It is already a thing
0
u/apex_17 3d ago
I’d say you’re definitely on the chopping block at this point. Give it a couple years
-1
u/far7991 3d ago
To be honest, I think with people using AI agents to write/review code, and the fact that agents can also be used to pentest it, I think web app pentests are dead.
I struggle to imagine a frontier AI model writing a piece of code that's vulnerable to a simple SQLi. Sure, maybe something like BAC is a different issue altogether, but even then, I highly doubt the margin of error will be higher than humans. Especially if the appropriate controls are baked in, security reviews etc..
And having agents perform a pentest is just cheaper, I mean, just look at Aikido and similar pricing compared to consultants doing it. We are also at a point where agents find stuff, and they find good stuff, probably a lot of stuff that your AVERAGE human pentesters would miss. Of course, there are brilliant pentesters which at the moment may be better than agents (and whether that will change, we will see), but the reality is, that your average pentester just simply is not that great.
Add that to the fact, that typically, you are testing a UAT environment, so whatever you throw at it, really doesn't matter, even if you bring it down. It's not like AD, where a small change could fuck something up and a bunch of users suddenly can't log into their workstation or something.