Skip to content
cloudgrip

$ man dast

//Offensive testing

What is DAST?

DAST tests a running web app or API from the outside by sending crafted requests and watching the responses, with no access to the source code.

  • Offensive testing
  • 3 min read
  • updated Nov 11, 2026

The short version

Dynamic application security testing (DAST) checks a running application from the outside. A DAST tool sends requests to a web app or API, some of them deliberately malformed, and looks at the responses for signs of a vulnerability. It needs no access to source code, which is why it is described as black-box testing.

What DAST is

There are two basic ways to test software for security flaws. You can read the code, or you can run the application and poke at it. DAST is the second.

Because it tests the deployed application, DAST sees things that code analysis cannot: how the server is configured, which headers it sends, how components behave together, and what really happens when unexpected input arrives.

It is good at finding issues such as:

  • Injection flaws, including SQL injection
  • Cross-site scripting
  • Missing or weak security headers and cookie settings
  • Exposed files, directories and debug pages
  • Outdated server software that announces its version

Well-known tools include ZAP, which is open source, and Burp Suite, alongside a range of commercial scanners.

How a scan works

  1. Map the application. The scanner follows links and submits forms to discover pages and parameters. For APIs, it reads an OpenAPI or GraphQL schema to learn the endpoints.
  2. Log in. It is given test credentials or a recorded login sequence so it can reach pages behind authentication.
  3. Attack. For each input it found, it sends a set of test payloads designed to trigger a specific vulnerability class.
  4. Analyze responses. It looks for evidence: a database error message, its own input reflected in the page unescaped, a response that takes exactly five seconds longer after a time-delay payload.
  5. Report. Each finding lists the request that triggered it and the evidence observed.

A full active scan of a large application can take hours, so teams often run a light scan on each build and a full one nightly.

DAST compared with other methods

SAST DAST Penetration test
Needs source code Yes No Optional
Needs a running app No Yes Yes
Sees configuration issues No Yes Yes
Finds logic and authorization flaws Rarely Rarely Yes
When it runs On every commit On deployed builds Per release or periodic

SAST (static application security testing) and DAST find different things and are normally used together. A penetration test uses many of the same techniques as DAST but adds reasoning about what the application is for.

Where it falls short

It tests only what it can reach. A crawler built for traditional pages struggles with single-page applications, multi-step forms and anything that needs realistic data to proceed. Endpoints that are missing from the schema are never tested.

Sessions break silently. If the scanner is logged out halfway through, hits a multi-factor prompt, or mishandles an anti-forgery token, it carries on testing the login page and reports a clean result.

It does not understand intent. A scanner can tell that a response contains an error. It cannot tell that a response containing someone else's invoice is wrong. That makes it weak at broken access control, the most common serious flaw in modern applications.

How Cloudgrip helps

Hydra tests running web apps and APIs from the outside, as DAST does, but with AI agents that reason about the application instead of replaying a fixed payload list. Each agent maps the surface, forms a hypothesis, tries it, learns and tries again. Setup includes two test logins, so the agents work through authentication flows and test access between users. Every exploit is replayed from a clean session before it is reported, and findings that don't reproduce are dropped.

FAQ

Can DAST run in a CI/CD pipeline?

Yes, against a deployed test environment. Most teams use a short scan in the pipeline and schedule longer scans separately.

Is it safe to run DAST against production?

Active scans submit forms and can create or change data, so a staging environment that mirrors production is the usual target.

Does DAST replace penetration testing?

No. DAST covers common technical flaws efficiently. Authorization and business logic flaws need testing that understands how the application is meant to work.

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