OWASP ZAP (Zed Attack Proxy) is a free, open-source web application security scanner maintained by OWASP. It's designed for finding vulnerabilities in web applications during development and testing.
# Desktop GUI
zap.sh
# Headless/daemon mode
zap.sh -daemon -port 8080
# Command line scan
zap-cli quick-scan --self-contained http://target.com
# Docker
docker run -t owasp/zap2docker-stable zap-baseline.py -t http://target
# Baseline scan (CI/CD friendly)
zap-baseline.py -t http://target.com
# Full scan
zap-full-scan.py -t http://target.com
# API scan
zap-api-scan.py -t http://target.com/openapi.json -f openapi
ZAP provides Docker images and scripts for integration into Jenkins, GitLab CI, GitHub Actions, and other CI/CD platforms.