Skip to content
cloudgrip

$ cat blog/what-ai-pentests-find.md

//AI agents

What AI pentests find that scanners miss

The bug classes AI pentests tend to surface and scanners miss: authorization, IDOR, business logic and multi-step chains, with small examples.

  • Oct 28, 2026
  • 5 min read
  • Cloudgrip team

Vulnerability scanners are good at finding things that look wrong: an outdated library, a missing security header, an input that reflects a script tag. They are poor at finding things that behave wrong, where every individual request looks normal and the problem is who was allowed to make it, or in what order.

AI pentests tend to surface that second group. The reason is how an agent works. It logs in, holds state across many requests, uses more than one account, and reasons about what the application is meant to do. Four classes of bug follow from that: broken authorization, object-level access flaws, business logic flaws and multi-step chains.

Why scanners miss these bugs

A scanner sends a request, compares the response with patterns it knows, and moves on. That works when the bug is visible in a single response, such as a database error after a quote character.

The bugs in this post have no such signature. When one user requests another user's support ticket and gets it, the response is a normal 200 OK with a normal ticket in it. Nothing in the response says it is wrong. It is wrong only because of who asked, and a scanner has no idea who should be allowed to see what.

To find these bugs, a tester needs three things a classic scanner lacks: several identities, a memory of what each identity created, and some understanding of what the application is for. People have those, and agents built on language models can have them too.

Authorization and object-level access

Authorization bugs are cases where the application checks that you are logged in but does not check that you are allowed to do the specific thing you asked for. They come in two common forms.

Function-level. A regular user calls an endpoint meant for administrators. The admin menu is hidden in the interface, but the API behind it accepts any valid session.

Object-level. A user asks for a record that belongs to someone else by changing an identifier. This is broken object level authorization (BOLA), also known as an insecure direct object reference (IDOR).

An agent tests the object-level case by acting as two users. As user_a it creates a document and notes the ID. As user_b it asks for that same ID.

output
GET /api/documents/doc_5521 HTTP/1.1
Host: api.acme.test
Authorization: Bearer <token for user_b>

The correct answer is a 403 or a 404. If the response is a 200 that contains the document user_a created, that is the finding, and the request and response are the proof. The same replay works for updates and deletes, for IDs in request bodies, and across tenants in a multi-tenant product. Our guide to broken access control covers the whole family.

The check itself is simple. What makes it hard is repetition: every endpoint, every identifier, every role. That is tedious for a person, and it suits software that can keep track of who owns what.

Business logic

A business logic vulnerability is a flaw in the rules of the application itself. The code does what it was written to do, and the rules were incomplete.

A few small examples:

  • A discount code can be applied a second time by sending the "apply" request again.
  • A cart accepts a quantity of -1, which lowers the total.
  • The checkout has three steps, and requesting step three directly skips the payment in step two.
  • A free-plan account can call a paid feature because the limit is enforced only in the interface.

No scanner rule says "quantities must be positive in this shop". To find these flaws, a tester has to understand that this is a shop, that a total should not go down when you add an item, and that payment should come before confirmation. An agent can read the pages and API responses, form that picture, and then try the things the flow does not expect. It can repeat a step, skip one, reorder them, or send two requests at the same moment to trigger a race condition.

This is also where agents are least reliable. Rules that are written down nowhere, such as "refunds over a set amount need manager approval", are hard to infer from the outside. Human testers who can ask your team questions still have the edge there.

Multi-step chains

Some findings only matter in combination. Each step alone would be rated low, and together they are serious.

Take three weaknesses in one imaginary application. A profile page leaks other users' email addresses. The password reset endpoint has no rate limit. Reset codes are four digits long. A scanner might report the first as informational and never connect it to the others. Chained together, they allow an account takeover: collect an email address, request a reset, and guess the code.

A chain needs memory and planning. The tester must remember what was learned in step one, see that it makes step two possible, and carry on until there is real impact or the path closes. An agent holds that state across a run, so a weak finding can become the starting point for the next attempt.

Chains also change priorities. Three low-severity tickets in three different backlogs may never get fixed. One finding that says "these three combine into account takeover", with the steps to show it, gets attention.

A careful agent still stops once impact is shown. Proving a takeover on a test account is enough, and there is no need to repeat it on real users.

Where scanners and people still fit

None of this makes scanners obsolete. They are fast and cheap, and they are the right tool for known vulnerable versions, missing headers and configuration drift across a large estate. Human testers remain the right choice for unwritten business rules, original research, and anything that involves people or buildings.

It is also worth being clear about what "tend to find" means. An agent that proves its findings will report the authorization and logic bugs it can demonstrate. It will not report the ones it could not reach or could not prove, so a clean run is evidence, not a guarantee.

Cloudgrip Hydra is aimed at the classes described here. Its agents test with real logins, chain low-severity issues where they lead somewhere, attempt the attack, and report a finding only after it has been replayed from a clean session. What reaches your engineers is a confirmed bug with the requests to reproduce it and a proposed fix.

Key takeaways

  • Scanners find bugs that are visible in a single response. They miss bugs where each request looks normal and the problem is who sent it or in what order.
  • Authorization and object-level flaws are found by acting as two users and replaying one user's requests as the other.
  • Business logic flaws need an understanding of what the application is for, then attempts to repeat, skip or reorder steps.
  • Chains turn several low-severity weaknesses into one serious finding, and they need memory and planning to follow.
  • Scanners, agents and human testers cover different ground. A clean automated run is evidence, not a guarantee.

See what an attacker would find.

Give us a URL and two test logins. If there’s something to find, your first exploited findings land within 24 hours.

You talk to the people who build Hydra and Cerberus. No sales script.

or write to founders@cloudgrip.ai