Exposed DAST scanner API

OWASP ZAP API

OWASP ZAP, the Zed Attack Proxy, is a free open-source web application scanner used by testers, developers, and CI pipelines to find vulnerabilities in web apps. When ZAP runs headless, it exposes a REST control API so a scan can be driven over HTTP. That API is meant to sit on localhost or behind the pipeline.

When it ends up reachable from the internet, it becomes a finding, because anyone who can reach it can drive scans, proxy traffic, and read what the scanner has collected.

  • Actively tracked
  • First released 2010
Overview

A scanner API that should never have been reachable

ZAP is not malware. It is a mainstream security tool, and the live set here is mostly misconfiguration rather than malice: CI runners and test boxes on cloud hosting that left the ZAP daemon's API open instead of binding it to localhost. So the finding is an exposure to close, not a compromise to chase, though an open ZAP API is still something an attacker can point at a target.

What makes it trackable is the API itself. A headless ZAP answers on its control port, usually 8080 or 8090, with a recognizable API response, which is enough to fingerprint an exposed daemon even on ordinary cloud hosting.

Hunt.io tracks the exposed OWASP ZAP API in its C2 Infrastructure view, where a month of live activity sits beside the family profile:

OWASP ZAP API in Hunt.io's C2 Infrastructure view, with the past month of live activity and the family profileFigure 01. The OWASP ZAP API profile in Hunt.io's C2 Infrastructure view, showing the past month of live activity.
Reference

The basics on OWASP ZAP, for quick reference

  • Aliases: ZAP, Zed Attack Proxy, OWASP ZAP, Checkmarx ZAP

  • Type: dual-use open-source web application scanner (its exposed control API)

  • Maintainer: open-source, originally OWASP, stewarded by Checkmarx

  • Written in: Java

  • First released: 2010

  • Common port: 8080 or 8090 (headless ZAP daemon API); also seen on 80

  • MITRE ATT&CK: supports T1595 active scanning and T1046 service discovery when pointed at a target

  • Project: https://www.zaproxy.org

Live endpoints

Exposed OWASP ZAP API feed: live endpoints

Over the trailing 30 days Hunt.io has — exposed OWASP ZAP API endpoints in the C2 infrastructure data, on cloud hosting where the daemon's API was left reachable. Last updated on —.

The full set, with the ports, hosting, and history behind each endpoint, is free with an account.

HuntSQL

The page title that gives an exposed ZAP API away

The exposed set carries its own family tag, so the live count is one query over the malware table:

count unique active servers
SELECT uniq(ip) AS hosts
FROM malware
WHERE malware.name = 'OWASP ZAP API'
  AND is_active = true

The tag is the easy way in, but the tell that holds up on its own is what the API calls itself. A headless ZAP serves its control interface from Python's built-in BaseHTTP server, with no Server banner and a landing page titled ZAP API UI. The operator can bind the daemon to any port, but the title rides along, so one query over response titles pulls the exposed APIs out regardless of where they listen:

group results
SELECT port, uniq(ip) AS hosts
FROM http
WHERE html.head.title = 'ZAP API UI'
  AND timestamp > '2026-11-25'
GROUP BY port
ORDER BY hosts DESC
Exposed ZAP control APIs grouped by port in Hunt.io's SQL results, matched on the ZAP API UI page title, across 8080, 8090, 8085, and 80Figure 02. Exposed ZAP control APIs grouped by port, matched on the ZAP API UI page title. They answer on 8080 and 8090, the headless daemon's usual ports, plus 8085 and 80, a spread a single-port filter would miss.

They sit on 8080 and 8090, the headless daemon's usual ports, plus 8085 and 80. A filter pinned to 8080 alone would have found five and missed the rest; the title catches every one because it does not depend on the port. The response that carries it is bare, a 200 with a BaseHTTP/0.6 Python server string and nothing else, which is exactly what a ZAP daemon serving its API looks like.

The same hunt runs through the Hunt.io MCP server, so you can ask for the title breakdown in plain language and let it run the query:

Claude using the Hunt.io MCP server to count exposed ZAP API UIs by page title, broken down by portFigure 03. The same title hunt run through the Hunt.io MCP server, counting the hosts whose page title is ZAP API UI and breaking them down by port.
Exposure

What an exposed ZAP API actually means

An open ZAP API is a control surface. Through it, whoever can reach the daemon can start active scans against any target the box can route to, use the proxy to relay traffic, and pull the session data ZAP has already gathered, including requests, responses, and any findings. On a CI runner that proxies internal apps, that is a path into infrastructure the scanner was trusted to reach.

Hunt.io IP detail for an exposed OWASP ZAP API on an AWS EC2 instance, answering on port 80 with the ZAP API UI title and a BaseHTTP Python server stringFigure 04. An exposed ZAP API on an AWS EC2 instance, answering on port 80 with the ZAP API UI title and a BaseHTTP Python server string. The platform marks it High Risk, which here means an open control surface, not a hostile host.

One endpoint shows the pattern. 34.193.154.67 is an EC2 instance answering on 80 with the ZAP API UI page, first seen in January and still live. Nothing about the box is malicious. It is a test or CI runner whose ZAP daemon bound to the wrong interface, and the fix is to close the port, not to chase the host.

Most exposed ZAP APIs are an operations mistake, a daemon that bound to 0.0.0.0 instead of localhost, or a missing API key. The right response is almost always to close it rather than to treat the host as hostile. The reason to track the exposed set is the same reason to track any management interface on the internet: it is reachable, it is powerful, and it was not meant to be there. For defenders, a ZAP API answering from your own address space is a misconfiguration to fix today; for threat hunters, the exposed set is a reminder of how much testing infrastructure ends up facing the internet by accident.

FAQ

OWASP ZAP API, answered

What port does the ZAP API use?

A headless ZAP binds its control API to 8080 or 8090 by default, and the exposed set splits between those two, with a few on 80. The port is configurable, so the API response matters more than the number.

Is OWASP ZAP malware?

No. It is a legitimate open-source web application scanner. The finding here is an exposed control API, which is a misconfiguration rather than malicious software.

Why does an exposed ZAP API matter?

Because the API can launch scans, proxy traffic, and return collected session data. Anyone who can reach it can use the scanner against whatever the host can route to, which is a real risk on a CI or test box.

How did it get exposed?

Usually the ZAP daemon was started bound to all interfaces instead of localhost, or without an API key, on a cloud host that is reachable from the internet.

How do you find exposed ZAP APIs?

Match the control interface's ZAP API UI page title in Hunt.io's live feed, which catches the daemon on whatever port it bound to, then check whether any of the endpoints sit in your own address space so you can close them.