OWASP ZAP DAST··5 min read·By Veer Bhanushali

OWASP ZAP Client Spider vs Ajax Spider for modern React and Next.js SPAs

Choosing between ZAP's Client Spider and Firefox headless Ajax Spider when crawling hydrated client-side routers.

Key takeaway

Use -j passive baselines cleanly in CI to discover hydrated client routes without missing App Router transitions.

Why traditional HTML crawlers miss client routers

Traditional spiders only inspect anchor tags returned inside initial HTML responses. Modern ZAP scripts pair Playwright-style browser execution via -j so client-side fetches and authenticated routes appear cleanly in the site tree.