You have built a website, a booking form, a customer portal or an internal tool. It works. But does it leak information in its headers? Does the login cookie lack basic protections? Could someone inject code through a search box? Automated scanners from strangers are already asking these questions. ZAP lets you ask them first, on your own terms.
ZAP's Getting Started guide explains that at its core, ZAP is a "manipulator-in-the-middle proxy". It sits between your browser and the web application, so it can see, record and, if you want, change every request and response before passing it on.
That gives it three main ways of finding problems:
For routine checks, ZAP provides a packaged baseline scan that runs in Docker. According to ZAP's documentation, it runs the spider against the target for one minute by default, waits for passive scanning to finish and reports the results, without performing any attacks. ZAP describes it as ideal for CI/CD pipelines, even against production sites.
docker run -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t https://www.example.com
Its exit codes let a build pipeline react: 0 for success, 1 if any check fails, 2 for warnings only. By default every finding is a warning, and a configuration file lets you promote important rules to failures or ignore ones that do not apply. Adding this to your deployment pipeline means every release gets a basic security check automatically.
Your first scan will probably produce a long list. Do not panic. Typical findings, roughly from most to least urgent:
For each alert, ZAP shows the URL, the evidence, a description and a suggested fix. Verify before you act: automated scanners produce false positives, so reproduce the issue and check whether it is real in your application. Many findings map to categories in the OWASP Top 10, the widely used list of the most critical web application security risks, which is a good place to learn more about each one.
If you run a website, start with a baseline scan this week: it is passive, quick and safe. Fix the easy wins such as cookie flags and headers. Then set up a test copy of your application and try an automated active scan against that. Finding your own vulnerabilities is always cheaper than having someone else find them for you, as the breaches we cover every Friday show.
Cyber Insight | Tool Spotlight · Season 1
Making cybersecurity easier to understand, one issue at a time.
Free and open-source security tools: what they do and where they fall short.
Have a question or a suggestion? Prepare an email below. Feedback is private and is sent only when you press Send in your email app.
Likes and claps are your personal reactions on this device.
You can also email Poorna directly.
Your feedback stays private. Nothing is sent from this page automatically.
I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.