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
- SAST (static application security testing) Static application security testing (SAST) analyzes an application's own source code, bytecode or binaries for security weaknesses without executing it, such as injection, unsafe deserialization or disabled certificate checks.
- Software composition analysis (SCA) Software composition analysis (SCA) identifies the third-party and open-source components inside an application or artifact, then reports the known vulnerabilities and license obligations attached to each one.
- Shift left Shift left is the practice of moving security checks earlier in the software delivery process, into design, coding, pull requests and CI, so that problems are found when they are cheapest and quickest to fix.
- SARIF (Static Analysis Results Interchange Format) SARIF, the Static Analysis Results Interchange Format, is an OASIS-standard JSON format for the output of static analysis tools: which rules ran, what they found, and where in the code each result is.
- Vulnerability management lifecycle The vulnerability management lifecycle is the repeating process of discovering vulnerabilities, assessing and prioritizing them, remediating or accepting them, and verifying the result, with each decision recorded.