SAST and DAST (static and dynamic security testing)
Two kinds of automated security testing: SAST reads source code for risky patterns, DAST attacks the running app from outside like a scanner.
SAST (static application security testing) analyzes source code without running it and flags patterns such as SQL queries built from strings or unsafe deserialization. It runs early, in the editor or on every pull request, and points to the exact line, but it produces false positives and cannot see configuration. OWASP keeps a list of source code analysis tools. DAST (dynamic testing) crawls the deployed app and sends attack payloads, so it finds what is visible from the network: missing security headers, reflected XSS, exposed debug pages. ZAP is a widely used open-source DAST scanner.
Neither reliably finds business logic flaws such as IDOR, which is why assessments still include a penetration test. Scanning third-party dependencies is a separate category, SCA. Security questionnaires often ask whether you run SAST and DAST, and how often.
Sources
- OWASP: Source Code Analysis Tools owasp.org
- ZAP: Zed Attack Proxy zaproxy.org
Related terms
- Penetration test (pentest): An authorized, time-boxed attack on your app by security testers, ending in a report of what they could break and how badly.
- SCA (software composition analysis): Scanning an app’s open-source dependencies for known vulnerabilities, license problems and outdated versions, usually on every build.
- OWASP Top 10: The OWASP Foundation’s list of the ten most critical web application security risks, updated every few years.
- CI/CD: Continuous integration and continuous delivery: every change is built and tested automatically and can be released at any time.
- OWASP ASVS (Application Security Verification Standard): An open checklist of security requirements for web apps and APIs, in three levels, used for design, testing and assessments such as CASA.
- AI security code review: Using AI models or agents to review code for security flaws, next to scanners and human reviewers, with every finding verified before it is trusted.
