DAST explained
DAST scanning: what it is and why you need it
How dynamic application security testing checks your live website the way an attacker would, and where it fits.
No card required · Support from the xSPECTRE team
Last updated
Outside-in test · app.example.com
No source codeGET /search?q=<test-input>
Input returned in the page without encoding
Reflected XSSHighPOST /contact name=O’Brien
Database error text in the response
Possible SQL injectionHighGET /login
Set-Cookie: session=…; no Secure, no HttpOnly
Insecure session cookieMediumGET /assets/js/vendor.js
jQuery 1.12.4 detected
Outdated componentMediumGET /
No Content-Security-Policy or HSTS header
Missing security headersLow
Quick answer
What is DAST?
DAST stands for dynamic application security testing. It tests a running website, web app or portal from the outside, the same way an attacker would: it maps the pages and forms, sends safe test inputs, and watches how the app responds. Because it works on the live app, it needs no access to your source code and it catches problems in configuration and hosting as well as in code.
- Outside-in
- tests the live app like a visitor or attacker
- No code
- works without access to source code
- Repeatable
- runs on a schedule and after releases
- OWASP Top 10
- findings mapped to common risk categories
Why it matters
Why businesses with a website or portal need DAST
Code review and firewalls do not show you what your live app actually exposes. DAST does, because it tests the finished, deployed result.
Your web app is always reachable
Websites, customer portals, booking forms and APIs are open to the internet around the clock. Anyone can probe them, so it pays to see them the way an outsider does.
It changes more often than you think
New releases, plugin updates, theme changes and third-party scripts all alter what is live. A page that was fine last month can expose a new weakness today.
Many problems only exist at runtime
Security headers, cookie flags, TLS settings and error pages are set by the server and hosting, not just the code. DAST tests the deployed result, so it catches these.
No source code needed
DAST works on agency-built sites, off-the-shelf platforms and apps you do not have the code for. If you can browse to it, it can be tested.
Real examples of what turns up on live sites
- A search box that echoes input back without encoding it (cross-site scripting)
- A form field that passes input straight into a database query (SQL injection)
- A session cookie sent without the Secure or HttpOnly flag
- An old JavaScript library with publicly known vulnerabilities
- Missing security headers such as Content-Security-Policy or HSTS
- Old TLS versions still accepted, or error pages that leak stack traces
Compare
DAST vs SAST vs network scanning vs penetration testing
These methods are complementary, not alternatives. Each looks at a different layer and finds different problems.
DAST
- What it looks at
- Running websites, web apps and portals
- How it works
- Automated tests sent to the live app from outside, like an attacker
- When to use it
- On a schedule and after each release
- Who runs it
- Automated tool; findings go to your developer or agency
- Cost and effort
- Low ongoing effort; usually a subscription
- xSPECTRE offering
- Web Scans, included on every plan
SAST
- What it looks at
- Source code
- How it works
- Reads the code for insecure patterns without running it
- When to use it
- During development, on each code change
- Who runs it
- Developers, inside their build pipeline
- Cost and effort
- Needs code access and developer time to triage
- xSPECTRE offering
- Not offered; use your developers’ code tools
Network (perimeter) scanning
- What it looks at
- Internet-facing IPs, ports and services
- How it works
- Automated checks of exposed services and software versions
- When to use it
- On a schedule, and when infrastructure changes
- Who runs it
- Automated tool; findings go to IT or your MSP
- Cost and effort
- Low ongoing effort; usually a subscription
- xSPECTRE offering
- Network Scans, included on every plan
Penetration testing
- What it looks at
- A defined scope: an app, network or both
- How it works
- A specialist manually attacks the target, chaining weaknesses
- When to use it
- Before major launches and periodically
- Who runs it
- Qualified human testers
- Cost and effort
- Highest effort; priced per engagement
- xSPECTRE offering
- Offered separately; talk to our team
What DAST finds
DAST findings mapped to the OWASP Top 10
The OWASP Top 10 (2021) is the most widely used list of web application security risks. Here is each category in plain English, and how well automated outside-in testing can detect it.
- A01
Broken Access Control
DAST: PartlyDirectory listing left on, or backup and config files anyone can download.
- A02
Cryptographic Failures
DAST: YesOld TLS versions accepted, or a login page that also loads over plain HTTP.
- A03
Injection
DAST: YesSQL injection in a form field, or cross-site scripting (XSS) in a search box.
- A04
Insecure Design
DAST: LimitedA checkout that lets a customer change the price. Needs a human to understand intent.
- A05
Security Misconfiguration
DAST: YesMissing security headers, default pages, or error messages that leak stack traces.
- A06
Vulnerable and Outdated Components
DAST: YesAn old JavaScript library or CMS plugin with publicly known vulnerabilities.
- A07
Identification and Authentication Failures
DAST: PartlySession cookies missing the Secure or HttpOnly flag.
- A08
Software and Data Integrity Failures
DAST: PartlyScripts loaded from a third party without integrity checks.
- A09
Security Logging and Monitoring Failures
DAST: LimitedAttacks that nobody notices. This is about your internal processes, not the site’s surface.
- A10
Server-Side Request Forgery
DAST: PartlyA feature that fetches a URL you supply and can be pointed at internal systems.
“Limited” categories depend on design and internal processes, which a penetration test or a design review covers better.
How it works
How a DAST scan works
A DAST scan follows the same four stages every time, which is what makes it repeatable after each release.
- 1
Crawl
The scanner maps the pages, forms, links and parameters a visitor can reach.
- 2
Test
It sends safe test inputs to each input point and checks headers, cookies, TLS and components.
- 3
Analyse
Responses are compared with expected behaviour to confirm which inputs reveal a weakness.
- 4
Report
Findings are ranked by severity, mapped to OWASP categories and paired with fix guidance.
What a finding looks like
A useful DAST finding tells you exactly where the problem is, proves it with the request and response, explains why it matters and says how to fix it. That is what lets a developer or agency act on it without re-investigating.
- The page and parameter affected
- Severity and OWASP category
- Evidence: the test request and the response
- Plain-English impact and fix guidance
Web Scans · finding detail
SampleReflected cross-site scripting (XSS)
https://app.example.com/search?q=
- OWASP category
- A03:2021 Injection
- Parameter
- q
- Why it matters
- Script can run in a visitor’s browser
Evidence
Request
GET /search?q=%3Cscript%3Ealert(1)%3C%2Fscript%3E
Response (excerpt)
<h2>Results for <script>alert(1)</script></h2>How to fix
- • Encode the search term before writing it into the page (use your framework’s auto-escaping).
- • Validate input length and characters on the server.
- • Add a Content-Security-Policy header to limit which scripts can run.
Be clear about limits
What DAST cannot do
DAST is powerful, but it is one layer. Knowing its limits helps you plan the rest.
It cannot see your source code
DAST only sees what the running app returns. Coding flaws that never show up in a response stay hidden, which is where code review and SAST help.
Business-logic flaws need a human
A scanner does not know that a discount should apply once, or that one customer must never see another’s order. A penetration test finds these. xSPECTRE offers penetration testing separately.
Logged-in scans need a test account
xSPECTRE Web Scans can sign in to test pages behind a login, but use a dedicated test account because the scan submits forms. A site’s bot protection can block the login; the scan report tells you when it does.
It reports; it does not fix
The scan does not change your site. Your developer or agency applies the fixes, and scheduled rescans show what is still detected.
How often
How often should you run a DAST scan?
Scan after every significant release, plus on a regular schedule to catch changes you did not make yourself, such as plugin updates, new third-party scripts or hosting changes.
Web Scans by plan
All plans| Plan | Web app targets | Scan frequency |
|---|---|---|
| Essentials | 1 | Monthly |
| Professional | 5 | Monthly or fortnightly |
| Enterprise | 10 | Daily to monthly |
On-demand scans after a release, on top of the schedule. See full pricing →
FAQ
DAST scanning questions
What is DAST scanning?
DAST (dynamic application security testing) tests a running website or web app from the outside, the way an attacker would. It crawls pages and forms, sends safe test inputs and reports weaknesses such as SQL injection, cross-site scripting, insecure cookies and outdated components. It does not need your source code.
What is the difference between DAST and SAST?
SAST (static application security testing) reads source code without running it, so it suits developers during a build. DAST tests the deployed, running app from outside, so it also catches configuration, hosting and component problems that are not in the code. Many teams use both.
Is DAST the same as a penetration test?
No. DAST is automated and repeatable, so it can run on a schedule and after every release. A penetration test is a manual, point-in-time engagement that is better at business-logic flaws and chained attacks. xSPECTRE offers penetration testing separately.
Is DAST safe to run on a live website?
xSPECTRE Web Scans use safe test inputs, are rate-controlled and can be scheduled for quiet hours. Test or staging sites can be scanned too.
Can DAST test pages behind a login?
Yes. xSPECTRE Web Scans can sign in with a username and password on your login page, or with a fixed header or token, and can run optional steps before login. Use a dedicated test account, because a logged-in scan submits forms and can change that account’s data. If your site’s bot protection blocks the login, the scan tells you.
Can DAST scan APIs?
Yes. Add an OpenAPI/Swagger or GraphQL definition and xSPECTRE Web Scans test the API endpoints it describes, not just the pages a crawler can find.
What are Standard and Deep scans?
Standard suits most sites and regular schedules. Deep crawls JavaScript-heavy pages and runs stronger tests, so it takes longer. You can watch the current stage of a running scan and stop it if you need to.
How often should you run a DAST scan?
After each significant release and on a regular schedule, because live sites change through updates, plugins and third-party scripts. On xSPECTRE, Essentials scans monthly, Professional monthly or fortnightly, and Enterprise from daily to monthly.
Do I still need DAST if I already scan my network?
Yes. Network scanning checks exposed IPs, ports and services. DAST tests the application itself: its forms, inputs, sessions and headers. Each finds problems the other misses, and xSPECTRE includes both.
Does DAST help with compliance?
Regular DAST reports help you gather evidence for requirements such as PCI DSS vulnerability scanning and customer security questionnaires. Scanning alone does not make you compliant, and xSPECTRE does not certify compliance.
See what your web app shows an attacker
Add your site, run a Web Scan and get findings mapped to the OWASP Top 10 with clear fix guidance. Start a 14-day free trial, no card required.