Skip to content
Offensive Security Glossary / Dynamic Application Security Testing (DAST)

Dynamic Application Security Testing (DAST)

How DAST tools work, where they fit in a pipeline, and why their output still needs validation.

What Is Dynamic Application Security Testing (DAST)

Dynamic application security testing (DAST) is an automated, black box testing method that analyzes a running application by crawling it and sending crafted requests, then inspecting responses for signs of vulnerabilities such as injection, cross-site scripting and misconfiguration, without access to source code.

Because DAST observes the application from the outside, it finds issues that only appear at runtime, such as server configuration and response headers, and it is language-agnostic. Because it relies on response patterns, it struggles with flaws that produce normal-looking responses, such as authorization and business logic issues.

How DAST Works

  1. Crawl the application (or import an API definition) to discover pages, forms, parameters and endpoints.
  2. Attack each input with payload sets for known vulnerability classes.
  3. Analyze responses for error messages, reflected payloads, timing differences or out-of-band callbacks.
  4. Report potential findings with the triggering request.

Strengths and Gaps

Usually findsUsually misses
Reflected XSS, many SQL injection casesIDOR and other authorization flaws
Missing security headers, cookie flags, TLS issuesBusiness logic flaws
Exposed files and directoriesFunctionality it cannot crawl (complex JavaScript apps, multi-step flows)
Known vulnerable server softwareChained attacks and impact beyond the first request

DAST vs SAST vs Penetration Testing

AspectSASTDASTPenetration testing
Looks atSource codeRunning applicationRunning application and environment
WhenEarly, at commit or buildTest or staging, sometimes productionPre-release or production
Confirms exploitabilityNoPartiallyYes
False positivesOften highModerateLow when findings are validated

DAST in CI/CD

DAST is commonly run against a deployed test environment as a pipeline stage. To keep pipelines fast, teams run a targeted baseline scan on each build and a full scan on a schedule. Results need triage before they become tickets; otherwise false positives erode trust in the pipeline.

Sources and Standards

Frequently Asked Questions

What is DAST?

An automated black box method that tests a running application by sending crafted requests and analyzing responses for vulnerabilities.

What is the difference between DAST and SAST?

SAST analyzes source code without running it. DAST tests the running application from the outside without seeing the code.

Is DAST the same as penetration testing?

No. DAST flags potential issues from response patterns. Penetration testing confirms exploitability and finds logic and authorization flaws DAST cannot detect.

Can DAST run in production?

It can, with care, but active payloads may create data or load. Most teams run DAST against staging and use non-destructive testing in production.

Further Reading

Reviewed against the primary sources cited on this page. Verified 2026-12-02.

Go Beyond Scanner Findings

Run a free AI pentest and get validated, proof-of-exploit findings.

Free AI Pen Test

No credit card. Findings include reproducible steps and exploit code.

Firecompass ranked #1 AI on HackerOne. Read more →