What is OWASP ZAP?
Short answer
ZAP (Zed Attack Proxy, now maintained by Checkmarx as "ZAP by Checkmarx", originally an OWASP project) is a free, open-source DAST tool. It acts as a proxy between a browser and an app, spiders/crawls the app to discover URLs, runs passive scans (inspects responses) and active scans (sends attack payloads) to find vulnerabilities like XSS, SQL injection and missing security headers.
Ways to use it
| Mode | Use |
|---|---|
| Desktop GUI | Manual testing, exploring an app, learning |
| Docker packaged scans | zap-baseline.py, zap-full-scan.py, zap-api-scan.py — ideal for CI |
| Automation Framework | YAML plans describing contexts, auth, spiders and scans |
| API / daemon | Drive ZAP from scripts |
What it finds (examples)
Missing Content-Security-Policy/X-Frame-Options/Strict-Transport-Security, cookies without Secure/HttpOnly, reflected/stored XSS, SQL injection, path traversal, information disclosure in errors, outdated JavaScript libraries.
What to say in the interview
"ZAP is an open-source DAST tool that proxies, crawls and scans running web apps and APIs, passively and actively. In CI we use its Docker packaged scans — baseline on every deploy to staging, full or API scans on a schedule."