Interview Prep/DevSecOps/Application Security Testing (SAST, DAST, SCA, Secrets)

What is DAST and how does it differ from SAST?

BeginnerConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer

DAST attacks a running application from the outside (black box), sending crafted requests and observing responses. It finds runtime issues such as missing security headers, reflected XSS, injection, misconfigured TLS and auth problems, regardless of language.

SAST sees code but not behaviour; DAST sees behaviour but not code, is slower and needs a deployed environment. Use SAST on every PR and DAST against a staging deployment on merge or nightly.

All DevSecOps questions Roadmap: Security in the pipeline

More on Application Security Testing (SAST, DAST, SCA, Secrets)