Glossary · Scanning and analysis

DAST (dynamic application security testing)

Dynamic application security testing (DAST) examines a running application from the outside, sending crafted requests to its web pages or APIs and analyzing the responses for evidence of vulnerabilities.

DAST treats the application as a black box. A scanner first discovers what it can reach, by crawling links, reading an OpenAPI or GraphQL schema, or replaying recorded traffic, and then attacks each input it found: it injects payloads designed to provoke SQL injection, cross-site scripting, server-side request forgery, path traversal and similar flaws, and inspects responses, timing and error messages for signs that one worked. It also checks properties visible only at runtime, such as security headers, cookie flags, TLS configuration and authentication behavior.

How it is used in practice

DAST usually runs against a deployed test or staging environment, either on a schedule or as a stage in a release pipeline after deployment. Because it needs a running system, it sits later in delivery than SAST or SCA. Its strength is that a finding is demonstrated rather than inferred: the scanner sent a request and observed the result, regardless of the language or framework behind it. Teams often combine DAST with authenticated scanning profiles so it can test pages and API calls behind a login, and with API specifications so it does not depend on crawling to find endpoints.

Common pitfalls

  • Scanning production carelessly. Active payloads create data, send messages and trigger side effects. Scope and target environments need deliberate choices.
  • Incomplete coverage. A crawler that cannot log in, or cannot follow a single-page application's client-side routing, tests only the front door.
  • Slow feedback. Full scans can take hours, which makes them a poor fit for every commit; teams often run a fast baseline per change and a deep scan on a schedule.
  • Hard-to-locate findings. DAST reports a vulnerable URL and parameter, not the line of code, so developers need extra work to find the cause.
  • Treating it as a complete test. Business-logic flaws and authorization errors between users usually need manual testing or purpose-built checks.

How TrustIvan relates to it

TrustIvan runs dynamic scans on ZAP (formerly OWASP ZAP), as a separate, isolated service whose alerts become ordinary findings with the same lifecycle, risk ordering and policy verdicts as every other finding. A target gets only a passive check, one page load with no credentials, until you prove you control it with a DNS TXT record or a file. Ownership is checked again before every active scan, which crawls the application and sends attack requests for cross-site scripting, SQL injection, path traversal, command and template injection, open redirects and more. A scan stays on one origin, refuses private and cloud-metadata addresses at connection time, and runs under rate and time limits you set per target. An active scan can change data, so point it at a staging copy. The limits are stated in the docs: the crawler does not run JavaScript, so a single-page application is only partly covered unless you supply an OpenAPI document; authentication is one static header; there is no out-of-band, authorization or business-logic testing; and it is not a penetration test. See Dynamic scanning and its limits.

Related terms

Guides on DAST

All glossary terms

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.