DAST does not examine code but the running application: a website, an API or a service. The scanner sees neither the source code nor the internals — it acts like an attacker, probing the system with requests and watching whether anything dangerous comes back.
How the scanner works
- application map: the crawler visits pages and endpoints, fills in forms and records routes;
- attack requests: malicious strings — SQL fragments, scripts, shell commands — are substituted into parameters;
- response analysis: a database error containing an SQL fragment, a script reflected in the response, or a service crash is a sign of a vulnerability;
- report: the issues found, with the request address, a description and remediation advice.
What it finds and what it misses
DAST is good at finding vulnerabilities that show up in application responses: injections (SQL, XSS), insecure server configuration, access control problems. What it cannot see: flaws in code logic, insecure dependencies, and hidden routes the scanner never reached. That is why DAST complements SAST — static analysis of the source code.
| Criterion | DAST | SAST |
|---|---|---|
| What it examines | the running application | source code |
| Access to the code | not required | required |
| When it is applied | on a running build, in a test environment | during development, before the build |
| Implementation language | does not matter | matters: the analysis depends on the language |
| Typical findings | SQL injections, XSS, misconfiguration | dangerous functions, secrets leaked in code |
Tools
An example of an open source scanner is ZAP, formerly known as OWASP ZAP: it crawls the application, actively tests the endpoints it discovers and fits into a CI pipeline. Scanners are run regularly against test environments, and before a release a penetration test is added, in which the DAST findings are explored manually in greater depth.
Sources
the term is written from these pagesVerified 9 Nov